From owner-freebsd-questions@FreeBSD.ORG Fri Jan 6 09:46:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 67C6F16A41F for ; Fri, 6 Jan 2006 09:46:03 +0000 (GMT) (envelope-from vdemart1@tin.it) Received: from vsmtp2.tin.it (vsmtp2.tin.it [212.216.176.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0098943D45 for ; Fri, 6 Jan 2006 09:46:02 +0000 (GMT) (envelope-from vdemart1@tin.it) Received: from nbbsd.grtn (82.59.181.68) by vsmtp2.tin.it (7.2.060.1) (authenticated as vdemart1@tin.it) id 43B95E06001ED354 for freebsd-questions@freebsd.org; Fri, 6 Jan 2006 10:46:05 +0100 From: vittorio To: freebsd-questions@freebsd.org Date: Fri, 6 Jan 2006 10:45:58 +0000 User-Agent: KMail/1.8.3 References: <00fd01c6123e$eb4110a0$210110ac@fortunato> <20060105221957.GA1050@flame.pc> <001b01c61287$bf89c580$210110ac@fortunato> In-Reply-To: <001b01c61287$bf89c580$210110ac@fortunato> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601061045.58881.vdemart1@tin.it> Subject: Re: Flash Disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2006 09:46:03 -0000 With all my USB pens I invariably use: /sbin/mount_msdosfs /dev/da0s1 /mnt And it works. Vittorio Alle 06:09, venerd=EC 06 gennaio 2006, Teilhard Knight ha scritto: > > On 2006-01-05 15:28, Teilhard Knight wrote: > >> Can someone tell me, or point to me where I can find, how to > >> mount a Flash Disk in release 6.0? I have Googled, but I simply > >> cannot find the right way. An icon to mount and unmount on the > >> desktop would be nice. Thanks. > > > > When I plug my USB JetFlash disk, the following appears in > > /var/log/messages (and the system console, but I mostly use X11 > > these days): > > > > umass0: USB Flash Disk, rev 2.00/2.00, addr 2 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Removable Direct Access SCSI-2 device > > da0: 1.000MB/s transfers > > da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C) > > I get something similar too. The Device Node is created all right. > > > When you plug the USB flash disk in, /dev/da0 (or another daX > > device) is automatically created. If the flash disk already has > > partitions (they usually come with a single FAT partition), > > you'll also see da0s1 or something similar: > > > > # ls -l /dev/da* > > crw-r----- 1 root operator - 4, 44 Oct 16 17:38 /dev/da0 > > Yes, I also get something similar to this. > > > If you see only da0, it's possible that the 'raw disk' is > > formatted using FAT, without a real BIOS-style partition, which > > means that you should be able to 'mount' it with something like: > > > > # /sbin/mount_msdosfs /dev/da0 /mnt > > I do not only see da0 above and this command results in: "mount_msdosfs: > /dev/da0: Invalid argument" > > > That's it. Copy files to and from the /mnt directory. When you > > are done, make sure you unmount the flash disk before removing > > it. If you don't, chances are your kernel will panic when it > > discovers the physical flash disk is gone. > > > > # umount /mnt > > > > Now, it's safe to pull the flash disk out. > > You told me how to mount my flash disk in case the command "ls -l /dev/da= 0" > results incomplete or I have the disk raw formatted. But what should I do > if I get all similar to what you get? In other words, how do you mount yo= ur > flash disk? > > Thanks for your feedback. > > Teilhard. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"