From owner-freebsd-fs Tue Aug 4 11:35:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA02221 for freebsd-fs-outgoing; Tue, 4 Aug 1998 11:35:58 -0700 (PDT) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from wanadoo.fr (smtp-out-2.wanadoo.fr [193.252.19.69]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA02194 for ; Tue, 4 Aug 1998 11:35:47 -0700 (PDT) (envelope-from poipoi@famipow.com) From: poipoi@famipow.com Received: from aralia.wanadoo.fr [193.252.19.42] by wanadoo.fr for Paris Tue, 4 Aug 1998 20:35:18 +0200 (MET DST) Received: from qmailr@meaux10-169.abo.wanadoo.fr [164.138.6.169] by smtp.wanadoo.fr for Paris Tue, 4 Aug 1998 20:35:13 +0200 (MET DST) Received: (qmail 378 invoked by uid 501); 4 Aug 1998 17:57:05 -0000 Message-ID: <19980804175705.377.qmail@hwi.poi.org> Subject: file hole ? To: freebsd-fs@FreeBSD.ORG Date: Tue, 4 Aug 1998 19:57:05 +0200 (MET DST) Cc: linux-fsdevel@vger.rutgers.edu, poipoi@famipow.com (moi) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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