Mount tmpfs in /dev folder in chroots
Created by: ollieparanoid
We need to have device nodes inside the chroots (which are inside the work folder configured in pmbootstrap init
). It is possible to create them when the work folder is on an ext4 partition for example, but with lots of other file systems it not possible to create device nodes: ecryptfs, encfs, ntfs, virtualbox shared folders, fat32 and even btrfs (subvolumes only?) as I have just learned in the chat from @WilliamO7.
@MartijnBraam proposed, that we simply mount a devtmpfs inside the chroot's dev-folder, which sounds like a great solution!
@MartijnBraam: Does devtmpfs have an advantage here over tmpfs?
Related: #472 (closed)