sparse files from shell [Re: file size different from ls to du]

Kris Kennaway kris at obsecurity.org
Tue Jul 29 22:54:45 PDT 2003


On Wed, Jul 30, 2003 at 09:14:25AM +0400, Dmitry Morozovsky wrote:
> On Tue, 29 Jul 2003, Joshua Oreman wrote:
> 
> [snip]
> 
> JO> Usually programs will manage their own sparse files; it's something hard
> JO> to do at the shell.
> 
> dd is your friend.

See also truncate(1)

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030729/c1947687/attachment.bin


More information about the freebsd-hackers mailing list