On Thu, Mar 12, 2009 at 6:32 AM, Roderick A. Anderson
<[email protected]> wrote:
> Randal L. Schwartz wrote:
>>>>>>> "Roderick" == Roderick A Anderson <[email protected]> writes:
>>
>> Roderick>     df . | grep ^/dev | cut -d ' ' -f 1
>>
>> Beware... I've seen df wrap the first column on a long device name, like:
>>
>> /dev/
>>    somereallylongmountpoint
>
> OOPS!  I was only seeing the line after the device name wrap.

The "-P" flag fixes that by using the POSIX output format, at least
with GNU coreutils.

-- 
Dan Young
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to