8.0RC1: Can't mount usb stick

Gary Jennejohn gary.jennejohn at freenet.de
Sun Oct 4 07:48:36 UTC 2009


On Sat, 3 Oct 2009 19:01:35 +0200 (CEST)
Goran Gajic <ggajic at 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


More information about the freebsd-current mailing list