Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 19:05:46 -0500 (EST)
From:      Garrett Wollman <wollman@hergotha.csail.mit.edu>
To:        alexbestms@wwu.de
Cc:        current@freebsd.org
Subject:   glabel and ISO 9660 (was: Re: Testing CAM wrapper for ata(4) controller drivers)
Message-ID:  <200912090005.nB905kLg090953@hergotha.csail.mit.edu>
In-Reply-To: <permail-2009120823391580e26a0b00006d42-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In article
<permail-2009120823391580e26a0b00006d42-a_best01@message-id.uni-muenster.de>,
alexbestms@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912090005.nB905kLg090953>