From owner-freebsd-questions@FreeBSD.ORG Sun Jul 11 00:37:26 2004 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 7970616A4CE for ; Sun, 11 Jul 2004 00:37:26 +0000 (GMT) Received: from serv01.divms.uiowa.edu (serv01.divms.uiowa.edu [128.255.44.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3683743D41 for ; Sun, 11 Jul 2004 00:37:26 +0000 (GMT) (envelope-from jason-dusek@uiowa.edu) Received: from [128.255.35.93] ([128.255.35.93]) by serv01.divms.uiowa.edu with id i6B0bLJo010040 for ; Sat, 10 Jul 2004 19:37:21 -0500 (CDT) Message-ID: <40F08C2A.2060004@uiowa.edu> Date: Sat, 10 Jul 2004 19:39:06 -0500 From: Jason Dusek User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040706 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <40F026E2.8000000@uiowa.edu> <20040710174109.GB7692@hardesty.saintaardvarkthecarpeted.com> <40F05FD7.3000404@uiowa.edu> <20040710220312.GD7692@hardesty.saintaardvarkthecarpeted.com> In-Reply-To: <20040710220312.GD7692@hardesty.saintaardvarkthecarpeted.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 () BAYES_00 X-Scanned-By: MIMEDefang 2.43 Subject: Can't Mount USB Flash Drive 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: Sun, 11 Jul 2004 00:37:26 -0000 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