[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kernel, devfs and /proc/partitions question.



Hello,

I have some questions concerning the kernel and its devfs usage.

If i understand correctly, all kernels used for debian-installer should
have the devfs built, but not the devfs-automount stuff loaded.

My understanding was that when doing that, and booting the kernel with
no special option, then devfs is supposed to not be activated, and this
is what we will use for the sarge installed kernel.

When using the same kernel for debian-installer, we need devfs, and thus
either enable the auotmount option, or use the command line devfs=mount.

Is this correct ? What do other people do here ?

Furthermore. If devfs is not mounted, devfs should have no influence
whatsoever on the running kernel, right ?

The problem is that i am running the powerpc kernel without any devfs
option, and not built with devfs-automount, but altough the df output
seems ok, /proc/partitions seems to show the devfs volumes.

Is this the correct and expected behavior ? What do other people
(popwerpc users or not) see here ? And can this be safely ignored, or
will it cause problems later with non devfs mounted kernels ?

$ cat /proc/partitions
major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect wuse running use aveq
   3     0   78150744 ide/host0/bus0/target0/lun0/disc 13211 26788 294586 63260 5641 16958 183090 96600 -2 7729110 27636112
   3     1     192780 ide/host0/bus0/target0/lun0/part1 164 3144 3308 330 2 0 2 10 0 330 340
   3     2     819315 ide/host0/bus0/target0/lun0/part2 7024 8137 121282 13960 717 1493 17736 3400 0 14120 17360
   3     3    1028160 ide/host0/bus0/target0/lun0/part3 239 1275 12112 5370 1169 7748 73592 41070 0 4520 46520
   3     4    8193150 ide/host0/bus0/target0/lun0/part4 3705 9808 107738 26020 515 989 12072 7480 0 21020 33500
   3     5    1020127 ide/host0/bus0/target0/lun0/part5 36 57 378 180 76 164 1904 1150 0 1040 1330
   3     6    1028160 ide/host0/bus0/target0/lun0/part6 1626 3251 38650 11680 1168 3500 37392 31060 0 11240 42740
   3     7    6144862 ide/host0/bus0/target0/lun0/part7 9 56 154 80 4 3 32 10 0 90 90
   3     8   12281692 ide/host0/bus0/target0/lun0/part8 346 477 6218 4900 1915 2511 35384 10010 0 6250 14910
   3     9   10241437 ide/host0/bus0/target0/lun0/part9 0 0 0 0 0 0 0 0 0 0 0
   3    10    1028160 ide/host0/bus0/target0/lun0/part10 0 0 0 0 0 0 0 0 0 0 0
   3    11    1020127 ide/host0/bus0/target0/lun0/part11 60 577 4730 740 75 550 4976 2410 0 990 3150
   3    12   28676025 ide/host0/bus0/target0/lun0/part12 0 0 0 0 0 0 0 0 0 0 0
   3    13    5116702 ide/host0/bus0/target0/lun0/part13 0 0 0 0 0 0 0 0 0 0 0
$ df
Sys. de fich.        1K-blocs       Occupé Disponible Capacité Monté sur
/dev/hda2               806400    119636    645800  16% /
/dev/hda4              8064304   7376436    278212  97% /usr
/dev/hda5              1004052     16476    936572   2% /tmp
/dev/hda6              1011960    107768    852784  12% /var
/dev/hda7              6048352   1837608   3903504  33% /var/cache
/dev/hda8             12088724  10822152    652488  95% /home
/dev/hda11             1004052     27028    926020   3% /boot
/dev/hda1               192779     42860    149919  23% /boot/amiga

Friendly,

Sven Luther



Reply to: