Dick Davies wrote:
On 20/06/06, Darren J Moffat <[EMAIL PROTECTED]> wrote:
Alan DuBoff wrote:
> On Friday 16 June 2006 11:09 pm, Ian Collins wrote:
>> I guess I should follow the install list to see where we are with live
>> upgrade and ZFS and Zones.
>
> Ian,
>
> I see quite a few folks provided you the info that this is a bug.
>
> Nobody mentioned the workaround.
>
> before you lucreate, issue this:
>
> # mount -p | fgrep " zfs " | cut -f3 -d' ' > /tmp/excludeList
eek.
$ zfs list -t filesystem -o mountpoint > /tmp/excludelist
erk!
zfs list -t filesystem -o mountpoint|egrep -v '^(legacy|MOUNTPOINT)$'
You don't need to use egrep to get rid of the MOUNTPOINT you use the -H
flag to zfs list and it won't print the header.
Why would you want to not list legacy mounts though ?
--
Darren J Moffat
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org