[zfs-discuss] zfs list - column width

2006-07-10 Thread przemolicc
Hello, because creating/using filesystems in ZFS becoms cheap it is useful now to create/organize filesystems in hierarchy: bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT dns-pool 136K 43.1G 25.5K /dns-pool dns-pool/zones 50K 43.1G 25.5K

Re: [zfs-discuss] zfs list - column width

2006-07-10 Thread Darren Reed
[EMAIL PROTECTED] wrote: Hello, because creating/using filesystems in ZFS becoms cheap it is useful now to create/organize filesystems in hierarchy: bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT dns-pool 136K 43.1G 25.5K /dns-pool dns-pool/zones

Re: [zfs-discuss] zfs list - column width

2006-07-10 Thread Jeff Victor
[EMAIL PROTECTED] wrote: On Mon, Jul 10, 2006 at 05:07:35PM +0800, Darren Reed wrote: [EMAIL PROTECTED] wrote: Hello, because creating/using filesystems in ZFS becoms cheap it is useful now to create/organize filesystems in hierarchy: bash-3.00# zfs list NAME USED

Re: [zfs-discuss] zfs list - column width

2006-07-10 Thread Darren J Moffat
Jeff Victor wrote: [EMAIL PROTECTED] wrote: bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT dns-pool 136K 43.1G 25.5K /dns-pool dns-pool/zones 50K 43.1G 25.5K /dns-pool/zones dns-pool/zones/dns1 24.5K 43.1G 24.5K /dns-pool/zones/dns1

Re: [zfs-discuss] zfs list - column width

2006-07-10 Thread Darren Reed
Darren J Moffat wrote: Jeff Victor wrote: [EMAIL PROTECTED] wrote: bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT dns-pool 136K 43.1G 25.5K /dns-pool dns-pool/zones 50K 43.1G 25.5K /dns-pool/zones dns-pool/zones/dns1 24.5K 43.1G

Re: [zfs-discuss] zfs list - column width

2006-07-10 Thread Jeff Victor
Darren J Moffat wrote: Jeff Victor wrote: [EMAIL PROTECTED] wrote: bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT dns-pool 136K 43.1G 25.5K /dns-pool dns-pool/zones 50K 43.1G 25.5K /dns-pool/zones dns-pool/zones/dns1 24.5K 43.1G

Re: [zfs-discuss] zfs list - column width

2006-07-10 Thread Darren J Moffat
Jeff Victor wrote: My interpretation: more specific control of column widths and flexibility to place the name in the first column. Further, to many people, tabs are evil. Putting the name in the first column is easy it works already: zfs list -o name,used,avail,refer,mountpoint Granted

Re: [zfs-discuss] zfs list - column width

2006-07-10 Thread Darren J Moffat
Darren Reed wrote: The width of the columns. Create a ZFS filesystem called cube/builds/example_with_a_long_name and put that in the middle of your output. Even with one tab, that doesn't quite work for tty output. The whole point of the -H is so that you can post process it to suit, for

Re: [zfs-discuss] zfs list - column width

2006-07-10 Thread Eric Schrock
This is a known problem: 6349494 'zfs list' output annoying for even moderately long dataset names The fix is fairly straightforward. We don't need some complicated method of specifying columns widths. We just need to do two passes over the data (which we already have in hand for sorting