On Fri, Aug 13, 2004 at 04:44:54PM -0400, Tong wrote:
> On Fri, 13 Aug 2004 13:25:42 -0700, Stefan O'Rear wrote:
> 
> > On Fri, Aug 13, 2004 at 04:13:23PM -0400, Tong wrote:
> Mine is:
> 
> % cat /proc/partitions 
> major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect wuse running 
> use aveq
> 
>    3     0   60051600 ide/host0/bus0/target0/lun0/disc 72159 136746 1668720 467190 
> 383039 658435 8342136 1659840 -429 17038808 22703194
>    3     1    1638598 ide/host0/bus0/target0/lun0/part1 0 0 0 0 0 0 0 0 0 0 0
>    3     2    1028160 ide/host0/bus0/target0/lun0/part2 0 0 0 0 0 0 0 0 0 0 0
>    3     3    3092512 ide/host0/bus0/target0/lun0/part3 0 0 0 0 0 0 0 0 0 0 0
>    3     4          1 ide/host0/bus0/target0/lun0/part4 0 0 0 0 0 0 0 0 0 0 0
>    3     5     514048 ide/host0/bus0/target0/lun0/part5 1458 7877 74680 9070 2140 
> 18285 166272 42490 0 10100 52000
> 
> How can I get the format like yours? 

host0? bus0?
I'm running:

   stefan:~$ uname -a
   Linux stefans 2.2.20-custom_0 #6 Tue Aug 19 21:25:52 PDT 2003 i686 unknown

Would you by any chance be running a later-than-2.2.20 kernel?
Maybe you upgraded your kernel and forgot to update sfdisk?
Looking at my strace, maybe sfdisk wants to be run as root?
(BE AFRAID. BE VERY AFRAID.)

Devfs, perhaps?

> lrwxrwxrwx  1 root root 8 Aug 13 16:37 hda -> ide0/hda
> lrwxrwxrwx  1 root root 8 Aug 13 16:37 hdb -> ide0/hdb 
> lrwxrwxrwx  1 root root 8 Aug 13 16:37 hdc -> ide1/hdc
> lrwxrwxrwx  1 root root 8 Aug 13 16:37 hdd -> ide1/hdd

That means you have a master and slave on both your interfaces.

  stefans:~$ cat /proc/ide/hda/capacity
  26520480

Dividing by 2048*1024, that's 12.64 GB.


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

Reply via email to