From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 00:36:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 439541065679 for ; Thu, 3 Sep 2009 00:36:25 +0000 (UTC) (envelope-from lijimlee@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id EF5E38FC12 for ; Thu, 3 Sep 2009 00:36:24 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so537508and.13 for ; Wed, 02 Sep 2009 17:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/q4Lsg0rQylodPKHM7kLyDgsSMJSUyozDQjKBv+wteI=; b=UOLNAHHoCgOKYm22140F702Rh9mEGxexmIv4ZNpbXjfkkxHWnfS03glZRsS4zJzMFp tFmu6K4hw7idlZ5TMPpyR3Thr5q7mOafDayE6taqutLdzhZ86zQ6b2wqX3iA4hHqGnc+ 7XrC3x4/vOD7AIy/d+Gy/eNFCeawOxgnSyzAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qJ5Z2i7mGG/3wHluRL8aaVpTaQKsYKYN1FiQktl7UAEVMq0beRrrRG7fCIgul4d5ty MCPqLqQ4ucBULqF2YGMlcxBdXQCdfkdVzvvTnofOXTBwYVfgI2QZ2sclzvXw4r7GDIzp bIPS3I52k5KXJWep4/xUtF2/VtCTW6UIDjU78= MIME-Version: 1.0 Received: by 10.101.88.12 with SMTP id q12mr10038106anl.117.1251936486699; Wed, 02 Sep 2009 17:08:06 -0700 (PDT) Date: Wed, 2 Sep 2009 17:08:06 -0700 Message-ID: <8fd8f02c0909021708n73f2f454v22b6a14ed5c717a7@mail.gmail.com> From: Ji To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: got "invalid argument" error when using dd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 00:36:25 -0000 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