Hello list, How do I mount a USB external drive? I know how to mount other devices but I don't know how to mount a USB device. I have an iPod that I have been using as an external backup drive for my PC and MAC. I was wondering how I would mount the iPod on my FreeBSD system so I can move my TLS certificates off of it on to my production mail server. I would be using USB 2.0 and it is the only USB device. I believe the iPod has two slices. One slice for the iPod OS and one slice for my data. I have a custom kernel with OHCI and UHCI USB controllers compiled in as well as the md, da, and sa drivers compiled in. If I missed anything in the compile I can recompile the kernel tonight. Thanks for any advice in advance. Joshua Lewis
log in as root on the console, and plug it in. if you are using 5.x with devfs, it will be immediately recognized and the system will print the correct device name (/dev/) out to the console. i haven't mounted one myself, but a friend of mine plugged his in to one of my boxes, to charge it, and the system immediately recognized it as a hard drive. it should mount just like any other device. oh yeah, and make sure usbd is enabled and running. (i don't know enough to say if compiling the drivers into the kernel will take care of this). -- les On Wed, 6 Apr 2005, Joshua Lewis wrote:> Hello list, > > How do I mount a USB external drive? I know how to mount other devices but > I don't know how to mount a USB device. > > I have an iPod that I have been using as an external backup drive for my > PC and MAC. I was wondering how I would mount the iPod on my FreeBSD > system so I can move my TLS certificates off of it on to my production > mail server. > > I would be using USB 2.0 and it is the only USB device. I believe the iPod > has two slices. One slice for the iPod OS and one slice for my data. I > have a custom kernel with OHCI and UHCI USB controllers compiled in as > well as the md, da, and sa drivers compiled in. If I missed anything in > the compile I can recompile the kernel tonight. > > Thanks for any advice in advance. > > Joshua Lewis > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >-- R. "les" Leslie Seismic Systems Technologist Pacific Northwest Seismograph Network University of Washington Earth and Space Sciences (206) 543-8276 les@ess.washington.edu www.pnsn.org
On Wed, 2005-04-06 at 19:52 -0700, Joshua Lewis wrote:> How do I mount a USB external drive? I know how to mount other devices but > I don't know how to mount a USB device.You need the umass driver either compiled in or loaded as a module; it glues the USB layer to the sd layer, and the drive will show up as an "sd" device. -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH
Brandon S. Allbery KF8NH wrote:>You need the umass driver either compiled in or loaded as a module; it >glues the USB layer to the sd layer, and the drive will show up as an >"sd" device. > > >/sev/sd* are on Linux. FreeBSD has /dev/da*
On Thu, 2005-04-07 at 09:48 +0400, Igor Robul wrote:> Brandon S. Allbery KF8NH wrote: > > >You need the umass driver either compiled in or loaded as a module; it > >glues the USB layer to the sd layer, and the drive will show up as an > >"sd" device. > > > /sev/sd* are on Linux. FreeBSD has /dev/da*sd as in the driver, not the device name... -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH
Joshua Lewis wrote:>Hello list, > >How do I mount a USB external drive? I know how to mount other devices but >I don't know how to mount a USB device. > >I have an iPod that I have been using as an external backup drive for my >PC and MAC. I was wondering how I would mount the iPod on my FreeBSD >system so I can move my TLS certificates off of it on to my production >mail server. > >I would be using USB 2.0 and it is the only USB device. I believe the iPod >has two slices. One slice for the iPod OS and one slice for my data. I >have a custom kernel with OHCI and UHCI USB controllers compiled in as >well as the md, da, and sa drivers compiled in. If I missed anything in >the compile I can recompile the kernel tonight. > >Thanks for any advice in advance. > >Joshua Lewis > >Hi Joshua, There are a few kernel devices required for USB drives. device umass # Disks/Mass storage - Requires scbus and da device pass # Passthrough device (direct SCSI access) device ehci # usb2 'hi=speed' support ** ehci is optional, otherwise you will get 12Mbps 'full speed' mode Rgds -- </jcr>
At 02:27 AM 07/04/2005, Brandon S. Allbery KF8NH wrote:>On Thu, 2005-04-07 at 09:48 +0400, Igor Robul wrote: > > Brandon S. Allbery KF8NH wrote: > > > > >You need the umass driver either compiled in or loaded as a module; it > > >glues the USB layer to the sd layer, and the drive will show up as an > > >"sd" device. > > > > > /sev/sd* are on Linux. FreeBSD has /dev/da* > >sd as in the driver, not the device name...The SCSI device and driver are da on FreeBSD. There is no sd driver on FreeBSD. ---Mike