Dnia 2008-11-22, sob o godzinie 07:06 -0800, Simon Breden pisze:
> Hi Pawel,
> 
> Yes, it did change in the last few months.

Hello Simon,

Thanks a lot for your reply! I didn't know it, because I'm not so
long-time OpenSolaris user ;) I was confused, because recently I've
seen Roman Strobl's ZFS basic screencast [1] and `zfs list` displays
there both filesystems and snapshots.

> On older versions of solaris the default for 'zfs list' was to show
> all filesystems AND snapshots.

That old behaviour was OK for me, but I don't have many snapshots.
Yet ;)

> This got to be a real pain when you had lots of snapshots as you
> couldn't easily see what was what, so it was changed so that
> the default for 'zfs list' is just to show the filesystems,
> which is much preferable in my opinion.

In my opinion "listsnaps=off" property was really good solution of
that problem, but probably it's too late to back to old default
behaviour of `zfs list`. It's a pity.

> As others here have said, just issue 'zfs list -t snapshot' if you
> just want to see the snapshots, or 'zfs list -t all' to see both
> filesystems and snapshots.

OK, I can use that, but my dreamed `zfs list` syntax is like below:

zfs list [all|snapshots]

zfs list:           displays all filesystems and snapshots too only if
                    "listsnaps=on"
zfs list all:       displays all filesystems and snapshots too even if
                    "listsnaps=off"
zfs list snapshots: displays all snapshots, without filesystems

Do you agree with me that it's simple and beautiful? ;)

My best regards,

Pawel



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
              • ... Paweł Tęcza
              • ... Malachi de Ælfweald
              • ... Paweł Tęcza
              • ... Paweł Tęcza
              • ... Richard Elling
              • ... Tim Foster
              • ... Paweł Tęcza
  • Re: [zfs-disc... Prabahar Jeyaram
    • Re: [zfs... Pawel Tecza
      • Re: ... Simon Breden
        • ... Paweł Tęcza
          • ... Paweł Tęcza
            • ... Simon Breden
          • ... Richard Morris - Sun Microsystems - Burlington United States
            • ... Paweł Tęcza
              • ... Richard Morris - Sun Microsystems - Burlington United States
              • ... Jens Elkner
              • ... Pawel Tecza
              • ... Paweł Tęcza

Reply via email to