Mailing List Archive

Support open source code!


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

No Subject



To: tlug@example.com
Subject: Re: tlug: amd
In-Reply-To: <Pine.LNX.3.96LJ1.1b7.980511140608.25857g-100000@example.com>
References: <35568382.F9B18BC0@example.com>
	<Pine.LNX.3.96LJ1.1b7.980511140608.25857g-100000@example.com>
Comments: Hyperbole mail buttons accepted, v3.18.1.

Scott Stone writes:
 > On Mon, 11 May 1998, Martos-Riano wrote:
 > 
 > > Scott Stone wrote:
 > > 
 > > > amd question - how the heck do I get it to automatically mount a local
 > > > 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}"

That is what I still had left here on my machine in the amd setup dir.
I don`t remember when I used it and how well it worked.
I only know that we use a similar script at home in Germany to mount
and unmount the various CDs of a CD changer. There we also had to write
mount and unmount scripts. We are (or better my brother is) still using that,
but I can`t look at the scripts for obvious reasons. So if the above doesn`t
work, I `ll ask my brother to send me the scripts.

Marcus

-- 
----------------------------------------------------------------------------
Dr. Marcus Metzler
Department of Physics    | $B")(B $B#2#7#4!<#8#5#1#0(B
Toho University          | $B@example.com)A%66;T;0;3#2!<#2!<#1(B
Miyama 2-2-1, Funabashi, | $BElK.Bg3X(B  $BM}3XIt(B  $BJ*M}(B
Chiba 274-8510           | 
Japan			 |
e-mail : mocm@example.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