Re: [dm-devel] [PATCH 1/1] dm: add message command to disallow device open

From: Daniil Lunev
Date: Wed Aug 03 2022 - 16:45:10 EST


> 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.