util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* new mount regression
@ 2012-11-14 20:04 Alexey Gladkov
  2012-11-14 23:10 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Gladkov @ 2012-11-14 20:04 UTC (permalink / raw)
  To: util-linux

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

-- 
Rgrds, legion


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: new mount regression
  2012-11-14 20:04 new mount regression Alexey Gladkov
@ 2012-11-14 23:10 ` Dmitry V. Levin
  2012-11-16  9:36   ` Karel Zak
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2012-11-14 23:10 UTC (permalink / raw)
  To: util-linux

[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]

Hi,

On Thu, Nov 15, 2012 at 12:04:46AM +0400, Alexey Gladkov wrote:
> 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

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.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: new mount regression
  2012-11-14 23:10 ` Dmitry V. Levin
@ 2012-11-16  9:36   ` Karel Zak
  0 siblings, 0 replies; 3+ messages in thread
From: Karel Zak @ 2012-11-16  9:36 UTC (permalink / raw)
  To: util-linux; +Cc: Gleb Fotengauer-Malinovskiy

On Thu, Nov 15, 2012 at 03:10:31AM +0400, Dmitry V. Levin wrote:
> > 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.

 I have applied the Gleb's patch as I did not found a better
 (less invasive) solution.

 Thanks!

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-16  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14 20:04 new mount regression Alexey Gladkov
2012-11-14 23:10 ` Dmitry V. Levin
2012-11-16  9:36   ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).