Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 1998 19:57:05 +0200 (MET DST)
From:      poipoi@famipow.com
To:        freebsd-fs@FreeBSD.ORG
Cc:        linux-fsdevel@vger.rutgers.edu, poipoi@famipow.com (moi)
Subject:   file hole ?
Message-ID:  <19980804175705.377.qmail@hwi.poi.org>

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

	i want to know how to handle file hole. 
for example, i have a 8k file. i do a seek at 20000 and write a byte. 

Does the fs alloc every block to store 20001 bytes ?
yes ? but its a space wasting...
no ? but when the user will fill the hole (writing from 8192 to 20000),
my fs will perhaps be full and i have to reject the write operation...

what is the standard (good?) behaviour ? and why (if possible) ?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message



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