Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2009 17:08:06 -0700
From:      Ji <lijimlee@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   got "invalid argument" error when using dd
Message-ID:  <8fd8f02c0909021708n73f2f454v22b6a14ed5c717a7@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,
I am using FreeBSD-7.2-release-amd64. I got an got "invalid argument" error
when using dd

dd if=s1.image of=/dev/ad4s1 bs=1m
dd: /dev/ad4s1: Invalid argument
12284+1 records in
12284+0 records out
12880707584 bytes transferred in 746.571300 secs (17253151 bytes/sec)

echo $?
1

(s1.image is the image file of /dev/ad4s1 generated by "dd if=/dev/ad4s1
of=s1.image bs=1m"  ahead. )
The error occurs at the moment that dd almost finishes.
I don't quite understand the error, Can anybody enlighten me? Thanks.

Ji



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