>>>>> "Roderick" == Roderick A Anderson <[email protected]> writes:
Roderick> 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 Roderick> OOPS! I was only seeing the line after the device name wrap. Yes, I point this out because *most* of the time, it works, but I got burned once on an automated tool I wrote because I didn't realize it wraps occasionally. And this was BSD, so it might not apply to the GNU versions. -- 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
