[lfs-book] [LFS Trac] #3215: Coreutils-8.20

LFS Trac trac at linuxfromscratch.org
Tue Oct 30 14:10:07 PDT 2012

#3215: Coreutils-8.20
 Reporter:  matthew@…                     |       Owner:  matthew@…                   
     Type:  enhancement                   |      Status:  assigned                    
 Priority:  normal                        |   Milestone:  7.3                         
Component:  Book                          |     Version:  SVN                         
 Severity:  normal                        |    Keywords:                              

Comment(by bdubbs@…):

 Replying to [comment:9 gespinasse]:
 > Doesn't lsblk or findmnt show what you would see for the root partition?
 > http://karelzak.blogspot.fr/search?updated-

 lsblk is ok for visual output, but not very convenient for scripting.  I
 suppose that something like this would work:

 $ lsblk -P -o NAME,MOUNTPOINT|grep '"/"'

 findmnt gives /dev/root which is not useful.  Note that /dev/root does not
 actualy exist.

 cat /proc/cmdline works if you are not using a label or uuid for mounting.

Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3215#comment:10>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

More information about the lfs-book mailing list