Her is the error KAi, so I have changed to small 's'

 lsblk -Snlo name
lsblk: invalid option -- 'S'
Usage:
 lsblk [options] [<device> ...]
Options:
 -a, --all            print all devices
 -b, --bytes          print SIZE in bytes rather than in human readable 
format
 -d, --nodeps         don't print slaves or holders
 -D, --discard        print discard capabilities
 -e, --exclude <list> exclude devices by major number (default: RAM disks)
 -I, --include <list> show only devices with specified major numbers
 -f, --fs             output info about filesystems
 -h, --help           usage information (this)
 -i, --ascii          use ascii characters only
 -m, --perms          output info about permissions
 -l, --list           use list format ouput
 -n, --noheadings     don't print headings
 -o, --output <list>  output columns
 -P, --pairs          use key="value" output format
 -r, --raw            use raw output format
 -s, --inverse        inverse dependencies
 -t, --topology       output info about topology
 -V, --version        output version information and exit


On Sunday, September 30, 2018 at 7:28:40 PM UTC+2, Kai Stian Olstad wrote:

> On Sunday, 30 September 2018 18.46.58 CEST [email protected] 
> <javascript:> wrote: 
> > HI kai,, 
> > 
> > Thanks for your information, 
> > 
> > sorry to ask this again, Here getting this below output, but not even a 
> > proper one , anything wrong I did?, /dev/sdi is free disk. is that right 
> > one, output will be in descending order? 
> > 
> > bash -c 'comm -23 <(lsblk -snlo name) <(lsblk -l | grep part | cut -c1-3 
> | uniq)' 
> > sr0 
> > comm: file 1 is not in sorted order 
> > sda1 
> > sda 
> > sdf1 
> > sdf 
> > sdh1 
> > sdh 
> > rootvg-lv_swap1 (dm-0) 
>
> A typo, the -s should have been -S 
>
> Try this 
> bash -c 'comm -23 <(lsblk -Snlo name) <(lsblk -l | grep part | cut -c1-3 | 
> uniq)' 
>
>
> -- 
> Kai Stian Olstad 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/79566aee-64ed-46e4-8b27-67fc3dbbcf76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to