Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Oct 2009 23:05:28 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Goran Gajic <ggajic@afrodita.rcub.bg.ac.rs>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 8.0RC1: Can't mount usb stick
Message-ID:  <12071447@h30.sp.ipt.ru>
In-Reply-To: <alpine.LRH.2.00.0910031858170.19407@afrodita.rcub.bg.ac.rs> (Goran Gajic's message of "Sat, 3 Oct 2009 19:01:35 %2B0200 (CEST)")
References:  <alpine.LRH.2.00.0910021023190.19560@afrodita.rcub.bg.ac.rs> <54980020@bb.ipt.ru> <alpine.LRH.2.00.0910031858170.19407@afrodita.rcub.bg.ac.rs>

next in thread | previous in thread | raw e-mail | index | archive | help
(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



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