]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix support of comma-separated fs types lists
authorGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Thu, 27 Sep 2012 16:48:34 +0000 (20:48 +0400)
committerKarel Zak <kzak@redhat.com>
Fri, 16 Nov 2012 09:31:49 +0000 (10:31 +0100)
commitbbf9ce79eca50e2c9464a4f81571dc2616a5a59b
tree945920e644c908200ae21aa1ff1b9a1c53cd0e7f
parentae978c4d6ca376bdab6398e635be1664be370ffa
libmount: fix support of comma-separated fs types lists

# grep cdrom /etc/fstab
/dev/sr0 /media/cdrom udf,iso9660 ro,noauto,user,utf8 0 0
# mount /media/cdrom
mount: unknown filesystem type 'udf,iso9660'

# mount -t udf,iso9660 /dev/sr0 /media/cdrom
mount: /dev/sr0 is write-protected, mounting read-only

[kzak@redhat.com: - add some comments
                  - don't try to found external helpers for the types]

Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
libmount/src/context_mount.c