On Mon, Oct 20, 2008 at 6:38 AM, Trapper <[EMAIL PROTECTED]> 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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to