Date: 16 Apr 2001 19:41:56 +0100 From: Wayne Pascoe <wayne.pascoe@realtime.co.uk> To: freebsd-questions@freebsd.org Subject: Mount questions (usb device and mounting as user) Message-ID: <m1vgo48z63.fsf@zaphod.realtime.co.uk>
next in thread | raw e-mail | index | archive | help
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: <Sony DSC - F505 1.06> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m1vgo48z63.fsf>