Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 13:55:39 -0700
From:      oremanj@get-linux.org
To:        Rus Foster <rghf@fsck.me.uk>
Cc:        questions@freebsd.org
Subject:   Re: Quick file allocation
Message-ID:  <20030724205539.GA14196@webserver>
In-Reply-To: <20030724130841.J68935@thor.65535.net>
References:  <20030724130841.J68935@thor.65535.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@jvds.com | Totally Customizable Technology
> e: rghf@jvds.com       | FreeBSD & Linux
>        10% donation to FreeBSD.org on each purchase
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030724205539.GA14196>