[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAONX=-dCrJabyvt2S24kEJi38Pbuzj_4kvugoF_75PWV69bNJw@mail.gmail.com>
Date: Thu, 4 Aug 2022 06:44:53 +1000
From: Daniil Lunev <dlunev@...omium.org>
To: Eric Biggers <ebiggers@...nel.org>
Cc: Zdenek Kabelac <zdenek.kabelac@...il.com>,
Brian Geffon <bgeffon@...gle.com>,
Mike Snitzer <snitzer@...nel.org>,
linux-kernel@...r.kernel.org, dm-devel@...hat.com,
Mikulas Patocka <mpatocka@...hat.com>,
Alasdair Kergon <agk@...hat.com>
Subject: Re: [dm-devel] [PATCH 1/1] dm: add message command to disallow device open
> Have you also considered unlinking the device node (/dev/dm-$idx) from the
> filesystem after it has been set up for swap?
Yes, the node can be re-linked with mknod, thus is not a suitable solution.
Powered by blists - more mailing lists