Re: Is swap, var filesystems part of the same physical disk as the root?
From: Robert Lawhead (news0000.5.unixguru_at_spamgourmet.com)
Date: 07/09/05
- Previous message: Darren Dunham: "Re: Is swap, var filesystems part of the same physical disk as the root?"
- In reply to: Darren Dunham: "Re: Is swap, var filesystems part of the same physical disk as the root?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 08 Jul 2005 16:01:40 -0700
Darren Dunham wrote:
> MikeHT <mike2.li@gmail.com> wrote:
>
>>by property, i meant, make, model, size of the Harddisk.
>>I can't use format, prtvtoc because of permission restriction.
>
>
> You can try 'iostat -En'. In some cases the label will have some of
> that information, but none of it is guaranteed.
>
> Even with root, I don't know any way to guarantee the make and model.
Don't know if this can be relied upon, but on an aging box at home
that has a "Western Digital Caviar SE WD800JB 80GB 7200 RPM
8MB Cache IDE Ultra ATA100 Hard Drive", I see:
% prtpicl -v | grep devid
:devid id1,cmdk@AWDC_WD800JB-00JJA0=WD-WCAM94142920
Which looks like the truncated identifier seen with dmesg:
% dmseg | grep 'Disk[01]' | tail -2
Jul 8 15:38:37 anza gda: [ID 243001 kern.info]
Disk0: <Vendor 'Gen-ATA ' Product 'WDC WD800JB-00JJ'>
Jul 8 15:40:50 anza gda: [ID 243001 kern.info]
Disk1: <Vendor 'Gen-ATA ' Product 'ST36450A '>
- Bob
<snip>
- Previous message: Darren Dunham: "Re: Is swap, var filesystems part of the same physical disk as the root?"
- In reply to: Darren Dunham: "Re: Is swap, var filesystems part of the same physical disk as the root?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|