Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!mimsy!cvl!umd5!umbc3!dipto From: dipto@umbc3.UUCP Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: inode_questions Message-ID: <296@umbc3.UMD.EDU> Date: Tue, 3-Mar-87 23:34:02 EST Article-I.D.: umbc3.296 Posted: Tue Mar 3 23:34:02 1987 Date-Received: Fri, 6-Mar-87 03:46:18 EST Reply-To: dipto@umbc3.umd.edu (Dipto Chakravarty) Organization: University of Maryland, Baltimore County Lines: 18 Xref: utgpu comp.unix.wizards:1207 comp.unix.questions:1255 Unix shell programming follows a convention that all index counts begin from number 0. However, inode counts start at one (1) in the file header. Answer to the above question:- In the Unix file system, the number zero (0) is used to indicate an empty directory entry. So, the file header gets scanned for a zero when a new entry has to be made. Henceforth, in the Unix file system the inode count starts at one (1) and NOT zero (0) ---- network address: dipto@umbc3.umd.edu.ARPA Dipto Chakravarty Department of Computer Science University of Maryland at Baltimore County