[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem on mounting CD...



On Fri, 11 Apr 1997, Felix Almeida wrote:
> The problem is that the users can mount the CD but cannot umount it! 
A few people already told you, the symbolic links were the problem.

A further suggestion: Why not use the automounter, This is probably what
you want, if users should be able to access the CD. Install amd and
put the following line in /etc/amd/amd.master

-r -c 20 -w 20 -a /amd /m /etc/amd/removable

and the following in /etc/amd/removable
----------- snip ---------------
cdrom   type:=program;\
        opts:=soft,utimeout=10;\
        fs:=/cdrom;\
        mount:="/bin/mount mount -t iso9660 -o ro /dev/scd0 /cdrom";\
        unmount:="/bin/umount umount /cdrom";
----------- snap ---------------

Somethings similar had already been posted a month ago.

Nils

-- 
     \              /                        | Nils Rennebarth
    --* WINDOWS 42 *--                       | Schillerstr. 61 
     /              \                        | 37083 Göttingen
                                             | ++49-551-71626
   Micro$oft's final answer                  | http://www.nus.de/~nils


Reply to: