Re: [zfs-discuss] way to find out of a dataset has children

2010-09-27 Thread Geoff Nordli
>From: Richard Elling >Sent: Monday, September 27, 2010 1:01 PM > >On Sep 27, 2010, at 11:54 AM, Geoff Nordli wrote: >> >> Are there any properties I can set on the clone side? > >Each clone records its origin snapshot in the "origin" property. > >$ zfs get origin syspool/rootfs-nmu-001 >NAME

Re: [zfs-discuss] way to find out of a dataset has children

2010-09-27 Thread Richard Elling
On Sep 27, 2010, at 11:54 AM, Geoff Nordli wrote: > > Are there any properties I can set on the clone side? Each clone records its origin snapshot in the "origin" property. $ zfs get origin syspool/rootfs-nmu-001

Re: [zfs-discuss] way to find out of a dataset has children

2010-09-27 Thread Geoff Nordli
>From: Darren J Moffat >Sent: Monday, September 27, 2010 11:03 AM > > >On 27/09/2010 18:14, Geoff Nordli wrote: >> Is there a way to find out if a dataset has children or not using zfs >> properties or other scriptable method? >> >> I am looking for a more efficient way to delete datasets after th

Re: [zfs-discuss] way to find out of a dataset has children

2010-09-27 Thread Darren J Moffat
On 27/09/2010 18:14, Geoff Nordli wrote: Is there a way to find out if a dataset has children or not using zfs properties or other scriptable method? I am looking for a more efficient way to delete datasets after they are finished being used. Right now I use custom property to set delete=1 on

[zfs-discuss] way to find out of a dataset has children

2010-09-27 Thread Geoff Nordli
Is there a way to find out if a dataset has children or not using zfs properties or other scriptable method? I am looking for a more efficient way to delete datasets after they are finished being used. Right now I use custom property to set delete=1 on a dataset, and then I have a script that r