Re: fdisk and labels

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

 





Michael Schwendt wrote:
On Fri, 17 Oct 2008 19:01:30 -0700, gary artim wrote:

On Fri, Oct 17, 2008 at 10:50 AM, Trapper <trapper@xxxxxxxxxx> wrote:
Somewhere along the line I saw a small script that provides a display of
label information as a part of "fdisk -l" results. My searches have proved
fruitless. Anyone recall such a script?

do you mean /sbin/e2label /dev/yourdevname

or /sbin/blkid

Both are not part of fdisk -l results, though. ;)


What I mean is this:

When I "fdisk" -l I get:

/dev/sdb1      1         338     2714953+  82  Linux swap
/dev/sdb2   *  339        5560    41945715   83  Linux
/dev/sdb3      5561       12087    52428127+  83  Linux

There's a crafty little script running around somewhere that gives you the fdisk readout plus the partition labels when you run it:

/dev/sdb1      1         338     2714953+  82  Linux swap
/dev/sdb2   *  339        5560    41945715   83  Linux    Fedora9-32
/dev/sdb3      5561       12087    52428127+  83  Linux   Fedora9-64

I "think" someone provided this in the web forum but I've been unable to locate it.

Trapper

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux