Re: lsblk '--allcols'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 April 2018 at 22:42, Dan Mick <dmick@xxxxxxxxxx> wrote:
> Beyond simple "show me a quick overview", I often want to see everything
> the system knows about a blockdev, and it's a drag to have to construct
> the option list from the output of help.  I've made a simple
> "-A/--allcols" patch.  Is that something that would meet the
> expectations of the team, and if so, is email to this list the best way
> to submit it?

Pardon if I sound confused. Subject line says lsblk that already has
display all columns option:

 -O, --output-all     output all columns

In message body you are talking about blockdev, that has it's place
but lsblk is better reporting tool. Assuming lsblk does not list something
blockdev can then I recommend adding that to lsblk.

That said --allcols proposal has a point. Right now various tools
that use smartcols has the options listed below. Perhaps --output-all
should be part of these.

 -J, --json             use JSON output format
 -n, --noheadings       don't print headings
 -o, --output <list>    COLUMNS to display (see below)
 -r, --raw              use the raw output format

If I see right the --output-all could be added to these utilities: fdisk,
fincore, findmnt, losetup, lscpu, lsipc, lslocks, lslogins, lsmem, lsns,
partx, prlimit, rfkill, sfdisk, swapon, uuidparse, wdctl, wipefs, and
zramctl.

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux