automounter (amd) problems / msdosfs (pcfs)

From: Peter Wullinger <dhke_at_gmx.net>
Date: Wed, 11 Feb 2004 10:31:29 +0100
Hello,

I have just upgraded my system and have
encountered problems getting the automounter
to run properly. I have not found anything,
that would suggest, that this is a known problem:

---- /etc/amd/misc.map ----
cd1		type:=cdfs;dev:=/dev/cd1c;fs:=${autodir}/cd1;opts:=ro,nosuid,nodev;
cd0		type:=cdfs;dev:=/dev/cd0c;fs:=${autodir}/cd0;opts:=ro,nosuid,nodev;
win1	type:=pcfs;dev:=/dev/ad1s5;fs:=${autodir}/win1;opts:=rw,noexec,nosuid,nodev,sync,-m666,-unobody,-gnobody;
win2	type:=pcfs;dev:=/dev/ad1s6;fs:=${autodir}/win2;opts:=rw,noexec,nosuid,nodev,sync,-m666,-unobody,-gnobody;
---- /etc/amd/misc.map ----

% cd /misc/cd0
=> works

% cd /misc/win2
cd: bad address: /misc/win2

% mount -t msdos /dev/ad1s5 /mnt
% cd /mnt
=> works

different version of am-utils (am-utils version 6.1b4 (build 1)):
% cd /misc/cd0
=> works

% cd /misc/win2
cd: bad address: /misc/win2

new mount map entries:
win1	type:=pcfs;dev:=/dev/ad1s5;fs:=${autodir}/win1;
win2	type:=pcfs;dev:=/dev/ad1s6;fs:=${autodir}/win2;

% kill `amd -p | head -1`
% amd -F /etc/amd/amd.conf
cd: bad address: /misc/win2

And ideas, before I am going to try to debug this myself?

Cheers,
	Peter


---- /etc/amd/amd.conf ----
[global]

dismount_interval = 10
cache_duration = 30

log_file = syslog

browsable_dirs = yes

auto_dir = /.amd_mnt
search_path = /etc/amd

[/misc]
map_type = file
map_name = misc.map
---- /etc/amd/amd.conf ----

--------- %amd -v ---------
Copyright (c) 1997-2003 Erez Zadok
Copyright (c) 1990 Jan-Simon Pendry
Copyright (c) 1990 Imperial College of Science, Technology & Medicine
Copyright (c) 1990 The Regents of the University of California.
am-utils version 6.0-20030828 (build 502000).
Built by root_at_peter on date Wed Feb 11 09:02:15 CET 2004.
cpu=i386 (little-endian), arch=i386, karch=i386.
full_os=freebsd5.2, os=freebsd5, osver=5.2, vendor=unknown.
Map support for: root, passwd, hesiod, union, nis, ndbm, file, error.
AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, inherit, ufs, 
      cdfs, pcfs, auto, direct, toplvl, error.
FS: cd9660, nfs, nfs3, msdosfs, ufs, unionfs.
Network: wire="192.168.23.0" (netnumber=192.168.23).
--------- %amd -v ---------
Received on Wed Feb 11 2004 - 00:31:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC