From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Nov 13 18:41:01 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id gAD9f1f08744;
	Wed, 13 Nov 2002 18:41:01 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from biwasv01.biwa.ne.jp (biwasv01.biwa.ne.jp [210.161.160.11])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id gAD9f0m08739
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 13 Nov 2002 18:41:00 +0900 (JST)
	(envelope-from fuhito@mx.biwa.ne.jp)
Received: from mx.biwa.ne.jp (ng249-166.biwa.ne.jp [61.201.249.166])
	by biwasv01.biwa.ne.jp (8.9.3/3.7W) with ESMTP id SAA03491
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 13 Nov 2002 18:40:58 +0900 (JST)
Message-ID: <3DD21EEE.8050805@mx.biwa.ne.jp>
From: Fuhito Inagawa <fuhito@mx.biwa.ne.jp>
User-Agent: Mozilla/5.0 (X11; U; Lites i386; ja-JP; rv:1.0.0) Gecko/20020530
X-Accept-Language: ja, en-us, en
MIME-Version: 1.0
To: FreeBSD-users-jp@jp.FreeBSD.org
References: <20021113075143.GA86988%ginga-freebsd@ginganet.org>
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 13 Nov 2002 18:44:14 +0900
X-Sequence: FreeBSD-users-jp 72026
Subject: [FreeBSD-users-jp 72026] 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: fuhito@mx.biwa.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+021111

$B0p@n$G$9!#(B

Kawaguti Ginga wrote:
> $B@n8}$G$9(B
> 
> floppy(/dev/rfd0c) $B$K5/F0%$%a!<%8$r=q$-9~$`$N$K$O(B
> $B$I$&$9$l$P$h$$$N$G$7$g$&$+(B?
> 
> % cat memtest86-3.0/precomp.bin > /dev/rfd0c
> cat: stdout: Invalid argument
> % dd if=memtest86-3.0/precomp.bin of=/dev/rfd0c
> dd: /dev/rfd0c: Invalid argument
> 164+1 records in
> 164+0 records out
> 83968 bytes transferred in 3.828393 secs (21933 bytes/sec)
> 
> dd $B$G(B bs=1 $B$G$b$d$C$Q$j(B Invalid argument $B$H8@$o$l$^$9!%(B

FreeBSD 4.x $B$G!"(Bblock device $B$,L5$/$J$C$?;v$H(B
$B4X78$,$"$k$h$&$G$9!#(B3.x $B0JA0$G$b!"(B/dev/rfd* $B$K(B
dd $B$G=q$-9~$b$&$H$9$k$HF1$8%(%i!<$K$J$C$F$$$^$7$?!#(B

> $B$G!$>e5-$N5/F0%$%a!<%8$r(B floppy $B$K=q$-9~$`$K$O(B
> $B$I$&$9$l$P$h$$$N$G$7$g$&$+(B?

$B<j85$G;n$7$F$$$J$$$N$G!"$&$^$/$$$/$+H=$j$^$;$s$,!"(B
dd if=INPUT_FILE of=/dev/rfd0c bs=512
$B$^$?$O!"(B
cp INPUT_FILE /dev/rfd0c
$B$G$O$I$&$G$7$g$&$+!)(B

-- 
$B0p@n(B $B;K(B($B$U$R$H(B)  http://www.biwa.ne.jp/~fuhito/
     ~fuhito/rtmach/lites.html#SysVShm ($B6&M-%a%b%j%5%]!<%H(B)
     ~fuhito/rtmach/pthreads.html (Lites/ELF $B$G(B pthread)

