Package: pmount
Version: 0.9.20

How reproducible: allways mounting ext4

Steps to Reproduce:

[r...@magos media]# blkid | grep ext4
/dev/sda6: LABEL="ext4test" UUID="1a93fa9b-78b9-4724-af6c-cba10b58fb51" TYPE="ext4" [r...@magos media]# LC_ALL=C pmount /dev/sda6 /media/test
Error: invalid file system name 'ext4'
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
     missing codepage or helper program, or other error
     In some cases useful info is found in syslog - try
     dmesg | tail  or so

Error: could not delete mount point: No such file or directory
[r...@magos media]# mount /dev/sda6 /media/test && mount | grep ext4
/dev/sda6 on /media/test type ext4 (rw)

Solution: Sources must be patched

Patches:
[r...@magos SOURCES]# cat pmount-0.9.20-ext4.patch
diff -auprN pmount-0.9.20/src/fs.c pmount-0.9.20-ext4/src/fs.c
--- pmount-0.9.20/src/fs.c    2009-09-08 23:53:47.000000000 +0400
+++ pmount-0.9.20-ext4/src/fs.c    2010-02-24 19:15:30.745370180 +0300
@@ -26,6 +26,7 @@ static struct FS supported_fs[] = {
   { "hfsplus", "nosuid,nodev,user", 1, NULL, 0 },
   { "hfs", "nosuid,nodev,user", 1, "077", NULL,  
",file_umask=%04o,dir_umask=%04o"},
+    { "ext4", "nodev,noauto,nosuid,user,errors=remount-ro", 0, NULL, 0 },
   { "ext3", "nodev,noauto,nosuid,user,errors=remount-ro", 0, NULL, 0 },
   { "ext2", "nodev,noauto,nosuid,user,errors=remount-ro", 0, NULL, 0 },
   { "reiserfs", "nodev,noauto,nosuid,user", 0, NULL, 0 },







--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to