paritition numbers changing?

Marty Leisner (leisner@sdsp.mc.xerox.com)
Sat, 19 Oct 1996 11:45:39 PDT


This has happened a lot with freebsd disk slices and linux
parititions...

The partition ID number is incremented mysteriously by 0x10.
This doesn't affect freebsd (it doesn't seem to care when a partition
is changed from a5 to b5). But I'm now using extended
linux parititons and it makes a different if the code is
85 or 0x95. (dos extended -- code 0x5 doesn't change).

Device Boot Begin Start End Blocks Id System
/dev/hdb3 750 750 2064 552300 95 Unknown
/dev/hdb4 2065 2200 2980 328020 b5 Unknown

Command (m for help): t
Partition number (1-4): 3
Hex code (type L to list codes): 85
Changed system type of partition 3 to 85 (Unknown)

Command (m for help): w
The partition table has been altered!

Then I issue an
fdisk -R /dev/hdb
and get:
hdb: hdb3 < hdb5 hdb6 > hdb4

Its works well in a session (I can mount hdb6), then when I reboot,
its changed again (most of the time...)

Any one can provide some enlightenment?

marty leisner@sdsp.mc.xerox.com
Don't confuse education with schooling.
Milton Friedman to Yogi Berra