I plug USB and FressBSD shows: $umass0: <vendor 0x0c45 USB Mass Storage Device, class 0/0, rev 1.10/1.00, addr 2> on uhub0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <USB NAND FLASH DISK 0.20> Removable Direct Access SCSI-2 device da0:1.000MB/s transfers da0:125MB (256000 512 byte sectors: 64H 32S/T 125C) uhub2:<vendor 0x0e0f VMware Virtual USB Hub, class 9/0, rev 1.10/1.00, addr 3> 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:<USB NAND FLASH DISK 0.20> 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" <[EMAIL PROTECTED]> To: "EdwardKing" <[EMAIL PROTECTED]> Cc: "FreeBSD" <freebsd-questions@freebsd.org> 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 <[EMAIL PROTECTED]> 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. ----------------------------------------------------------------------------------------------- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"