Control: retitle -1 cryptsetup: improving passdev

One further idea for future work on passdev



VIII) Not blindly trying through fstypes in the mount

Right now it goes through a fixed list and tries them one after
another.
In principle that works, but it can leave ugly messages in the kernel
log, e.g.:
Sep 18 01:33:53 heisenberg kernel: EXT4-fs (sdb2): VFS: Can't find ext4 
filesystem
Sep 18 01:33:53 heisenberg kernel: EXT4-fs (sdb2): VFS: Can't find ext4 
filesystem
Sep 18 01:33:53 heisenberg kernel: EXT4-fs (sdb2): VFS: Can't find ext4 
filesystem
Sep 18 01:33:53 heisenberg kernel: FAT-fs (sdb2): bogus number of reserved 
sectors
Sep 18 01:33:53 heisenberg kernel: FAT-fs (sdb2): Can't find a valid FAT 
filesystem

until it finally works when finding the right one:
Sep 18 01:33:53 heisenberg kernel: BTRFS info (device sdb2): disk space caching 
is enabled
Sep 18 01:33:53 heisenberg kernel: BTRFS info (device sdb2): has skinny extents

One idea would be to use libblkid.


I do however quite like the idea of having a fixed list of types which
are considered.

Reply via email to