Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 17:07:12 -0400
From:      Ugen <ugen@xonix.com>
To:        Rus Foster <rghf@fsck.me.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Quick file allocation
Message-ID:  <3F204A80.1050801@xonix.com>
References:  <5.2.0.9.2.20030724155918.011b52d8@mail.servplex.com> <20030724135916.U68935@thor.65535.net>

next in thread | previous in thread | raw e-mail | index | archive | help

fd = open(name, O_WRONLY);
lseek(fd, size_in_bytes, SEEK_SET)
close(fd)
--Ugen

Rus Foster wrote:

>On Thu, 24 Jul 2003, Peter Elsner wrote:
>
>  
>
>>touch filename ???
>>
>>Peter
>>    
>>
>
>Hi,
>Not quite as I want to allocate space rather than just the file. Thanks
>anyway
>
>Rgds
>
>Rus
>
>  
>



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