Re: util-linux bug: was Re: [PATCH 00/16 v3] f2fs: introduceflash-friendly file system

From: Karel Zak
Date: Mon Nov 26 2012 - 08:27:44 EST


On Fri, Nov 23, 2012 at 11:23:09AM +1100, NeilBrown wrote:
> This is a bug in util-linux.
>
> If 'blkid' doesn't recognise the filesystem, mount reads /etc/filesystems
> and tries everything listed there. If that file ends with a '*', it should
> read /proc/filesystems and try everything else listed that (that doesn't
> start with 'nodev').
>
> However it currently ignores the '*' and just adds everything

Fixed. Thanks for the report!

> The following patch (against git://github.com/karelzak/util-linux.git) fixes
> it for me, though I suspect it should possible ignore 'ENODEV' too -
> otherwise if /etc/filesystems contains an invalid filesystem name, it will
> silently ignore all others.

Good idea, implemented.

... all will be fixed in stable v2.22.2 release.

Karel

--
Karel Zak <kzak@xxxxxxxxxx>
http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/