Re: fdisk and labels

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

 



On Mon, Oct 20, 2008 at 6:38 AM, Trapper <trapper@xxxxxxxxxx> wrote:
> Well, mount -l gives me output but mount -l | grep dev | egrep -v
> 'tmpfs|pts' | awk '{print $1"\t" $3"\t" $5"\t" $6"\t" $7}' gives me
> nothing at all.

The one-liner reads info from mounted partitions only.
You may need to adjust the order of the output columns in the print section.
Awk picks up whatever you tell it to get from the mount -l output.

The script you found is pretty nice though, because it gets a partition's
info whether is mounted or not.

~af

-- 
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