Package: cryptsetup Version: 2:1.1.0~rc2-1 Severity: wishlist Tags: patch Hi.
I've attached a patch to passdev that does the following: 1) Support more filesystems. If I've added to much (don't think so) please support at least ext4 and btrfs. I've also changed the ordering a little bit to what I've thought would be more likely used by users (already assuming that btrfs will at someday be the default Linux fs ;) ) 2) Previously "isofs" was used. I think this must read iso9660; just the module name is "isofo". Thanks, Chris.
--- passdev.c 2009-11-21 22:34:29.000000000 +0100 +++ passdev.c 2009-11-21 22:42:24.000000000 +0100 @@ -53,7 +53,7 @@ pid_t pid; pid_t wpid; int status; - char *fstypes[] = { "ext3", "ext2", "vfat", "reiserfs", "xfs", "isofs", "udf" }; + char *fstypes[] = { "btrfs", "ext4", "ext3", "ext2", "xfs", "jfs", "reiserfs", "ntfs", "vfat", "udf", "iso9660", "ufs" }; int fsindex; if (!device || !dir) @@ -88,7 +88,7 @@ open("/dev/null", O_WRONLY, 0); execl("/bin/mount", "/bin/mount", "-n", "-t", fstypes[fsindex], - /*"ext3,ext2,vfat,reiserfs,xfs,isofs,udf",*/ + /*"btrfs,ext4,ext3,ext2,xfs,jfs,reiserfs,ntfs,vfat,udf,iso9660,ufs"*/ "-o", "noatime,nodiratime,nodev,noexec,nosuid,ro", device, dir, (char *)NULL);