Subject: Re: sd: MEDIA_LOADED not reset on last close?
To: None <email@example.com>
From: Charles M. Hannum <firstname.lastname@example.org>
Date: 05/04/1996 18:57:46
Leo Weppelman <email@example.com> 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.