Re: Problem with a corrupted disklabel

Richard Danter <[email protected]>
Newsgroups gmane.os.netbsd.ports.hpcarm
Message-ID <[email protected]>
Mark Kirby said the following:
> On Thursday 11 May 2006 15:35, Richard Danter wrote:
>> Hi Mark,
>>
>> Thanks for the link. Problem is that my partitions are already made and
>> disklabel does not seem to let me delete them. Is there a way to get the
>> CF back to how it was before I installed NetBSD on it so I can go
>> through the process again?
> 
> According to the man page you can do disklabel -D which should delete all 
> labels.
> 
> -D 
>  Delete all existing labels (by 1's complimenting the magic number) before 
> writing any labels to their default location. Implies -r If -D is specified 
> without a request to write the label, then existing labels are just deleted. 
> 

Thanks Mark. For some reason my version of disklabel does not have the
-D option. <sigh>

Rich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.