Eric Schrock wrote:
> Yes, you can rename mountpoints, and always have been able to.  It just
> didn't happen much before the arrival of ZFS.  When you reboot the
> machine, it would have tried to mount the filesystem in the original
> location.  Under ZFS, this would have created a new mountpoint for you.

this reminded me of something I've been wanting to ask for some time ... 
sorry for highjacking a thread ;-).

in the past, I've sometimes done things like:
- have some stuff in /path/to/storage (ufs)
- decided that that stuff might just as well live on/in zfs
- "zfs creat"ed /path/to/storage.copy (with implicit creation of the 
mountpoint), copied data from storage to storage.copy
- mv /path/to/storage to /path/to/storage.old
- zfs set mountpoint=/path/to/storage <volname>

when this whole dance is done, I'm left with an empty directory 
/path/to/storage.copy; since zfs created this directory in the first place, 
is it an unreasonable expectation that zfs remove it as well?

Michael
-- 
Michael Schuster        Sun Microsystems, Inc.
Recursion, n.: see 'Recursion'
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to