mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-26 18:05:04 +03:00
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 |
||
|---|---|---|
| .. | ||
| asm-generic | ||
| asm-i386 | ||
| asm-x86_64 | ||
| include | ||
| getexecname.c | ||
| gethrestime.c | ||
| gethrtime.c | ||
| getmntany.c | ||
| list.c | ||
| Makefile.am | ||
| Makefile.in | ||
| mkdirp.c | ||
| strlcat.c | ||
| strlcpy.c | ||
| strnlen.c | ||
| timestamp.c | ||
| xdr.c | ||
| zone.c | ||