Whamcloud - gitweb
ismounted.c (check_mntent, check_mntent_file): Add better
authorTheodore Ts'o <tytso@mit.edu>
Thu, 31 Oct 2002 18:23:37 +0000 (13:23 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 31 Oct 2002 18:23:37 +0000 (13:23 -0500)
commit3a42fe220c301c8b9a8df595938c9a923cf5c494
treedb8b4f7c047a156ac0fc90c1e0d11ac11d37aa1c
parent55ca9ae5ecc5968e272e900b3e6e815fdeae683b
ismounted.c (check_mntent, check_mntent_file): Add better
support for loopback-mounted filesystems.  Check /etc/mtab
if /proc/mounts doesn't turn up any mount flags, since
/etc/mtab has the loopback image filename, instead of
/dev/loop0.  Also, check based on st_dev and st_ino, so
that if a relative pathname or a pathnames using symbolic
links are used, we can detect the the filesystem correctly
in those cases.  (Addresses Sourceforge bug #619119)
lib/ext2fs/ChangeLog
lib/ext2fs/ismounted.c