mounted partition sizes/offsets

Marty Leisner (leisner@sdsp.mc.xerox.com)
Tue, 12 Aug 1997 14:59:25 PDT


I accidently erased clobbered my first partition on my disk on
a running system
(I put an array by an accident when I ran fdisk
(i.e. cfdisk -P t >/dev/hda
instead of
cfdisk -P t /dev/hda

I didn't loose much, while the system was running on copied all stuff I did
to other machines.

But this brings me back to the question: how do I reconstruct
what's going on? Is there a way to figure out the device/sectors
of the partitions? It seems useful. (i.e. a /proc entry called partitions).

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