🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: be.comp.os.unix
1 messages
1 total messages Started by Bart Van Loon Wed, 19 Jul 2006 09:14
amd troubles
#23
Author: Bart Van Loon
Date: Wed, 19 Jul 2006 09:14
68 lines
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."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads