Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!tektronix!tekcrl!terryl From: terryl@tekcrl.LABS.TEK.COM Newsgroups: comp.unix.wizards Subject: Re: inode #1 Keywords: file systems, root inode Message-ID: <3851@tekcrl.LABS.TEK.COM> Date: 15 Apr 89 00:35:48 GMT References: <352@anvil.oz> Reply-To: terryl@tekcrl.LABS.TEK.COM Organization: Tektronix, Inc., Beaverton, OR. Lines: 14 In article <352@anvil.oz> michi@anvil.oz (Michael Henning) writes: >I just did a "find / -inum 1 -print" on an AIX and a Xenix 386 system. As >it turns out, inode 1 is not used. The root inode of every file system is 2. >Can anyone tell me why inode 1 is not used anywhere ? It seems that it >could be used, since if 0 indicates that a directory entry is free, why >not use inode 1 like any other inode ? Yes, Grasshopper, come and eat from the Tree Of Knowledge... Many, many (I mean MANY!! (-:) moons ago, inode #1 was supposedly used as a file that would contain the bad blocks of the file system, just so the blocks would never get allocated to a real-live file (I say supposedly, be- cause I have never seen it myself, but that's the way it's been handed down by word of mouth throughout the ages....).