Quick file allocation

oremanj at get-linux.org oremanj at get-linux.org
Thu Jul 24 13:55:16 PDT 2003


On Thu, Jul 24, 2003 at 01:11:14PM -0700 or thereabouts, Rus Foster wrote:
> Hi All,
> Just wondered on FreeBSD is there a way that I can quickly create a file.
> When I mean quick I basically mean that the system just says that ok this
> file is allocataed inodes foo-bar rather than having to use mkfile 1G
> filename. Something like XFS's holey file support

open file
seek 1G in
write one zero byte
close file

Presto... sparse (AKA "holey", not "holy" :-) file.

-- Josh

> 
> Rgds
> 
> Rus
> 
> 
> -- 
> www: http://jvds.com   | Virtual Servers from just $15/mo
> MSNM: support at jvds.com | Totally Customizable Technology
> e: rghf at jvds.com       | FreeBSD & Linux
>        10% donation to FreeBSD.org on each purchase
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list