Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!mimsy!chris From: chris@mimsy.UUCP Newsgroups: comp.unix.wizards Subject: Re: 4.3BSD conversion question ... Message-ID: <6251@mimsy.UUCP> Date: Sat, 11-Apr-87 04:03:11 EST Article-I.D.: mimsy.6251 Posted: Sat Apr 11 04:03:11 1987 Date-Received: Sun, 12-Apr-87 01:18:29 EST References: <6810@brl-adm.ARPA> <8371@tekecs.TEK.COM> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 20 [Capsule review: 4.3BSD fsck noisily adjusts all those old 24 byte directories to 512 bytes, and a few 512+24 byte directories to 1024 bytes, and so forth.] In article <8371@tekecs.TEK.COM> snoopy@doghouse.gwd.tek.com (Snoopy) writes: >My question is WHY does fsck (or anything else) care whether the >directory is a multiple of 512? It is really Just Another Consistency Check. It would also make life easier for the kernel if it could assume 512 byte directories: If you look deep in the heart of ufs_namei.c, you will see a comment about how the 4.2BSD `mkdir' was careless: N.B. - THIS IS AN ARTIFACT OF 4.2 AND SHOULD NEVER HAPPEN. There should have been a note in the installation instructions about this, and indeed, `fsck -p' cleans this right up. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: seismo!mimsy!chris ARPA/CSNet: chris@mimsy.umd.edu