From owner-freebsd-questions@FreeBSD.ORG Sun Feb 29 15:37:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C7C116A4CE for ; Sun, 29 Feb 2004 15:37:16 -0800 (PST) Received: from nine.futurequest.net (nine.futurequest.net [63.151.147.102]) by mx1.FreeBSD.org (Postfix) with SMTP id B58FE43D1F for ; Sun, 29 Feb 2004 15:37:15 -0800 (PST) (envelope-from sara@chainmailconnection.com) Received: (qmail 10020 invoked from network); 29 Feb 2004 23:37:14 -0000 Received: from x43.futurequest.net (63.151.147.43) by nine.futurequest.net (63.151.147.102); 29 Feb 2004 23:37:14 -0000 Received: from unknown (65.80.169.29) by x43.futurequest.net (63.151.147.43) with ESMTP; 29 Feb 2004 23:37:14 -0000 Message-Id: <6.0.1.1.2.20040229171913.026a87b8@mail.chainmailconnection.com> X-Sender: xchainmailconnection-sara@mail.chainmailconnection.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 29 Feb 2004 17:43:45 -0600 To: freebsd-questions@freebsd.org From: Sara Trice Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Automount pcmcia flash reader? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 23:37:16 -0000 Running freeBSD 4.9. I have a 4-in-1 pcmcia flash memory reader from CompUSA, and managed to get it to work with my laptop. I have been playing around with it and found this page: http://www.daemonnews.org/200202/automounting.html Automounting is new to me, so I tried following the steps; I got all the way through step 2, 'configuring mount', so I can now just type: mount /camera and it will mount the card. (Called it camera for my own personal reference.) So this is in my /etc/fstab: /dev/ad8s1 /camera msdos rw,noauto 0 0 Now, trying to get through step 3, configuring automount. I followed the instructions to add these to my rc.conf: portmap_enable=YES amd_enable=YES amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map" Created the /.amd_mnt directory, and added this to my amd.map: localhost/camera type:=program;fs:=/camera;\ mount:="/sbin/mount mount /camera";\ unmount:="/sbin/umount umount /camera" But according to the page, it seems it should work after this; it does, however, not. I have a symlink that I can't remove that is: /host/localhost/camera --> /camera But accessing either directory does not result in the card being automounted. I don't have an amd.conf. Should I, and if so, what should be in it? ~Sara~