From owner-freebsd-hackers Fri Aug 23 23:14:36 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA06972 for hackers-outgoing; Fri, 23 Aug 1996 23:14:36 -0700 (PDT) Received: from eac.iafrica.com (196-7-192-187.iafrica.com [196.7.192.187]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id XAA06963 for ; Fri, 23 Aug 1996 23:14:31 -0700 (PDT) Received: (from rnordier@localhost) by eac.iafrica.com (8.6.12/8.6.12) id IAA01310; Sat, 24 Aug 1996 08:11:01 +0200 From: Robert Nordier Message-Id: <199608240611.IAA01310@eac.iafrica.com> Subject: Re: DOS root directory? To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Sat, 24 Aug 1996 08:10:59 +0200 (SAT) Cc: brianc@pobox.com, freebsd-hackers@FreeBSD.org In-Reply-To: <199608240416.NAA24844@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Aug 24, 96 01:46:39 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Michael Smith wrote: > > Brian Campbell stands accused of saying: > > > > When I mount my DOS C drive (formatted by W95's format for W95) I get: > > mountmsdosfs(): Warning: root directory is not a multiple of > > the clustersize in length > > > > Is this a serious or important warning, or just something the author > > didn't think would happen and wanted to be informed of? > > It indicates that your DOS partition was shrunk at some sage, probably > by FIPS or a similar tool. The FreeBSD MSDOSFS appears particularly > unreliable with such filesystems; I would advise extreme caution. Uhm, actually it doesn't indicate use of FIPS (which wouldn't affect the cluster or root directory size). The warning will always appear when accessing FAT filesystems with a cluster size of >32 sectors (64, for instance), since a standard root directory on a hard drive has 512 entries and therefore occupies only 512 * sizeof(DIRENTRY) / SECTOR_SIZE = 32 sectors. Incidentally, the warning also appears when accessing 3.5-inch floppy disks in the new Win95 distribution format. The msdosfs doesn't inherently require a root directory allocated to cluster boundaries, but (in general) the bigger your DOS partition, the more likely it is you will experience msdosfs-related problems. So I'd agree regarding "extreme caution". -- Robert Nordier