On Fri, Nov 12, 2010 at 12:05 PM, Vijay Kumar B.
<[email protected]> wrote:
>
> dd can also be used to achieve a similar effect.
>
> $ dd if=/dev/null of=file seek=10M bs=1
>

Yes it does. Thanks.

Can you explain this?


-rw-r--r--   1 girish  wheel   10485760 Nov 13 08:04 f
$ du -h f
32.0K   f


I suppose du cannot see the space taken by the file on disk.

-Girish

-- 
Gayatri Hitech

http://gayatri-hitech.com
[email protected]
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to