Date: Thu, 13 Mar 1997 14:05:18 +0900 (JST) From: Naoki Hamada <nao@sbl.cl.nec.co.jp> To: hackers@FreeBSD.ORG Subject: [2.2-GAMMA] partial write to raw mode disk Message-ID: <199703130505.OAA26681@sirius.sbl.cl.nec.co.jp>
next in thread | raw e-mail | index | archive | help
Writing an incomplete data to a raw mode disk device seems to fail. Is this an intended behavior? On the other hand, writing the same data to the corresponding block device always succeeds. % dd if=/dev/zero of=a bs=1 count=513 513+0 records in 513+0 records out 513 bytes transferred in 0.044414 secs (11550 bytes/sec) % dd if=a of=/dev/fd0 1+1 records in 1+1 records out 513 bytes transferred in 1.183101 secs (434 bytes/sec) % dd if=a of=/dev/rfd0 dd: /dev/rfd0: Invalid argument 1+1 records in 1+0 records out 512 bytes transferred in 1.279461 secs (400 bytes/sec) % dd if=/dev/zero of=b bs=1 count=512 512+0 records in 512+0 records out 512 bytes transferred in 0.045171 secs (11335 bytes/sec) % dd if=b of=/dev/rfd0 1+0 records in 1+0 records out 512 bytes transferred in 1.140878 secs (449 bytes/sec) - nao
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703130505.OAA26681>