On Wed, Oct 18, 2006 at 02:02:14PM +0200, Goran wrote:
> Hello,
> 
> 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)?
> 
hdparm -I 
dmesg | grep hd
grep hd /var/log/dmesg
cat /proc/ide/*/*/media


-- 
Changing husbands/wives is only changing troubles.
                -- Kathleen Norris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to