From owner-freebsd-questions Mon Apr 16 11:41:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.realtime.co.uk [194.205.134.131]) by hub.freebsd.org (Postfix) with ESMTP id 4E5F837B446 for ; Mon, 16 Apr 2001 11:41:47 -0700 (PDT) (envelope-from waynep@zaphod.realtime.co.uk) Received: from zaphod.realtime.co.uk ([194.205.134.208]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 14pDwX-0001NP-01 for freebsd-questions@freebsd.org; Mon, 16 Apr 2001 19:41:45 +0100 Received: from waynep by zaphod.realtime.co.uk with local (Exim 3.20 #1) id 14pDwj-000Esf-00 for freebsd-questions@freebsd.org; Mon, 16 Apr 2001 19:41:57 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: Mount questions (usb device and mounting as user) Reply-To: wayne.pascoe@realtime.co.uk Date: 16 Apr 2001 19:41:56 +0100 Message-ID: Lines: 69 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, I have 2 questions about mounting things. First one should be the simplest. What do I put in my fstab to allow users to mount devices like cdroms ? Under Linux I just had to add the user keyword to the options and it worked. Second one... How do I mount a Sony CyberShot DSCF505 camera under FreeBSD? I have the following in my kernel config: device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner # Scanners When I plug the device in and power it up, I get the following in /var/log/messages : Apr 16 19:31:55 ford /kernel: umass0: Sony DSC-F505, rev 1.00/1.06, addr 4 Apr 16 19:31:55 ford /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Apr 16 19:31:55 ford /kernel: da0: Removable Direct Access SCSI-0 device Apr 16 19:31:55 ford /kernel: da0: 150KB/s transfers Apr 16 19:31:55 ford /kernel: da0: 15MB (31744 512 byte sectors: 0H 0S/T 0C) When I tried to mount it, I got the following : Apr 16 19:33:26 ford /kernel: umass0: Unsupported RBC command 0x08 Apr 16 19:33:26 ford /kernel: da0: reading primary partition table: error reading fsbn 0 Apr 16 19:33:26 ford /kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status == 0x0 I was using mount -t msdos /dev/da0c /camera to try and mount it. Then when I powered the camera off and back on, I got the following message : Apr 16 19:34:56 ford /kernel: umass0: at uhub1 port 3 (addr 4) disconnected Apr 16 19:34:56 ford /kernel: umass0: detached Apr 16 19:35:26 ford /kernel: umass0: Sony DSC-F505, rev 1.00/1.06, addr 4 Apr 16 19:35:26 ford /kernel: cam_periph_alloc: attempt to re-allocate valid device da0 rejected Apr 16 19:35:26 ford /kernel: daasync: Unable to attach to new device due to status 0x6 Now when I try and mount it I get msdos: /dev/da0c: Device busy Is it possible to mount this camera as a filesystem under FreeBSD? TIA, -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 Mobile: +44 (0) 788 431 1675 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message