Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 1996 14:39:41 -0800
From:      Scott Blachowicz <scott@statsci.com>
To:        James Hu <jxh@cs.wustl.edu>
Cc:        questions@freebsd.org
Subject:   Re: amd and CDROM 
Message-ID:  <m0vNRUb-0003xJC@main.statsci.com>
In-Reply-To: Your message of "Tue, 12 Nov 1996 13:35:46 -0600." <199611121935.NAA00534@plethora.cs.wustl.edu> 
References:  <199611121935.NAA00534@plethora.cs.wustl.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
James Hu <jxh@cs.wustl.edu> wrote:

> What I have tried is to create an entry in fstab for the CDROM:
> /dev/cd0a       /cdrom  cd9660  noauto,ro       0 0
> 
> Then, I wanted to create an entry an amd.map entry which corresponds to
> /cdrom.  I tried something like:
> cdrom           type:=program;mount:="/sbin/mount mount /cdrom";unmount:="/sbin/umount umount /cdrom"
> 
> and attempted with calls to amd which looked like:
> amd / amd.cdrom.map

I think that effectively tries to overmount your root partition with the amd 
map you constructed. I think you want to either look around the amd docs for 
"direct" mount references or do something like this [untried] bit...

  mkdir /amd_devices
  amd /amd_devices amd.cdrom.map
  rmdir /cdrom
  ln -s /amd_devices/cdrom /

So, amd would mount /amd_devices/cdrom when referenced and cd'ing to /cdrom 
would follow the symbolic link into /amd_devices/cdrom, thus causing it to be 
mounted.

Maybe...I think...

Scott Blachowicz  Ph: 206/283-8802x240   Mathsoft (Data Analysis Products Div)
                                         1700 Westlake Ave N #500
scott@statsci.com                        Seattle, WA USA   98109
Scott.Blachowicz@seaslug.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0vNRUb-0003xJC>