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

Re: Disk usage question



guy keren <choo@actcom.co.il> writes:

> not holes. if it were holes, they the COPY would be larger then the
> original.

Why? It can be both ways, but more likely the copy would be smaller.
Whichever system has more holes would show larger size in du, 
caeteris paribus, and the original is more likely to have holes.

> the more likely explanation IS based on block sizes. linux allocates disk
> blocks of size 1024 bytes. thus, a file of size 5 bytes or 1000 bytes will
> both occupy 1024 bytes of disk space. on UFS, i think that normally the
> block size is 2048 bytes (at least this is the case with the file system i
> checked on now).

True.

-- 
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org 
"I'd rather write programs to write programs than write programs."

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il