Hello Chris,

Thursday, September 28, 2006, 4:55:13 PM, you wrote:

CG> I keep thinking that it would be useful to be able to define a
CG> zfs file system where all calls to mkdir resulted not just in a
CG> directory but in a file system.  Clearly such a property would not
CG> be inherited but in a number of situations here it would be a really useful 
feature.

CG> I can see there would be issues with access these new file
CG> systems over NFS as NFS is currently not to good when new file
CG> systems are created, but has any one considered this?
CG>  


dtrace -w -n syscall::mkdir:entry'{system("zfs create %s\n", 
copyinstr(arg0+1));}'

Should do the job :)


ps. just kidding - but it will work to some extent :)


-- 
Best regards,
 Robert                            mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

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

Reply via email to