Re: udev and how to find a harddisk
On Wed, Oct 18, 2006 at 02:02:14PM +0200, Goran wrote:
> I'm searching for a way to identify my harddisk with a script (somethink
> similar to fdisk -l). For that I watched out in /sys/block/hd*
> or /sys/block/sd*. But which entry shows me that I've found a read/write
> (harddisk) device or just a read-only device (cdrom)?
dmesg | grep hd
grep hd /var/log/dmesg
Changing husbands/wives is only changing troubles.
-- Kathleen Norris