From: Padraig Brady (padraig at domain antefacto.com)
Date: Fri 12 Oct 2001 - 17:23:06 IST
Paul Jakma wrote:
> dd bs=1024k count=150 seek=150 if=/dev/zero of=var_fs
> [paulj at domain doohan host1]$ ls -lh
> total 176M
> -rw-rw-r-- 1 paulj paulj 50M Oct 12 17:10 swap
> -rw-rw-r-- 1 paulj paulj 300M Oct 12 17:13 var_fs
>(the swap file was also dd'd - i wanted 25M). It also happens with
seek skips bytes on OUTPUT so you will get a 150MB hole at domain the
start of the file and then the 150MB of read zeros will be written.
Why are you seeking, are you sure you don't want to skip?
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:44 GMT