Re: 8.0RC1: Can't mount usb stick

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Sun, 04 Oct 2009 23:05:28 +0400
(reformatted, please don't top-post)

On Sat, 3 Oct 2009 19:01:35 +0200 (CEST) Goran Gajic wrote:
> On Fri, 2 Oct 2009, Boris Samorodov wrote:
> > On Fri, 2 Oct 2009 10:25:16 +0200 (CEST) Goran Gajic wrote:
> >
> >> da0 at umass-sim0 bus 0 target 0 lun 0
> >> da0: < USB FLASH DRIVE PMAP> Removable Direct Access SCSI-0 device
> >> da0: 40.000MB/s transfers
> >> da0: 1968MB (4030464 512 byte sectors: 255H 63S/T 250C)
> >
> >> # mount -t msdosfs /dev/da0 /mnt
> >> mount_msdosfs: /dev/da0: Invalid argument
> >
> > Take a look at /dev/da0*. MS DOS usually uses partition s1,
> > so your command should be:
> > -----
> > # mount -t msdosfs /dev/da0s1 /mnt
> > -----
> >
> No this one is formated in XP style, so there is no /dev/da0s1. But

Sorry, I'm unaware of this disk styles. Google seems to not be very
helpful. Can you post an URL?

> that is  not the only problem I have noticed. I wanted to take image
> of USB stick just in case I might need it, since I did newfs_msdos
> /dev/da0.. However

Hm, what was the actual command? I'm not sure if one can newfs a disk
but not slice. I would say that at least /dev/ad0a is needed.

> during cat /dev/da0 > usb.img read seems to hang.. Also, when I have tried
> to put some image (in FreeBSD 8.0RC1) on that same stick, when I did
> cat usb_old.img > /dev/da0 same happens - system hangs. When I have
> tried same thing under Linux it worked with no problems.

Don't know if cat should work but dd should. Can you try one?

-- 
WBR, bsam
Received on Sun Oct 04 2009 - 17:05:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC