Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

help? how to mount a usb driver in freebsd?

 
   FreeBSD Hosting (Home) -> FreeBSD Commands RSS
Next:  (IVÁN): LA GRACIA PERPETUA  
Author Message
zelzel.zsu

External


Since: May 20, 2005
Posts: 4



(Msg. 1) Posted: Fri May 20, 2005 3:10 am
Post subject: help? how to mount a usb driver in freebsd?
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

Hi,
All.
I've use linux for 2 years.
I am newbie to freebsd.

In linux:
I use this command to mount a usb driver:
# mount /dev/sda1 /mnt/usbdisk

Can anyone help me to translate it to a freebsd command ?
Thanks a lot.

 >> Stay informed about: help? how to mount a usb driver in freebsd? 
Back to top
Login to vote
zelzel.zsu

External


Since: May 20, 2005
Posts: 4



(Msg. 2) Posted: Fri May 20, 2005 3:23 am
Post subject: Re: help? how to mount a usb driver in freebsd? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I made a mistake.
I misused the word (driver).

All I want to ask is :
how can one mount a usb "disk" in freebsd.

hope to receive an answer soon.
thanks.

 >> Stay informed about: help? how to mount a usb driver in freebsd? 
Back to top
Login to vote
Steve O'Hara-Smith

External


Since: Sep 10, 2003
Posts: 42



(Msg. 3) Posted: Fri May 20, 2005 11:33 am
Post subject: Re: help? how to mount a usb driver in freebsd? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 20 May 2005 03:10:32 -0700
" " wrote:

> Hi,
> All.
> I've use linux for 2 years.
> I am newbie to freebsd.
>
> In linux:
> I use this command to mount a usb driver:
> # mount /dev/sda1 /mnt/usbdisk

It's pretty much the same in FreeBSD except that the device
will be /dev/da1c (or /dev/da1 in recent 5.x). You may need to specify
the file system type with -t (otherwise UFS will be assumed) eg:

mount -t msdos /dev/da1c /mnt/usbdisk

See man umass for more gory details.
 >> Stay informed about: help? how to mount a usb driver in freebsd? 
Back to top
Login to vote
Keve Nagy

External


Since: Jul 28, 2004
Posts: 5



(Msg. 4) Posted: Fri May 20, 2005 12:34 pm
Post subject: Re: help? how to mount a usb driver in freebsd? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> It's pretty much the same in FreeBSD except that the device
> will be /dev/da1c (or /dev/da1 in recent 5.x). You may need to specify
> the file system type with -t (otherwise UFS will be assumed) eg:
>
> mount -t msdos /dev/da1c /mnt/usbdisk

Or try this one:
(which is how I use my CF card in my 4-in-1 USB cardreader)

mount_msdosfs -o longnames -u MYUSERNAME -g MYGROUP -m 644 -M 755
/dev/da1s1 /mnt
(all in one line, of course)

Keve

--
If you need to reply directly:
keve(at)mail(dot)poliod(dot)hu
 >> Stay informed about: help? how to mount a usb driver in freebsd? 
Back to top
Login to vote
Eric Masson

External


Since: Oct 21, 2003
Posts: 9



(Msg. 5) Posted: Fri May 20, 2005 12:40 pm
Post subject: Re: help? how to mount a usb driver in freebsd? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

" " writes:

> All I want to ask is :
> how can one mount a usb "disk" in freebsd.

Covered in the Handbook, available at :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
Look at section 16.3 and follow links and advices.

Google has a load of links regarding question :
http://www.google.com/search?num=20&hl=en&lr=&safe=off&c2coff=1&q=free...+usb+di

Éric Masson

--
Subject: Re: procmail
NK> comment créer un filtre (...)
Menu -> Edition -> Filtres de courrier -> Nouveau.
-+- G in: GNU - WISIWYSS (What I See Is What You Should See) -+-
 >> Stay informed about: help? how to mount a usb driver in freebsd? 
Back to top
Login to vote
Charles N. Johnson

External


Since: May 20, 2005
Posts: 1



(Msg. 6) Posted: Fri May 20, 2005 7:59 pm
Post subject: Re: help? how to mount a usb driver in freebsd? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Keve Nagy wrote:
>> It's pretty much the same in FreeBSD except that the device
>> will be /dev/da1c (or /dev/da1 in recent 5.x). You may need to specify
>> the file system type with -t (otherwise UFS will be assumed) eg:
>>
>> mount -t msdos /dev/da1c /mnt/usbdisk
>
>
> Or try this one:
> (which is how I use my CF card in my 4-in-1 USB cardreader)
>
> mount_msdosfs -o longnames -u MYUSERNAME -g MYGROUP -m 644 -M 755
> /dev/da1s1 /mnt
> (all in one line, of course)
>
> Keve
>
How does the system decide to designate the first "usb drive" in the
system? When I plug in mu usb widget, I get a device DA0, and I use this
entry in my fstab file:

/dev/da0s1 /pen msdosfs rw,noauto 0 0

If I were to plug in a second widget, would it become DA1?

Cheers--
Charles

--
FreeBSD | "Life is not measured by the breaths we take but by the
5.3-RELEASE | moments that take our breath away."
i386 |
 >> Stay informed about: help? how to mount a usb driver in freebsd? 
Back to top
Login to vote
Matthew Poole

External


Since: May 21, 2005
Posts: 2



(Msg. 7) Posted: Sat May 21, 2005 2:56 pm
Post subject: Re: help? how to mount a usb driver in freebsd? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 20 May 2005 19:59:10 -0500, someone purporting to be Charles N.
Johnson doth scrawl:

> Keve Nagy wrote:
*SNIP*
> How does the system decide to designate the first "usb drive" in the
> system? When I plug in mu usb widget, I get a device DA0, and I use this
> entry in my fstab file:
>
> /dev/da0s1 /pen msdosfs rw,noauto 0 0
>
> If I were to plug in a second widget, would it become DA1?
>
It's sequentially-ordered, and yes the next would be da1.
In the case of a USB card reader, the various slots are given bus IDs and
get the next four device numbers in ID order.

--
Matthew Poole
"Don't use force. Get a bigger hammer."
 >> Stay informed about: help? how to mount a usb driver in freebsd? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Want complete list of freebsd commands in freebsd 5.2 - Hi Anyone have the complete list of freebsd 5.2 commands. I need it so please send to me on my mail address asgharali@ucp.edu.pk thanx ------------------------------------- Asghar Ali Assistant System Manager (UCP ISP) Email: asgharali@ucp.edu.pk PH:..

FreeBSD Commands - I have the FreeBSD Handbook on a computer hard drive. There isn't any mention of the line commands that FreeBSD uses or recognizes in the handbook. Where do I find these? I just received instructions to find and copy my X-configure file to a differen...

pxeboot without FreeBSD server - Hi, I am looking for a way to setup FreeBSD 5.2.1 on a machine with a pxe enabled LAN card but without neither CDROM nor floppy drive . My problem is that in every "Jumpstart" or "Pxe Boot" guides that I have found on the internet, ...

FreeBSD newbye simple question - Experienced linux debian user, recently I smoothly moved to linux gentoo (BSD compliant) AND to FreeBSD 5.2.1. 1) I want to tailor my freeBSD slice according to my machine (gentoo experience is helpful!). Now, while i I know how to compile an ..

issue newsyslog cmd from perl scrip - I run 2 abuse IP perl script that I got from dshield.com that read my ipfilter log and create an email containing list of abusive source ip address. Them last week I got hit by an Dos attack that filled up my ipfilter logs. The logs were rotated by..
   FreeBSD Hosting (Home) -> FreeBSD Commands All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]