Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2008 12:34:21 +0200
From:      Polytropon <freebsd@edvax.de>
To:        EdwardKing <zhangsc@neusoft.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: How to visit U disk?
Message-ID:  <20080813123421.9d297acb.freebsd@edvax.de>
In-Reply-To: <004901c8fc15$cfd98130$3f83a8c0@neusofteaf5839>
References:  <004901c8fc15$cfd98130$3f83a8c0@neusofteaf5839>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Aug 2008 08:53:18 +0800, EdwardKing <zhangsc@neusoft.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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080813123421.9d297acb.freebsd>