Article View: be.comp.os.unix
Article #23amd troubles
From: Bart Van Loon
Date: Wed, 19 Jul 2006 09:14
Date: Wed, 19 Jul 2006 09:14
68 lines
3127 bytes
3127 bytes
Heisann,
ik heb al een halve dag zitten vloeken op amd (automounterdeamon) onder
FreeBSD 6.0-RELEASE op een machine met hostname alex
ik heb voor die machine een externe USB harde schijf met 1 grote partitie
die ik gewoon locaal wil mounten at request.
na veel prullen ben ik tot het volgende gekomen
een paar extractjes:
/etc/fstab:
/dev/da0s1 /mnt/usb1 msdosfs rw,noauto 0 0
/etc/amd.conf:
[ /host ]
mount_type = autofs
map_name = /etc/amd.map
/etc/amd.map:
localhost/usb1 type:=program;fs:=/mnt/usb1;\
mount:="/sbin/mount mount /mnt/usb1";\
unmount:"/sbin/umount umount /mnt/usb1"
/var/log/amd (timestamps weggelaten)
[...]
alex amd[29422]/map: Trying mount of /etc/amd.map on /host fstype toplvl
alex amd[29423]/info: /host: disabling nfs congestion window
alex amd[29422]/info: initializing amd.conf map /etc/amd.map of type file
alex amd[29422]/info: first time load of map /etc/amd.map succeeded
alex amd[29422]/info: /etc/amd.map mounted fstype toplvl on /host
so far so good
maar nu:
$ cd /host/localhost/usb1
cd: /host/localhost/usb1: No such file or directory
en in /var/log/amd (timestamps weggelaten)
alex amd[29422]/map: matched default
selectors "type:=host;fs:=${autodir}/${rhost};rhost:=${key}"
alex amd[29422]/map: Trying mount of /etc/amd.map on /host/localhost
fstype auto
alex amd[29422]/info: /etc/amd.map mounted fstype auto on /host/localhost
alex amd[29422]/map: matched default
selectors "type:=host;fs:=${autodir}/${rhost};rhost:=${key}"
alex amd[29422]/user: key localhost/usb1: No value component
in "unmount:/sbin/umount umount /mnt/usb1"
alex amd[29422]/error: program: both mount and unmount must be specified
alex amd[29422]/map: Map entry
type:=program;fs:=/mnt/usb1;mount:="/sbin/mount
mount /mnt/usb1";unmount:"/sbin/umount umount /mnt/usb1"
for /host/localhost/usb1 did not match
en die laatste drie errors begrijp ik niet...
kan hier iemand helpen?
--
groetjes,
Bart Van Loon
"`Credit?' he said. `Aaaargggh...'
These two words are usually coupled together in the Old
Pink Dog Bar."
Technical Details
Message-ID:
<hp91p3-2d81.ln1@alex.inGen.paal>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!hwmnpeer01.lga!hwmnpeer01.ams!news.highwinds-media.com!feeder1.cambrium.nl!feed.tweaknews.nl!skynet.be!newspost001!tjb!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 109d4a,f1d8ae0a3f4500ef,start X-Google-Attributes: gid109d4a,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!hwmnpeer01.lga!hwmnpeer01.ams!news.highwinds-media.com!feeder1.cambrium.nl!feed.tweaknews.nl!skynet.be!newspost001!tjb!not-for-mail Message-ID: <hp91p3-2d81.ln1@alex.inGen.paal> From: Bart Van Loon <bart+usenet@inGen.be> Subject: amd troubles Newsgroups: be.comp.os.unix Date: Wed, 19 Jul 2006 11:14:55 +0200 Organization: inGen User-Agent: KNode/0.10.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Lines: 68 NNTP-Posting-Host: 9e2e9946.news.skynet.be X-Trace: 1153300503 news.skynet.be 32433 80.201.165.74:58653 X-Complaints-To: usenet-abuse@skynet.be