mirror_zfs/cmd/mount_zfs
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
..
.gitignore Added .gitignore for mount.zfs and zvol_id 2011-04-07 10:28:38 -07:00
Makefile.am Fix 'LDFLAGS=-Wl,--as-needed' build error 2011-03-18 14:47:19 -07:00
Makefile.in Always check -Wno-unused-but-set-variable gcc support 2011-06-14 16:40:35 -07:00
mount_zfs.c Handle /etc/mtab -> /proc/mounts symlink 2011-06-14 16:48:38 -07:00