Re: /proc/partitions (was: Get a list of hard disks)
On Fri, Aug 13, 2004 at 05:41:26PM -0400, Tong wrote:
> Seems so. I accept everything default when installed as testing. How come
> I'm different than yours? Mine is:
>
> testing, 2.4.25-1-386, i686 GNU/Linux
Well, I'm using woody (and am consistently unable to upgrade to 2.4)
> > Maybe you upgraded your kernel and forgot to update sfdisk?
>
> No idea about that, here is my info:
>
> /sbin/sfdisk comes from util-linux. As to util-linux:
>
> Installed: 2.12-3
> Candidate: 2.12-3
> Version Table:
> *** 2.12-3 0
> 500 http://debian.yorku.ca testing/main Packages
> 100 /var/lib/dpkg/status
As can be expected (3.0/3.1) mine is only 2.11n-4.
> > Devfs, perhaps?
>
> Hmm, what do you mean?
>
> You mean devfsd - Daemon for the device filesystem? No, I don't have that
> installed.
Actually, I meant if devfs was mounted. But I've heard debian won't work
if you have devfs mounted but don't have devfsd running, so it's not
that...
> Here is something I think might be relavent:
>
> $ lsmod | grep ide
> ide-scsi 8464 0 (autoclean)
> scsi_mod 85312 2 (autoclean) [sd_mod ide-scsi]
> ide-cd 27936 0
> cdrom 25056 0 [ide-cd]
> ide-detect 288 0 (autoclean) (unused)
> ide-disk 12512 7 (autoclean)
> ide-core 94108 7 (autoclean) [ide-scsi ide-cd ide-detect sis5513 ide-disk]
>
>
> Are they all necessary?
I wouldn't know, my kernel has everything I use compiled in, don't have
any ide-* modules.
BTW, how are you booting? if ide-disk is a module, it would have to be loaded
before it could be loaded off your HD! (probably /initrd?)
Try looking at the files in your /proc/ide:
stefan:~$ tail /proc/ide/hd*/{cache,model,media}
==> /proc/ide/hda/cache <==
1966
==> /proc/ide/hdb/cache <==
512
==> /proc/ide/hda/model <==
IBM-DJNA-371350
==> /proc/ide/hdb/model <==
WDC AC14300R
==> /proc/ide/hdc/model <==
Hewlett-Packard CD-Writer Plus 8100
==> /proc/ide/hda/media <==
disk
==> /proc/ide/hdb/media <==
disk
==> /proc/ide/hdc/media <==
cdrom
Reply to: