glabel and ISO 9660 (was: Re: Testing CAM wrapper for ata(4) controller drivers)

From: Garrett Wollman <wollman_at_hergotha.csail.mit.edu>
Date: Tue, 8 Dec 2009 19:05:46 -0500 (EST)
In article
<permail-2009120823391580e26a0b00006d42-a_best01_at_message-id.uni-muenster.de>,
alexbestms_at_wwu.de writes:

>removing a cd/dvd and inserting a new one doesn't update the label in
>/dev/iso9660.
>
>`file -s /dev/iso9660/CD1` says:
>/dev/iso9660/CD1: ISO 9660 CD-ROM filesystem data 'CD2
>'

That's always been true.  glabel only notices a changed label on taste
events, and those only happen when the underlying provider is either
initialized for the first time, or closed after being open for write.

As root, you can force a retaste with
	: 3>/dev/acd0

(That's the ':' command, not punctuation.  Any command would do.)

-GAWollman
Received on Tue Dec 08 2009 - 23:05:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC