share -o rw -d "downloads_on_sparrow" /downloads
share -o rw -d "export_home_sparrow" /export/home
share -o ro -d "cdrw_on_sparrow" /cdrom
share -o rw -d "usr_local_on_sparrow" /usr/local
share -o rw -d "usr_local_src_on_sparrow" /usr/local/src
share -o rw -d "export_home_davek_old_on_sparrow"
/export/home/davek/old
I then attempt to mount file systems on a client running Solaris 2.5.
# mount sparrow:/usr/local /usr/local
that works fine.
But
# mount sparrow:/cdrom /cdrom
results in a mounted file system, but the contents of the CD-ROM can't
be seen. I tried exporting it read-only (it is actually a CD-RW), but
that did not work either.
Any suggestions.
--
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail da...@medphys.ucl.ac.uk
> # mount sparrow:/cdrom /cdrom
> results in a mounted file system, but the contents of the CD-ROM can't
> be seen.
You have to export and mount the actual mount point, such as
/cdrom/whatever-cdrom-label
Since the CD label is variable, you can instead export
and mount /cdrom/cdrom0, just remember to "shareall"
anytime you change CD
Dr. David Kirkby wrote:
> Hi,
> I have an Ultra 80 (sparrow) running Solaris 9. Several file systems
> are exported via /etc/dfs/dfstab
>
> share -o rw -d "downloads_on_sparrow" /downloads
> share -o rw -d "export_home_sparrow" /export/home
> share -o ro -d "cdrw_on_sparrow" /cdrom
> share -o rw -d "usr_local_on_sparrow" /usr/local
> share -o rw -d "usr_local_src_on_sparrow" /usr/local/src
> share -o rw -d "export_home_davek_old_on_sparrow"
> /export/home/davek/old
>
> I then attempt to mount file systems on a client running Solaris 2.5.
>
> # mount sparrow:/usr/local /usr/local
> that works fine.
>
> But
> # mount sparrow:/cdrom /cdrom
> results in a mounted file system, but the contents of the CD-ROM can't
> be seen. I tried exporting it read-only (it is actually a CD-RW), but
> that did not work either.
An easier way to share a cdrom automatically is to put it in
/etc/rmmount.conf
# share CDROM
share cdrom*
You can also have vold (rmmount actually) take care of it. Just add
share cdrom* -o ro=access_list,root=access_list
(where access_list is a colon separated list of hostnames, or something else
permitted to control what client a share is exported to; see share_ufs(1m))
at the end of /etc/rmmount.conf
--
mailto:rlh...@mindwarp.smart.net http://www.smart.net/~rlhamil