Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I export a CD-RW drive?

0 views
Skip to first unread message

Dr. David Kirkby

unread,
Mar 29, 2003, 9:48:19 AM3/29/03
to
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.

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

Oscar del Rio

unread,
Mar 29, 2003, 10:03:10 AM3/29/03
to
> share -o ro -d "cdrw_on_sparrow" /cdrom

> # 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


Ben Taylor

unread,
Mar 29, 2003, 10:29:06 AM3/29/03
to

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*

Richard L. Hamilton

unread,
Mar 30, 2003, 1:03:47 AM3/30/03
to
In article <HCInA...@mie.utoronto.ca>,

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

0 new messages