On Sun, Nov 27, 2011 at 10:19:56PM +0000, Roger Leigh wrote: > I noticed that support had recently been added for /etc/fstab.d. > In Debian, we're configuring with --enable-libmount-mount, but > I'm not seeing it being used; strace shows no opendir/stat calls > for it. Is anything else necessary to enable it, or is it not > yet actually used by mount? Do you really have the latest git tree (gil pull to refresh)? > I've just created a file /etc/fstab.d/test.fstab, and then > tried "mount /foo", where /foo would be the entry in test.fstab, > but don't see anything happening. [git clone / git clean -xdf; cd util-linux] $ ./autogen.sh $ ./configure --enable-libmount-mount $ make -C mount/ mount # cat /etc/fstab.d/tests.fstab /home/fs-images/ext2.img /mnt/loop auto defaults,noauto # ./mount/mount /mnt/loop # findmnt /mnt/loop TARGET SOURCE FSTYPE OPTIONS /mnt/loop /dev/loop0 ext2 rw,relatime,errors=continue # findmnt --fstab /mnt/loop TARGET SOURCE FSTYPE OPTIONS /mnt/loop /home/fs-images/ext2.img auto defaults,noauto .. so works for me ;-) Try LIBMOUNT_DEBUG=0xffff ./mount/mount ... to debug the problem. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html