Hi
in the /etc/dfs/dfstab put
share -F nfs -o ro /cdrom/cdrom0
and use the mount command
mount -r <machine>:/cdrom/cdrom0 <mount-point>
Thanks to: Octave J. Orgeron
Dennis
Original question:
> Hi,
>
> I have a generic Solaris 7 system, which has a cd
> that I want to read on
> another system. The cd is successfully mounted on
> the Solaris box, because I
> can "cd /cdrom/cdrom0" and do an "ls" to see all the
> files. I've added an
> entry into the /etc/dfs/dfstab file of the style -
>
> share -F nfs -o ro /cdrom
>
> and all appears to be well. I can mount the the cd
> on another system, and
> when I do an "ls" on the directory I get
>
> total 4
> drwxr-xr-x 2 root nobody 512 Mar 22
> 14:33 ai8_workstation
> lrwxrwxrwx 1 root nobody 17 Mar 22
> 14:33 cdrom0 ->
> ./ai8_workstation
>
> However when I "cd cdrom0" and do an "ls" I get
>
> total 0
>
> pwd returns - /mnt/ai8_workstation
>
> So the link appears to work, but it does seem to be
> able to read the
> directory entries. It doesn't matter whether I mount
> it on another Solaris
> box or a Tru64 box I get the same thing.
>
> I tried changing the share command in the dfstab
> file to
>
> share -F hsfs -o ro /cdrom
>
> but the shareall command complained about hsfs
######################################
Dennis Macdonell
Systems Administrator
email: mcdonell_at_auslig.gov.au
ph: 61 2 6201 4326
fax: 61 2 6201 4377
######################################
Received on Mon Apr 03 2000 - 01:34:32 NZST