Subject: Re: sd: MEDIA_LOADED not reset on last close?
To: None <firstname.lastname@example.org>
From: Charles M. Hannum <email@example.com>
Date: 05/04/1996 18:57:46
Leo Weppelman <firstname.lastname@example.org> writes:
> I was wondering if there is a good reason why the sdclose function does not
> reset the SDEV_MEDIA_LOADED flag on the last close on the device.
Because it shouldn't be necessary, it would largely defeat the point
of the flags, and it would take longer to open the device a second
time. Arguably, these are minor points.
> modifying the native paritioning, it is essential to re-read the disklabel
> from disk.
Or you could do a DIOCSDLABEL to change the in-core label.