util-linux/libmount
Karel Zak 64a7e20980 libmount: don't use /{proc,ext}/filesystems when more fs types specified
# mkfs.ext4 /dev/sda1
 # mount -t foo,bar /dev/sda1 /mnt

successfully mount the device, this is unexpected as extN is no
between wanted (by -t specified) filesystems.

Summary about -t:

 * "mount -t foo"        mount(2) with "foo" type

 * "mount -t foo,bar"    try mount(2) with "foo" or "bar"

 * "mount -t foo,auto"   try mount(2) with "foo" or ask libblkid for
                         the type

 * "mount -t nofoo,bar"  try types from /{etc,proc}/filesystems, but
                         exclude "foo" and "bar"

Note that more filesystems may be specified in fstab (as comma
delimited list). The stuff from fstab is always interpreted as list
and never as a pattern ("no" prefix makes no sense in fstab).

Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-25 12:28:34 +02:00
..
docs docs: rename libs xml/version.xml to xml/version-utils.xml 2014-06-03 12:37:33 +02:00
python docs: fix "behaviour" vs. "behavior" 2014-06-06 09:49:35 +02:00
src libmount: don't use /{proc,ext}/filesystems when more fs types specified 2014-07-25 12:28:34 +02:00
COPYING COPYING: fix grammar of referring phrase, and indicate location better 2013-10-08 15:38:39 +02:00
Makemodule.am build-sys: add pylibmount 2013-08-19 14:57:21 +02:00
mount.pc.in build-sys: use top-level directory for libmount rather than shlibs/mount 2011-06-09 21:59:52 +02:00