Re: [zfs-discuss] how to set mountpoint to default?

2009-01-31 Thread Kees Nuyt
On Fri, 30 Jan 2009 16:49:15 -0800, Frank Cusack
fcus...@fcusack.com wrote:

zfs set only seems to accept an absolute path, which even if you set it
to the name of the pool, isn't quite the same thing as the default.
see my other thread about set mountpoint but don't mount?.

That property is called canmount.
man zfs
/canmount
-- 
  (  Kees Nuyt
  )
c[_]
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] how to set mountpoint to default?

2009-01-31 Thread Frank Cusack
On January 31, 2009 10:57:11 AM +0100 Kees Nuyt k.n...@zonnet.nl wrote:
 On Fri, 30 Jan 2009 16:49:15 -0800, Frank Cusack
 fcus...@fcusack.com wrote:

 zfs set only seems to accept an absolute path, which even if you set it
 to the name of the pool, isn't quite the same thing as the default.
 see my other thread about set mountpoint but don't mount?.

 That property is called canmount.
 man zfs
 /canmount

thanks for the reply.  to clarify, this doesn't answer the question in
this thread at all -- how to reset the mountpoint property to 'default'.
(so i am still looking for the answer to that.)

it does seem to address how to do 'zfs send -R | zfs recv -d' with
explicit mountpoints though.  i didn't test, but it seems that setting
canmount to noauto, replicating, then changing canmount back to on, would
do the trick.

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


Re: [zfs-discuss] how to set mountpoint to default?

2009-01-31 Thread Mark J Musante
To set the mountpoint back to default, use 'zfs inherit mountpoint dataset'
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] how to set mountpoint to default?

2009-01-31 Thread Kees Nuyt
On Sat, 31 Jan 2009 09:49:09 -0800, Frank Cusack
fcus...@fcusack.com wrote:

On January 31, 2009 10:57:11 AM +0100 Kees Nuyt k.n...@zonnet.nl wrote:
 On Fri, 30 Jan 2009 16:49:15 -0800, Frank Cusack
 fcus...@fcusack.com wrote:

 zfs set only seems to accept an absolute path, which even if you set it
 to the name of the pool, isn't quite the same thing as the default.
 see my other thread about set mountpoint but don't mount?.

 That property is called canmount.
 man zfs
 /canmount

thanks for the reply.  to clarify, this doesn't answer the question in
this thread at all -- how to reset the mountpoint property to 'default'.

Oops, sorry, I probably read too fast and mixed up threads.

(so i am still looking for the answer to that.)

Mark J Musante has the answer ;)

it does seem to address how to do 'zfs send -R | zfs recv -d' with
explicit mountpoints though.  i didn't test, but it seems that setting
canmount to noauto, replicating, then changing canmount back to on, would
do the trick.

-frank
-- 
  (  Kees Nuyt
  )
c[_]
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] how to set mountpoint to default?

2009-01-31 Thread Frank Cusack
On January 31, 2009 10:17:56 AM -0800 Mark J Musante mark.musa...@sun.com 
wrote:
 To set the mountpoint back to default, use 'zfs inherit mountpoint
 dataset'

oh, duh smacks head.  i realized that was the case for all but the
top level dataset but didn't intuit that at the top level inherit
would work that way.  thanks.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] how to set mountpoint to default?

2009-01-30 Thread Frank Cusack
zfs set only seems to accept an absolute path, which even if you set it
to the name of the pool, isn't quite the same thing as the default.
see my other thread about set mountpoint but don't mount?.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss