Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174312

Re: parted is ALMOST suitable

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: parted is ALMOST suitable
Date 2016-11-07 17:10 +0100
Message-ID <sAUEF-5ny-21@gated-at.bofh.it> (permalink)
References <sAR46-30v-17@gated-at.bofh.it> <sARdL-33z-25@gated-at.bofh.it> <sARns-376-37@gated-at.bofh.it> <sAT5T-4ky-13@gated-at.bofh.it> <sAU1Z-4T4-65@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 07 Nov 2016 at 09:27:47 -0600, Richard Owlett wrote:

> On 11/7/2016 8:19 AM, Felipe Salvador wrote:
> >
> >I don't see this behaviour
> >
> >~$ lsblk -fr
> >NAME FSTYPE LABEL UUID MOUNTPOINT
> >sda
> >sda1 ext2  ... /boot
> >sda2 ext4  ... /
> >sda3 ext2  ... /tmp
> >etc etc etc
> >
> >or
> >
> >file -s /dev/sda{1..5} | awk '{print $5}'
> 
> richard@full-jessier:~$ lsblk -fr
> NAME FSTYPE LABEL UUID MOUNTPOINT
> sda
> sda1
> sda2
> sda5
> sda6
> sda7
> sda8    [SWAP]
> sda9    /
> sda10
> sda11
> sda12
> sdb
> sdb1
> sr0

I get the same as you on Debian 8.6. On unstable the command 'lsblk -f'
shows all the fields populated. I wonder what Felipe Salvador is using?

At the least there is a little mystery. At the most it could be you have
run across buggy behaviour.

It appears to me that permissions, security, root privileges etc, etc
have nothing to do with it. None of the information is security
sensitive or requires root access and is available from elsewhere. For
example:

 udevadm info --query=property --name=/dev/sda1 | grep ID_FS_TYPE

This command is probably more useful than lsblk for use in scripts.

-- 
Brian.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-07 13:20 +0100
  Re: parted is ALMOST suitable Felipe Salvador <felipe.salvador@gmail.com> - 2016-11-07 13:30 +0100
    Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-07 13:40 +0100
      Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 14:00 +0100
        Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-07 14:20 +0100
          Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 15:00 +0100
            Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-07 15:50 +0100
              Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 16:10 +0100
              Re: parted is ALMOST suitable Lisi Reisz <lisi.reisz@gmail.com> - 2016-11-07 17:30 +0100
      Re: parted is ALMOST suitable Felipe Salvador <felipe.salvador@gmail.com> - 2016-11-07 15:30 +0100
        Re: parted is ALMOST suitable Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2016-11-07 16:20 +0100
          Re: parted is ALMOST suitable Aldo Maggi <aldomaggi@katamail.com> - 2016-11-07 18:20 +0100
          Re: parted is ALMOST suitable Felipe Salvador <felipe.salvador@gmail.com> - 2016-11-07 19:00 +0100
          Re: parted is ALMOST suitable Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2016-11-08 19:10 +0100
            Re: parted is ALMOST suitable Glenn English <ghe2001@gmail.com> - 2016-11-08 19:40 +0100
              Re: parted is ALMOST suitable Stefan Monnier <monnier@iro.umontreal.ca> - 2016-11-08 21:10 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-08 21:50 +0100
                Re: parted is ALMOST suitable Stefan Monnier <monnier@iro.umontreal.ca> - 2016-11-09 00:20 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-09 18:40 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-09 21:40 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-09 21:50 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-09 22:20 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-09 09:50 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-09 11:20 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-09 11:30 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-09 11:50 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-09 12:10 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-09 17:10 +0100
                Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-09 15:20 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-09 20:50 +0100
                Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-09 21:40 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-09 21:10 +0100
                Re: parted is ALMOST suitable Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2016-11-10 01:20 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-10 10:10 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-09 19:30 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-09 21:40 +0100
                Re: parted is ALMOST suitable Stefan Monnier <monnier@iro.umontreal.ca> - 2016-11-08 22:10 +0100
                Re: parted is ALMOST suitable Lisi Reisz <lisi.reisz@gmail.com> - 2016-11-09 16:00 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-09 09:40 +0100
        Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-07 16:30 +0100
          Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-07 17:10 +0100
            Re: parted is ALMOST suitable Felipe Salvador <felipe.salvador@gmail.com> - 2016-11-07 18:50 +0100
              Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-07 20:20 +0100
                Re: parted is ALMOST suitable Lisi Reisz <lisi.reisz@gmail.com> - 2016-11-08 00:50 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-08 01:40 +0100
                Re: parted is ALMOST suitable Michael Lange <klappnase@freenet.de> - 2016-11-08 03:50 +0100
                Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-08 12:00 +0100
                Correction - Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-08 12:20 +0100
                Re: Correction - Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-08 20:30 +0100
                Re: parted is ALMOST suitable David Wright <deblis@lionunicorn.co.uk> - 2016-11-08 13:50 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-08 20:10 +0100
  Re: parted is ALMOST suitable Frank <zuiderduin@gmx.com> - 2016-11-07 13:30 +0100
  Re: parted is ALMOST suitable Darac Marjal <mailinglist@darac.org.uk> - 2016-11-07 13:40 +0100
  Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 13:50 +0100
    Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-07 14:30 +0100
      Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 15:10 +0100
      Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-07 15:20 +0100
        Re: parted is ALMOST suitable Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-07 15:30 +0100
          Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 15:40 +0100
          Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-07 17:00 +0100
            Re: parted is ALMOST suitable Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-07 17:10 +0100
              Re: parted is ALMOST suitable Nicolas George <george@nsup.org> - 2016-11-07 17:20 +0100
        Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 15:30 +0100
          Re: parted is ALMOST suitable Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-07 15:40 +0100
            Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 16:10 +0100
              Re: parted is ALMOST suitable Reco <recoverym4n@gmail.com> - 2016-11-07 18:00 +0100
                Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-08 10:20 +0100
        Re: parted is ALMOST suitable Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-07 21:10 +0100
          Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-08 01:00 +0100
            Re: parted is ALMOST suitable Richard Owlett <rowlett@cloud85.net> - 2016-11-08 12:20 +0100
            Re: parted is ALMOST suitable Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-11 15:40 +0100
              Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-11 17:30 +0100
                Re: parted is ALMOST suitable Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-11 18:10 +0100
                Re: parted is ALMOST suitable Brian <ad44@cityscape.co.uk> - 2016-11-11 18:40 +0100
    Re: parted is ALMOST suitable David Wright <deblis@lionunicorn.co.uk> - 2016-11-07 15:10 +0100
      Re: parted is ALMOST suitable <tomas@tuxteam.de> - 2016-11-07 15:10 +0100
  Re: parted is ALMOST suitable rhkramer@gmail.com - 2016-11-07 15:00 +0100

csiph-web