From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Nov 13 19:20:02 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id gADAK2512241;
	Wed, 13 Nov 2002 19:20:02 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from athena.ginganet.org (postfix@tk0008-202x210x243x26.ap-TK.usen.ad.jp [202.210.243.26])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id gADAK2m12234
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 13 Nov 2002 19:20:02 +0900 (JST)
	(envelope-from ginga@ginganet.org)
Received: by athena.ginganet.org (Postfix, from userid 5003)
	id 3BA093E19; Wed, 13 Nov 2002 19:20:02 +0900 (JST)
From: Kawaguti Ginga <ginga-freebsd@ginganet.org>
To: FreeBSD-users-jp@jp.FreeBSD.org
Message-ID: <20021113102002.GC86988%ginga-freebsd@ginganet.org>
References: <20021113075143.GA86988%ginga-freebsd@ginganet.org> <808yzx4wwl.fsf@kurishna.tri.asanuma.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Disposition: inline
In-Reply-To: <808yzx4wwl.fsf@kurishna.tri.asanuma.co.jp>
User-Agent: Mutt/1.5.1i-ja.1
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 13 Nov 2002 19:20:02 +0900
X-Sequence: FreeBSD-users-jp 72030
Subject: [FreeBSD-users-jp 72030] Re: writing image to floppy-device
Errors-To: owner-FreeBSD-users-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: ginga-freebsd@ginganet.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+021111

$B@n8}$G$9(B

In Wed, Nov 13, 2002 at 06:54:50PM +0900,
Mori Kouji <mori@tri.asanuma.co.jp> wrote:
> $B3N$+$K$=$&$J$C$F$^$9$M!#(B
> $BCfESH>C<$J$N$,$"$+$s$N$J$iB-$;$P$$$$$@$m$&(B($B0BD>(B)$B$H(B

$B<B:]$d$C$F$^$7$?!$$,!$(B

>   # ls -l hoge
>   -rwxr-xr-x  1 hoge  user  4792 Nov 13 15:32 hoge
>   # cat hoge /dev/zero | dd of=/dev/rfd0

$B$*$)!$$3$s$JC!$-J}$,$"$C$?$N$G$9$M!%(B(head -c $B$P$C$+$j;H$C$F$^$7$?(B)

>   # dd of=/dev/rfd0 if=hoge conv=osync
>   9+1 records in
>   10+0 records out
>   5120 bytes transferred in 1.352290 secs (3786 bytes/sec)
> 
> $B$H(B osync $B$r;XDj$7$F%V%m%C%/$rK~$?$7$F$d$l$P$$$$$_$?$$$G$9!#(B

$B$*$)$)!$$^$5$K$3$l$G$9$M!%$"$j$,$H$&$4$6$$$^$9!%(B

    osync    Pad the final output block to the full output block
             size.  If the input file is not a multiple of the out-
             put block size after conversion, this conversion forces
             the final output block to be the same size as preceding
             blocks for use on devices that require regularly sized
             blocks to be written.  This option is incompatible with
             use of the bs=n block size specification.

# $B:G=i!$8e$m$K(B null $B$r(B padding $B$9$k%*%W%7%g%s$+$H4*0c$$$7$?$N$OHkL)$G$9!%(B
-- 
       $B"J"J(B
Zzz.. (- - )$B"^"^"=!A(B           $B@n8}(B $B6d2O(B
      ##############   ginga-freebsd@ginganet.org
