new mount regression
Greetings!
I found that mount no longer understands fstype list in the /etc/fstab after the migration to libmount:
$ dd if=/dev/zero of=/tmp/disk bs=1M count=10 $ losetup /dev/loop0 /tmp/disk $ mkfs.ext3 /dev/loop0 $ grep loop0 /etc/fstab /dev/loop0 /media vfat,hfsplus,ext4,ext3,ext2 defaults 0 0
$ mount /media mount: unknown filesystem type 'vfat,hfsplus,ext4,ext3,ext2'
But if we use deprecated mount:
$ ./mount.deprecated -v /media /dev/loop0 on /media type ext4 (rw)
Also new mount understands fstype list in options:
$ mount -t vfat,hfsplus,ext4,ext3,ext2 /dev/loop0 /media
Signature · 1 line
Rgrds, legion
Hi,
Quoted 14 lines · Alexey Gladkov
Greetings!
I found that mount no longer understands fstype list in the
/etc/fstabafter the migration to libmount:$ dd if=/dev/zero of=/tmp/disk bs=1M count=10 $ losetup /dev/loop0 /tmp/disk $ mkfs.ext3 /dev/loop0 $ grep loop0 /etc/fstab /dev/loop0 /media vfat,hfsplus,ext4,ext3,ext2 defaults 0 0$ mount /media mount: unknown filesystem type 'vfat,hfsplus,ext4,ext3,ext2'
Quoted 8 lines
But if we use deprecated mount:
$ ./mount.deprecated -v /media /dev/loop0 on /media type ext4 (rw)Also new mount understands fstype list in options:
$ mount -t vfat,hfsplus,ext4,ext3,ext2 /dev/loop0 /media
Already reported with a patch in
http://marc.info/?l=util-linux-ng&m=134876452206541
The patch was labelled a hack and rejected in
http://marc.info/?l=util-linux-ng&m=134910609108013
but no better alternative is available so far.
Please apply that patch in Sisyphus until upstream has a better fix for this regression.
Signature · 1 line
ldv
Karel Zak
maintainerQuoted 9 lines · Dmitry V. Levin
Quoted 3 lines
Also new mount understands fstype list in options:
$ mount -t vfat,hfsplus,ext4,ext3,ext2 /dev/loop0 /mediaAlready reported with a patch in
http://marc.info/?l=util-linux-ng&m=134876452206541
The patch was labelled a hack and rejected in
http://marc.info/?l=util-linux-ng&m=134910609108013
but no better alternative is available so far.
I have applied the Gleb's patch as I did not found a better (less invasive) solution.
Thanks!
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com