From mboxrd@z Thu Jan 1 00:00:00 1970 From: kcwellsc@math.uwaterloo.ca (Ken Wellsch) Date: Sun, 31 Jan 1999 19:20:11 +73900 (EST) Subject: Old UNIX file system formats In-Reply-To: <199901301539.CAA20265@minnie.cs.adfa.edu.au> from "norman@nose.cita.utoronto.ca" at Jan 30, 99 10:38:44 am Message-ID: <199902010020.TAA29097@math.uwaterloo.ca> I didn't see mention of the flag "HUGE" WRT the V6 file format. Now I may be being mislead from my memory of Venix 1.x which is a derivative of V6 (while Venix 2.x is SysIII I think). If the HUGE bit is set in the i-node, then and only then is the 8th index pointer treated as the indirection variety. Thus 8 block or less files I think are directly indexed. -- Ken Received: (from major at localhost) by minnie.cs.adfa.edu.au (8.9.1/8.9.1) id WAA27889 for pups-liszt; Mon, 1 Feb 1999 22:25:39 +1100 (EST) Received: from caveman.geac.com.au (caveman.geac.com.au [203.30.73.2]) by minnie.cs.adfa.edu.au (8.9.1/8.9.1) with SMTP id WAA27884 for ; Mon, 1 Feb 1999 22:25:29 +1100 (EST) Received: (qmail 3270 invoked from network); 1 Feb 1999 11:29:10 -0000 Received: from brane.geac.com.au (202.6.67.115) by caveman.geac.com.au with SMTP; 1 Feb 1999 11:29:10 -0000 Received: from fgh.geac.com.au by brane.geac.com.au with smtp\n (Smail3.1.29.1 #3) id m107HOg-0003nrC; Mon, 1 Feb 99 22:20 AEDT Received: from localhost (dave at localhost) by fgh.geac.com.au (SMI-8.X/SVR4) with ESMTP id WAA10384; Mon, 1 Feb 1999 22:21:29 +1100 Date: Mon, 1 Feb 1999 22:21:28 +1100 (EST) From: Dave Horsfall X-Sender: dave at fgh To: Ken Wellsch cc: PDP Unix Preservation Society Subject: Re: Old UNIX file system formats In-Reply-To: <199902010020.TAA29097 at math.uwaterloo.ca> Message-ID: X-No-Archive: Yes X-Witty-Saying: "Tesseract - Enter at own risk" X-Disclaimer: "Me, speak for us?" MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pups at minnie.cs.adfa.edu.au Precedence: bulk On Sun, 31 Jan 1999, Ken Wellsch wrote: > I didn't see mention of the flag "HUGE" WRT the V6 file format. > Now I may be being mislead from my memory of Venix 1.x which is > a derivative of V6 (while Venix 2.x is SysIII I think). If the > HUGE bit is set in the i-node, then and only then is the 8th > index pointer treated as the indirection variety. Thus 8 block > or less files I think are directly indexed. -- Ken I think you're confusing LARGE with HUGE. I don't have my Edition 5 manual handy, but in my Edition 6 manual if the LARGE bit is set then the first seven inode pointers are indirect blocks (otherwise all eight blocks are direct), and the eighth block is a double-indirect block. -- Dave Horsfall VK2KFU dave at geac.com.au Ph: +61 2 9978-7493 Fx: +61 2 9978-7422 Geac Computers P/L (FGH Division) 2/57 Christie St, St Leonards 2065, Australia Received: (from major at localhost) by minnie.cs.adfa.edu.au (8.9.1/8.9.1) id EAA29200 for pups-liszt; Tue, 2 Feb 1999 04:57:31 +1100 (EST) Received: from coffee.corliss.net (erin at coffee.gta-tech.com.121.7.12.in-addr.arpa [12.7.121.245] (may be forged)) by minnie.cs.adfa.edu.au (8.9.1/8.9.1) with ESMTP id EAA29195 for ; Tue, 2 Feb 1999 04:57:17 +1100 (EST) Received: from localhost (erin at localhost) by coffee.corliss.net (8.8.8/8.8.8) with SMTP id KAA20144; Mon, 1 Feb 1999 10:01:15 -0800 Date: Mon, 1 Feb 1999 10:01:14 -0800 (PST) From: "Erin W. Corliss" To: Ken Wellsch cc: norman at nose.cita.utoronto.ca, pups at minnie.cs.adfa.edu.au Subject: Re: Old UNIX file system formats In-Reply-To: <199902010020.TAA29097 at math.uwaterloo.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pups at minnie.cs.adfa.edu.au Precedence: bulk > I didn't see mention of the flag "HUGE" WRT the V6 file format. > Now I may be being mislead from my memory of Venix 1.x which is > a derivative of V6 (while Venix 2.x is SysIII I think). If the > HUGE bit is set in the i-node, then and only then is the 8th > index pointer treated as the indirection variety. Thus 8 block > or less files I think are directly indexed. -- Ken Hmm... I wrote a disk image editor in Visual Basic without knowing the specs for the filesystem -- I set it up so that if the 9th pointer is zero and the filesize is greater than one block, then it assumed the block pointed to by the 8th pointer was a list of blocks in the file.