On Sun, 02 Jan 2000, Pixel wrote:
> % dmesg | perl -ne 'print /(\w+)/, "\n" if m|ATAPI.*/RW|'

        Yup, correctly gives hdd for my HP 7110i.

> % cat /var/log/messages | perl -ne 'print /(\w+)/, "\n" if m|ATAPI.*/RW|'

gives:
Dec
Jan

        I'd say, use the first one! :)

-- 
David Hart
Vincity Design
*Proudly sent from Linux Mandrake 6.1*

Reply via email to