[ILUG] a first pass at a virtual cd jukebox...

Paul Jakma paul at clubi.ie
Tue Sep 20 03:14:12 IST 2005


On Mon, 19 Sep 2005, kevin lyda wrote:

> on #linux there were some other suggestions.  the --ghost option 
> and the use of hotplug.  perhaps more detail on those ideas might 
> be handy to others?

Ghost can only work on static maps, so it won't work for your 
programme map.

Your solution is pretty much the nicest way to do it dynamically, 
though I'd suggest it might be better to have a script to build a 
static file map, rather than as an autofs programme map. You have to 
manually initiate link update anyway, so running a script (or running 
it regularly from cron) to rebuild (if required) /etc/auto.jukebox 
would do just as well. Then --ghost would work, and you'd have no 
need for these oddball symlink directores ;).

> kevin

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
Premature optimization is the root of all evil.
 		-- D.E. Knuth



More information about the ILUG mailing list