On Mon, 2006-07-03 at 18:02 +0800, Darren Reed wrote:
> What danger is there in stripping off the leading / from zfs
> command args and using what is left as a filesystem name?

If I'm understanding you correctly, then you can't do that, as the
mountpoint isn't always the same as the name of the filesystem.

For example:

[EMAIL PROTECTED] df | grep local
/usr/local         (space/usrlocal    ):17092419 blocks 17092419 files
/usr/local/foo     (space/usrlocal/foo):17092419 blocks 17092419 files


Of course, there's nothing stopping you taking the middle field
(enclosed in parenthesis) from df instead.

        does this help ?

        cheers,
                        tim


-- 
Tim Foster, Sun Microsystems Inc, Operating Platforms Group
Engineering Operations            http://blogs.sun.com/timf

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

Reply via email to