Mailing List Archive

Support open source code!


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

tlug: Re: your mail



On Mon, 11 May 1998, Marcus Metzler wrote:

>  > > > filesystem?  I want it to automount my CD drive.. I added a line to
>  > > > amd.conf:
>  > > >
>  > > > cdrom   host==armadillo;type:=ufs;dev:=/dev/hdc;sublink:=cdrom
>  > > >
> As far as I remember, you have to write scripts like
> "amd.mountidecd" :
> #!/bin/sh
> mkdir $1
> mount -o ro -t iso9660 /dev/hdc $1
> 
> "amd.umountidecd" :
> #!/bin/sh
> /sbin/umount $1
> rmdir $1
> 
> 
> and then use the following in the amd file:
> 
> 
> idecd           host==wonder;opts:=utimeout=20;fs:=${autodir}/idecd;\
>                 type:=program;\
>                 mount:="/usr/local/etc/amd.mountidecd mountidecd ${fs}";\
>                 unmount:="/usr/local/etc/amd.umountcd umountcd ${fs}"

Thanks, this works great... what's the 'utimeout' for, is that how long it
has to be idle before umounting it?

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Linux Developer/Systems Administrator for Pacific HiTech, Inc. 
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


--------------------------------------------------------------
Next Nomikai: 15 May Fri, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next TLUG Meeting: 13 June Sat, Tokyo Station Yaesu gate 12:30
Featuring Stone and Turnbull on .rpm and .deb packages
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links