On Mon, Jul 03, 2006 at 06:43:59PM +0800, Darren Reed wrote:
> 
> Well, I use "df -kl", but commands such as "df" will work just
> the same if I use "." or "/" or "/dev/dsk/c0t3d0s0" (and all three
> are the same.)
> 
> Yes, arguably I am cut-past'ing the wrong part of the output..
> 
> I suppose what I'm questioning is, whether or not there is any
> real danger in zfs converting /usr/local to usr/local and then
> trying to do a delete of the filesystem usr/local.  I suppose this
> could mounted in /opt/local and be not what I wanted...
> 
> But in the case where the ZFS mountpoint is the ZFS filesystem
> name (plus a leading /), why not allow both names to mean the same?

A better solution would be fixing this RFE:

6260523 want 'zfs list <path>'

Which could also be expanded to other zfs(1M) commands.  This would do
the statvfs()/getmntany() to find the associated zfs dataset, regardless
of whether it matches the mountpoint or not.

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to