From owner-freebsd-questions@FreeBSD.ORG Mon Feb 21 10:41:48 2005 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 4717A16A4CE for ; Mon, 21 Feb 2005 10:41:48 +0000 (GMT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00E1643D58 for ; Mon, 21 Feb 2005 10:41:48 +0000 (GMT) (envelope-from vincent_bachelier@yahoo.fr) Received: from vincent (ferreol-1-82-66-171-150.fbx.proxad.net [82.66.171.150]) by postfix3-2.free.fr (Postfix) with SMTP id EDE9DC11D for ; Mon, 21 Feb 2005 11:41:46 +0100 (CET) Received: by vincent (sSMTP sendmail emulation); Mon, 21 Feb 2005 11:41:55 +0100 Date: Mon, 21 Feb 2005 11:41:55 +0100 From: Bachelier Vincent To: freebsd-questions@freebsd.org Message-ID: <20050221104154.GA28799@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE Subject: Mount in user mode && USBD for external HDD 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: Mon, 21 Feb 2005 10:41:48 -0000 Hi, well I have 2 problems the first: I have external hdd and I want that the system create a symlinks when I turn on my hdd usbdev -v give me: Controller /dev/usb4: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000),rev 1.00 port 1 powered port 2 powered port 3 addr 2: high speed, self powered, config 1, USB TO IDE(0x0702), GenesysLogic(0x05e3), rev 0.02 port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered Well I want to add a script in usbd.conf then I have add this before device "USB device" device "HddCombo" devname "da[0-9]+" vendor 0x05e3 product 0x0702 attach "ln -sf /dev/{DEVNAME} /dev/hddcombo" (perhaps {DEVNAME}s1 is better) but it doesn't work My version of freebsd: uname -a FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Feb 19 19:03:33 CET 2005 root@vincent:/usr/obj/usr/src/sys/VINCENT i386 Well, when I connect my hdd nothing append just this in dmesg umass0: Genesys Logic USB TO IDE, rev 2.00/0.02, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 156334MB (320173056 512 byte sectors: 255H 63S/T 19929C) Ok, the second problem is that I want to mount this disk with a user If hddcombo is correctly link, I have this fstab line /dev/hddcombo /mnt/removable ext2fs ro,noauto 0 0 Well, how can I do a mount command in users mode, in order to allow people I want to mount this, without login in in root ok thx for support -- Vincent Bachelier Societe : Solintech Site pro: http://www.solintech.fr Project : Ripperwww: http://www.sourceforge.net/projects/ripperwww Citation (fortune): Living in LA is like not having a date on Saturday night. -- Candice Bergen