Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 2009 09:48:33 +0200
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        freebsd-current@freebsd.org, ggajic@afrodita.rcub.bg.ac.rs
Subject:   Re: 8.0RC1: Can't mount usb stick
Message-ID:  <20091004094833.2a28c12f@ernst.jennejohn.org>
In-Reply-To: <alpine.LRH.2.00.0910031858170.19407@afrodita.rcub.bg.ac.rs>
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
On Sat, 3 Oct 2009 19:01:35 +0200 (CEST)
Goran Gajic <ggajic@afrodita.rcub.bg.ac.rs> wrote:

> No this one is formated in XP style, so there is no /dev/da0s1. But 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
> 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.
> 

cat is the wrong thing to use for making/copying images.  Use dd instead with
e.g. conv=sync.

---
Gary Jennejohn



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