These are visible from any machine on the network. You do not
have to be logged in
to breath to see these shared directories; breath is only needed for
mounting and
dismounting the CDs. The following paragraphs describe operations on
breath to
control the mount/dismount operations.
if (! $?HOST) then
setenv HOST `hostname
| sed 's/\..//'`
endif
if ( $HOST == breath ) then
alias cdadm
'/usr/jukeman/cdadm'
endif
This should ensure that you can type the command 'cdadm' when logged
in to breath but not when
logged in to other machines. Note this only applies to controlling
the jukebox; you can see the contents
of the jukebox from any machine in the dept via the /share/spandh.[pc/rr]-jukebox
directories.
$ cdadm attatch pioneer
tested 6 slots
$
You should now be able to see in /share/spandh.pc-jukebox and/or /share/spandh.rr-jukebox
on any machine a list of the top-level directories for each of the
CDs inserted. The two paths,
spandh.pc-jukebox and spandh.rr-jukebox represent two different views
of the same jukebox
when using pc extensions and rock ridge extensions respectively. The
data on the CDs is the same,
only the way it looks is different.
$ cdadm detatch pioneer
$
Eject the magazine, change the CDs you want to change, and either issue the command:
$ cdadm testcd pioneer <list> where
<list> represents the numbers of the CD's you have
changed. So for exaple if you change CDs 2,3 and 5
$ cdadm testcd pioneer 2-3,5
or you can use the cdadm attatch pioneer command again.
$ cdadm insert pioneer
to tell the jukebox you wish to insert a new CD (say in slot number
2), eject the magazine, change
the CD, reinsert the magazine and type:
$ cdadm testcd pioneer 2