Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2004 19:39:06 -0500
From:      Jason Dusek <jason-dusek@uiowa.edu>
To:        questions@freebsd.org
Subject:   Can't Mount USB Flash Drive
Message-ID:  <40F08C2A.2060004@uiowa.edu>
In-Reply-To: <20040710220312.GD7692@hardesty.saintaardvarkthecarpeted.com>
References:  <40F026E2.8000000@uiowa.edu> <20040710174109.GB7692@hardesty.saintaardvarkthecarpeted.com> <40F05FD7.3000404@uiowa.edu> <20040710220312.GD7692@hardesty.saintaardvarkthecarpeted.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I have a Dell D600, and I count mount flash devices on it. They show up in 
dmesg. Here I put the drive in the top one, pull it out and stick it in the 
bottom one, and then put it back in the top one:

   ugen0: SanDisk Corporation Cruzer Mini, rev 2.00/0.10, addr 2
   ugen0: at uhub0 port 1 (addr 2) disconnected
   ugen0: detached
   ugen0: SanDisk Corporation Cruzer Mini, rev 2.00/0.10, addr 2
   ugen0: at uhub0 port 1 (addr 2) disconnected
   ugen0: detached
   ugen0: SanDisk Corporation Cruzer Mini, rev 2.00/0.10, addr 2

Strangely, they show up as the same address on the same device. When I try to 
mount ugen0, I get a message that sayeth:

   Block device required.

What does this mean? What do I do?

- Jason

Saint Aardvark the Carpeted wrote:
> Jason Dusek disturbed my sleep to write:
> 
>>In that there must be something else wrong, because after trying a few 
>>permutations I was unable to get the drive on my D600 to work:
>>
>> 1 root # mount_cd9660 /dev/acd0 /cdrom
>> mount_cd9660: /dev/acd0: Input/output error
>>
>> 2 root # mount_cd9660 /dev/acd0c /cdrom
>> mount_cd9660: /dev/acd0c: No such file or directory
> 
> 
> Huh...you should have /dev/acd0c already.  Try going to /dev and
> running:
> 
> 	sh ./MAKEDEV acd
> 	sh ./MAKEDEV cd
> 
> and try it again.  If it *still* doesn't work, I would wonder if there's
> a problem with this particular disk.  Is it a rewritable?  Do you have
> a known-good CD that you can try, or another machine you can try the
> problematic disk on?
> 
> Remember, /dev/cd0c is to be used if this is a DVD you're trying to
> mount.  (That said, I'm going by memory here, and you *may* be able
> to get away with mounting a DVD using /dev/acd0c.)  
> 
> 
>>Do I need to create some directories for this to work?  How will my 
>>computer know what directories to attach the drive to?
> 
> 
> The mount command (or its variants like "mount_cd9660") usually takes 
> two arguments:  the device you want to mount, and where you want to
> mount it.  (I'm ignoring other, hyphenated arguments like "-o rw"
> and so on.)  So for:
> 
> 	mount_cd9660 /dev/acd0c /cdrom
> 
> you're saying that you want the device /dev/acd0c to be made available at
> the *already-existing* directory /cdrom. (So yes, the mount point -- the
> directory you want to mount the device at -- has to be present already.)
> 
> You can leave out one or the other argument (but not both) if there's
> an entry for the device in /etc/fstab.  For example, you might have this
> entry:
> 
> 	/dev/acd0c      /cdrom     cd9660  ro,noauto 0  0
> 
> which would mean you could get away with either 
> 
> 	mount /cdrom
> 
> or 
> 
> 	mount /dev/acd0c
> 
> HTH,
> Hugh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40F08C2A.2060004>