Hi Pixel and all,
i just realized "/usr/sbin/detectloader" does not work anymore due to
changes in "/proc/partitions".
on a 2.2 kernel i get something like:
+---------------------------
|major minor #blocks name
|
| 3 0 19938240 hda
| 3 1 64228 hda1
| 3 2 1 hda2
| 3 5 128488 hda5
| 3 6 128488 hda6
| 3 7 128488 hda7
+---------------------------
a 2.4 kernel reports:
+---------------------------------------------------------
|major minor #blocks name
|
| 3 0 4883760 ide/host0/bus0/target0/lun0/disc
| 3 1 1381558 ide/host0/bus0/target0/lun0/part1
| 3 3 1 ide/host0/bus0/target0/lun0/part3
| 3 4 208845 ide/host0/bus0/target0/lun0/part4
+---------------------------------------------------------
as a result I alway get :
+---------------------------------------------------------
|root@menhir[~] perl -w /usr/sbin/detectloader
|Argument "#blocks" isn't numeric in numeric eq (==)
| at /usr/sbin/detectloader line 27, <F> line 1.
|Use of uninitialized value in numeric eq (==)
| at /usr/sbin/detectloader line 27, <F> line 2.
|Use of uninitialized value in concatenation (.)
| at /usr/sbin/detectloader line 28, <F> line 2.
|no bootloader on MBR, trying partitions!
|Use of uninitialized value in print at
| /usr/sbin/detectloader line 23, <F> line 24.
+---------------------------------------------------------
But I have a bootloader in my MBR, I am sure ;-)
--
_
Tschüss und bis demnächst/à bientôt, _|_|_
(") *
Stefan /v\ /
/( )X Penguin Powered!
+------------------------------------+----------------(m-m)------------------+