Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2004 08:13:54 +0200 (CEST)
From:      Svein Halvor Halvorsen <svein-freebsd-questions@theloosingend.net>
To:        Eric Thornton <gonesurfing@nc.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: refreshing /dev direcotry to show CD tracks
Message-ID:  <20041026081154.Q27291@maren.thelosingend.net>
In-Reply-To: <417D32A0.7090807@nc.rr.com>
References:  <417D32A0.7090807@nc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[Eric Thornton, 2004-10-25]
>  I'm trying to figure out how to update the /dev directory after inserting a
>  CD to show the CD's tracks.  The /dev direcotry does list the CD tracks
>  (/dev/acd0t01...02...) but only after i try to access the disk erroneously
>  through mount /cdrom. I have a shell script that can dump the tracks once
>  they've appeared, but my script dies when the filenames arent present.  Is
>  there a command that will "refresh" the direcory after CD is inserted?

This doesn't give you a general solution to your problem, but issuing 

# cdcontrol -f /dec/acd0 info 

...will work in your specific case.


SVein Halvor



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