David Magda wrote:
On Wed, July 29, 2009 10:24, Andre van Eyssen wrote:

It'd either require major surgery to userland tools, including every
single program that might want to create a directory, or major surgery to
the kernel. The former is unworkable, the latter .. scary.

How about: add a flag ("-Z"?) to useradd(1M) and usermod(1M) so that if
base_dir is on ZFS, then the user's homedir is created as a new file
system (assuming "-m").


Which makes me wonder: is there a programmatic way to determine if a path
is on ZFS?

st_fstype field of struct stat.

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to