NetBSD-Users archive

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

Re: disklabel: delete a partition?



Am 15.11.23 um 12:14 schrieb Ede Wolf:
Hello,

I have two partitions, sd0e and sd0f, that I would like to merge into a single, large partition, presumibly a larger sd0e. Both are empty.

However, using disklabel, I am not able to find a way to delete both to recreate sd0e.

Even, when setting sd0f as type "unsused", it asks for start and end sectors, which of course are not available, as sd0e will take up all remaining space.

Any other tool I might overlook? Not additional GPT or MBR present, plain, good(?) ole  disklabel.

Thanks

Ede

Sorry for the noise, I've got it.

After having had no succsess with:
$ disklabel -t /dev/rds0 > label
<vi label>
$ disklabel -W -f label /dev/rsd0

a simple:

$ disklabel -e

Did the trick




Home | Main Index | Thread Index | Old Index