From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9d0d3b47374856a75b0011ff6f8eb6bc@hamnavoe.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] disk/^(mbr format fdisk prep) From: Richard Miller In-Reply-To: <7d571d40f23ce2bcad1fe5f2c0bdce39@proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sat, 8 May 2004 10:58:56 +0100 Topicbox-Message-UUID: 74a28fba-eacd-11e9-9e20-41e7f4b1d025 The disk utilities do work with regular files (see the last few lines of /sys/src/libdisk/disk.c), but you probably need to preallocate one of the required size. Try dd -if /dev/zero ... -- Richard