From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 00:40:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C260106567F for ; Thu, 14 Aug 2008 00:40:38 +0000 (UTC) (envelope-from zhangsc@neusoft.com) Received: from mailgate.neusoft.com (mailgate.neusoft.com [210.83.25.69]) by mx1.freebsd.org (Postfix) with ESMTP id 540728FC12 for ; Thu, 14 Aug 2008 00:40:36 +0000 (UTC) (envelope-from zhangsc@neusoft.com) Received: from smtp.neusoft.com ([202.107.117.28]) by mailgate.neusoft.com (8.13.1/8.13.1) with ESMTP id m7E0dvPu028117; Thu, 14 Aug 2008 08:39:58 +0800 Received: from neusofteaf5839 ([192.168.131.63]) by smtp.neusoft.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPPSA id <0K5K003JXF6M1B@smtp.neusoft.com>; Thu, 14 Aug 2008 08:39:58 +0800 (CST) Date: Thu, 14 Aug 2008 08:39:43 +0800 From: EdwardKing To: Polytropon Message-id: <001601c8fda6$401007d0$3f83a8c0@neusofteaf5839> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Mailer: Microsoft Outlook Express 6.00.2900.3138 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <004901c8fc15$cfd98130$3f83a8c0@neusofteaf5839> <20080813123421.9d297acb.freebsd@edvax.de> X-Neusoft-MailScanner-Information: Please contact the ISP for more information X-Neusoft-MailScanner: Found to be clean Cc: FreeBSD Subject: Re: How to visit U 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: Thu, 14 Aug 2008 00:40:38 -0000 I plug USB and FressBSD shows: $umass0: on uhub0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0:1.000MB/s transfers da0:125MB (256000 512 byte sectors: 64H 32S/T 125C) uhub2: on uhub0 uhub2: 7 ports with 7 removable, self powered Then I use dmesg: $dmesg | grep ^da da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0:1.000MB/s transfers da0:125MB (256000 512 byte sectors: 64H 32S/T 125C) $mount -t msdosfs dev/da0s1c /mnt mount_msdosfs: /dev/da0s1c: Operation not permitted $mount -t msdosfs dev/da0 /mnt mount_msdosfs: /dev/da0: Operation not permitted Where wrong of visiting USB? Thanks ----- Original Message ----- From: "Polytropon" To: "EdwardKing" Cc: "FreeBSD" Sent: Wednesday, August 13, 2008 6:34 PM Subject: Re: How to visit U disk? > On Tue, 12 Aug 2008 08:53:18 +0800, EdwardKing wrote: >> I want to use U disk which format is FAT32,I don't know how to visit U disk,my dev directory is follows: >> #cd /dev >> #ls >> ... >> usb >> usb0 >> usb1 >> ... >> >> How to do it? >> Thanks in advance > > I just try to guess what you're trying to do: Acces an USB hard > disk? Look out for /dev/da* device files that occur when connecting > the disk, or: > > # dmesg | grep ^da > > The da* files - direct access - are the special files to access > USB drives. > > Then you can mount them as you like (FAT32 -> msdosfs): > > # mount -t msdosfs /dev/da0s1c /mnt > > or something similar. mount_msdosfs allows some options to get > the file attributes correct, read "man mount_msdosfs" to learn > more about it. > > > Hope that was the question. :-) > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. -----------------------------------------------------------------------------------------------