Subject: using DIOCKLABEL in mbrlabel (was: Linux extended-extended partitions)
To: None <port-i386@netbsd.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: port-i386
Date: 03/02/2003 12:15:23
On Sun, Feb 16, 2003 at 04:05:31AM -0500, der Mouse wrote:
> > As someone else pointed out, the in-core disk label is 'thrown away'
> > when the deveice is no longer in use - in this case as soom as
> > mbrlabel exits!
> 
> Unless a DIOCKLABEL has been done on that disk.  Which mbrlabel
> arguably should do, at least optionally, because of exactly this.
> (Note: works for sd and wd in 1.4T; in -current, at most sd, wd, ed,
> and something atari-specific.  But no others as far as I can tell.
> Test before depending on it.)

It would be nice if someone who can reproduce the mbrlabel problem, could
submit a pr or commit a fix so this will be fixed.

I had the problem with an external USB drive, with only a NTFS filesystem
where I couldn't mount it. But I can't test that anymore because that
wasn't my drive.

Bernd