freebsd-dev/cmd
Brian Behlendorf e130330a87 Handle /etc/mtab -> /proc/mounts symlink
Under Fedora 15 /etc/mtab is now a symlink to /proc/mounts by
default.  When /etc/mtab is a symlink the mount.zfs helper
should not update it.   There was code in place to handle this
case but it used stat() which traverses the link and then issues
the stat on /proc/mounts.  We need to use lstat() to prevent the
link traversal and instead stat /etc/mtab.

Closes #270
2011-06-14 16:48:38 -07:00
..
mount_zfs Handle /etc/mtab -> /proc/mounts symlink 2011-06-14 16:48:38 -07:00
zdb Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
zfs Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
zinject Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
zpios Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
zpool Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
zpool_id Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
zpool_layout Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
ztest Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
zvol_id Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
Makefile.am Fix mount helper 2011-03-09 15:26:48 -08:00
Makefile.in Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00