Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-unix!teknowledge-vaxc!uw-beaver!tektronix!teklds!copper!stevesu From: stevesu@copper.UUCP Newsgroups: comp.unix.wizards,comp.bugs.4bsd Subject: Re: 4.3BSD conversion question... Message-ID: <971@copper.TEK.COM> Date: Fri, 10-Apr-87 21:46:06 EST Article-I.D.: copper.971 Posted: Fri Apr 10 21:46:06 1987 Date-Received: Sun, 12-Apr-87 01:06:28 EST References: <622@rna.UUCP> Organization: Tektronix Inc., Beaverton, Or. Lines: 27 Xref: utgpu comp.unix.wizards:1730 comp.bugs.4bsd:288 In article <622@rna.UUCP>, dan@rna.UUCP (Dan Ts'o) writes: > I noticed that when running 4.3BSD's fsck on 4.2BSD filesystems that it > complains that the 4.2BSD directories are not multiples of 512 and ask to > correct it. I was just reading through the 4.3 documentation, and I came across the following note ("Changes to the Kernel in 4.3BSD," section 4, under ufs_syscalls.c): _M_k_d_i_r now sets the size of all new directories to DIRBLKSIZE. Now, DIRBLKSIZE is DEV_BSIZE which is 512, and it's not inconceivable that efforts are also made to keep a directory a multiple of 512 bytes long once some real files are created within it. (For all I know, the 4.2 kernel does this too.) It would guess that the 512 character enforcement is just an efficiency tweak, although for a fully upgraded 4.3 filesystem, fsck's message would be a warning that 4.3 isn't keeping the directories as aligned as it thinks it is. In any case, I wouldn't worry about the warning, or about letting fsck fix the "problem." Steve Summit stevesu@copper.tek.com