Re: restoring disklabel from an active disk?

2002-07-25 Thread Jerry McAllister
I somehow wiped out my disklabel and while I am backing up my home directory in the event I need to start from scratch, I would like know if I can somehow extract a valid disklabel from a running system and re-apply it? If you can get disklabel to print out the incore version of the

Re: restoring disklabel from an active disk?

2002-07-25 Thread Jerry McAllister
yup, I got the part about the incore label but too late: I wish there was some way to refresh it. It is active as far as df -k or the mechanism in the kernel that tracks filesystems knows. Hmmm. I just thought of something. You say the disklabel starts at 0. Do you mean the offset?

Re: restoring disklabel from an active disk?

2002-07-25 Thread Jerry McAllister
I seem not to have that anymore: the disklabel that I get back starts at 0. I seem to have trashed that as well while I was thrashing around with this. grumble Oh Oh, Sounds suspiciosly like it be gone then. Well, this is your opportunity to be creative... jerry I take the

Re: restoring disklabel from an active disk?

2002-07-25 Thread paul beard
Assuming I work out the partition sizes with the output of df -k, is there a way to determine the starting point for the slice that contains all my BSD partitions? As long as I don't reboot, things seem to be hunky-dory, but that's not the most practical way to continue. -- Paul Beard / 8040