Re: How to mount usb flash disk on FreeBSD 7.0

2007-11-08 Thread Tsetsbold
Hi

On Nov 8, 2007 9:51 PM, Oliver Herold [EMAIL PROTECTED] wrote:

 Hi

 if this is a card reader then it will be most of the time something like

 mount_msdosfs /dev/da0s1 /mnt/usb


Now it works well. Thanks for your advice.




 Just have a look into /dev


 Cheers Oliver

 On Thu, Nov 08, 2007 at 09:13:15PM +0800, Tsetsbold wrote:
  Hi all,
 
  I am newbie to UNIX and using FreeBSD 7.0 current ,and I cannot mount my
  USB flash disk. I searched on google but couldn't find anything helpful.
 
  I did this steps.
 
  #mkdir /mnt/usb
  #mount /dev/da0 /mnt/usb
  mount: /dev/da0 : Invalid argument
 
  # mount -t vfat /dev/da0 /mnt/usb
  mount: /dev/da0 : Operation not supported by device
 
  #dmesg
  umass0: USB2.0 Flash Disk, class 0/0, rev 2.00/1.00, addr 2 on uhub6
  da0 at umass-sim0 bus 0 target 0 lun 0
  da0: USB2.0 Flash Disk 5.00 Removable Direct Access SCSI-2 device
  da0: 40.000MB/s transfers
  da0: 2028MB (1038592 2048 byte sectors: 255H 63S/T 64C)
  (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
  (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
  (da0:umass-sim0:0:0:0): Medium not present
  (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
 
  Now I really don't know what to do? Can anybody advice me what to do?
 
  Thanks,
  Tsetsbold
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 --
 The sun was shining on the sea,
 Shining with all his might:
 He did his very best to make
 The billows smooth and bright --
 And this was very odd, because it was
 The middle of the night.
-- Lewis Carroll, Through the Looking Glass
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


Tsetsbold
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount usb flash disk on FreeBSD 7.0

2007-11-08 Thread Oliver Herold
Hi

if this is a card reader then it will be most of the time something like

mount_msdosfs /dev/da0s1 /mnt/usb

Just have a look into /dev


Cheers Oliver

On Thu, Nov 08, 2007 at 09:13:15PM +0800, Tsetsbold wrote:
 Hi all,
 
 I am newbie to UNIX and using FreeBSD 7.0 current ,and I cannot mount my 
 USB flash disk. I searched on google but couldn't find anything helpful.
 
 I did this steps.
 
 #mkdir /mnt/usb
 #mount /dev/da0 /mnt/usb
 mount: /dev/da0 : Invalid argument
 
 # mount -t vfat /dev/da0 /mnt/usb
 mount: /dev/da0 : Operation not supported by device
 
 #dmesg
 umass0: USB2.0 Flash Disk, class 0/0, rev 2.00/1.00, addr 2 on uhub6
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: USB2.0 Flash Disk 5.00 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: 2028MB (1038592 2048 byte sectors: 255H 63S/T 64C)
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
 (da0:umass-sim0:0:0:0): Medium not present
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
 
 Now I really don't know what to do? Can anybody advice me what to do?
 
 Thanks,
 Tsetsbold
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

-- 
The sun was shining on the sea,
Shining with all his might:
He did his very best to make
The billows smooth and bright --
And this was very odd, because it was
The middle of the night.
-- Lewis Carroll, Through the Looking Glass
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount usb flash disk on FreeBSD 7.0

2007-11-08 Thread Paul Schmehl
--On Thursday, November 08, 2007 23:02:06 +0800 Tsetsbold 
[EMAIL PROTECTED] wrote:



Hi

On Nov 8, 2007 9:51 PM, Oliver Herold [EMAIL PROTECTED] wrote:


Hi

if this is a card reader then it will be most of the time something like

mount_msdosfs /dev/da0s1 /mnt/usb



Now it works well. Thanks for your advice.


Don't forget to use umount /mnt/usb when you're done with the device and 
you want to remove it.  If you remove it first, you'll have problems.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]