[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to visit U disk?



On Tue, 12 Aug 2008 08:53:18 +0800, EdwardKing <zhangsc_(_at_)_neusoft_(_dot_)_com> 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, ...
_______________________________________________
freebsd-questions_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe_(_at_)_freebsd_(_dot_)_org"