Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 09:07:45 -0700 (PDT)
From:      Sheshka Alexey <pulsar@sky-zebra.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/65494: dd bs size _MUST_ be N*512 - bug or feature 
Message-ID:  <200404131607.i3DG7jtw078918@www.freebsd.org>
Resent-Message-ID: <200404131610.i3DGAK8A038389@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65494
>Category:       misc
>Synopsis:       dd bs size _MUST_ be N*512 - bug or feature
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 09:10:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sheshka Alexey
>Release:        5.2.1
>Organization:
>Environment:
FreeBSD service.extmedia.com 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #0: Mon Apr  5 04:54:55 EEST 2004     root@service.extmedia.com:/usr/obj/usr/src/sys/SERVICE  i386
>Description:
While I'm making 
root@service.extmedia.com [~] # dd if=/dev/ad0 of=/dev/null bs=1000 count=10
dd: /dev/ad0: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000544 secs (0 bytes/sec)
it produse error, but
root@service.extmedia.com [~] # dd if=/dev/ad0 of=/dev/null bs=4096 count=10
10+0 records in
10+0 records out
40960 bytes transferred in 0.013014 secs (3147361 bytes/sec)
all good.

On OpenBSD and Linux all woks fine with _ANY_ value of bs ... Is it bug or feature in FreeBSD ?
If it is feature , I think this information must presents on it.
>How-To-Repeat:
      dd if=/dev/ad0 of=/dev/null bs=1000 count=10
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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