zfs/cmd
Suman Chakravartula e18be9a637 Add overlay(-O) mount option support
Linux supports mounting over non-empty directories by default.
In Solaris this is not the case and -O option is required for
zfs mount to mount a zfs filesystem over a non-empty directory.

For compatibility, I've added support for -O option to mount
zfs filesystems over non-empty directories if the user wants
to, just like in Solaris.

I've defined MS_OVERLAY to record it in the flags variable if
the -O option is supplied.  The flags variable passes through
a few functions and its checked before performing the empty
directory check in zfs_mount function.  If -O is given, the
check is not performed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #473
2012-01-12 15:49:38 -08:00
..
mount_zfs Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
sas_switch_id Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
zdb Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
zfs Add overlay(-O) mount option support 2012-01-12 15:49:38 -08:00
zinject Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
zpios Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
zpool Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
zpool_id Avoid using awk in the zpool_id script. 2012-01-11 11:56:56 -08:00
zpool_layout Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
ztest Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
zvol_id Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00
Makefile.am Multipath device manageability improvements 2011-06-23 10:46:06 -07:00
Makefile.in Linux 3.1 compat, super_block->s_shrink 2012-01-11 11:46:02 -08:00