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

:)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

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

Reply via email to