Other Is `mount -o union -t nullfs ...` safe?

The man page for mount_unionfs contains some pretty dire warnings such as "USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM".

However mount has a union option which performs the mount as a union mount over the existing filesystem at the mount point. Is this considered safe and reliable (unlike mount_unionfs)?

I'm hoping to use mount -o union -t nullfs to mount writable directories in jails.

Thanks,

Jarvis
 
Well, one thing is for sure, it is something different! As this is a mount option (as opposed to an actual filesystem), it's implemented at the VFS layer. Without any word of warning in the docs, I'd assume it is safe to use.

Still, I'd probably prefer a clone of a ZFS snapshot for what you intend to do... (edit, might depend on the actual requirements of course!)
 
Back
Top