[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help: my /var/log/lastlog's as big as Canarsie!



On Wed, May 17, 2000 at 09:21:50PM +0000, Miquel van Smoorenburg wrote:
<snip>

> Yes. Try this:
> 
> % dd if=/dev/null of=bigfile bs=1k seek=1024
> 0+0 records in
> 0+0 records out
> % ls -l bigfile
> -rw-r--r--    1 miquels  staff     1048576 May 17 23:19 bigfile
> % du bigfile
> 0       bigfile
> 
> The file contains zero bytes, yet it looks like it's 1MB.
> Welcome to Unix ;)

/me boggles, i have not heard of this one before, this is wacky!
where can i find more info on this, and what uses/advantages it has?

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpYKkkFW7bfO.pgp
Description: PGP signature


Reply to: