*BSD News Article 11280


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1495 ; Tue, 23 Feb 93 14:44:34 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!network.ucsd.edu!usc!howland.reston.ans.net!gatech!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!vixie
From: vixie@pa.dec.com (Paul A Vixie)
Newsgroups: comp.unix.bsd
Subject: Re: [386BSD] truncating the beginning of a file
Date: 16 Feb 93 12:21:01
Organization: DEC Network Systems Lab
Lines: 13
Distribution: world
Message-ID: <VIXIE.93Feb16122101@cognition.pa.dec.com>
References: <1lm5qhINN8vb@life.ai.mit.edu>
NNTP-Posting-Host: cognition.pa.dec.com
In-reply-to: mycroft@hal.gnu.ai.mit.edu's message of 14 Feb 1993 19:16:33 GMT

rather than change the inode, it would be great if we could add some
fields to the data blocks themselves so that they could be partially
allocated even if not at the end of the file.  i'd love to be able to
remove or insert data in the middle of files, and with block splitting
and partial blocks it's an easy problem.

it'll take a totally new file system, though.  and it will be somewhat
messy since data blocks will no longer be powers of two in size.
--
Paul Vixie, DEC Network Systems Lab	
Palo Alto, California, USA         	"Don't be a rebel, or a conformist;
<vixie@pa.dec.com> decwrl!vixie		they're the same thing, anyway.  Find
<paul@vix.com>     vixie!paul		your own path, and stay on it."  -me