From owner-freebsd-questions Tue Mar 3 14:44:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA02609 for freebsd-questions-outgoing; Tue, 3 Mar 1998 14:44:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02447 for ; Tue, 3 Mar 1998 14:44:24 -0800 (PST) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.8/8.8.8) with SMTP id PAA28727; Tue, 3 Mar 1998 15:54:19 -0600 (CST) Date: Tue, 3 Mar 1998 15:54:19 -0600 (CST) From: "Matthew D. Fuller" To: Mike Mann cc: freebsd-questions@FreeBSD.ORG Subject: Re: RE : Copying DOS files to UNIX In-Reply-To: <199803032116.VAA09179@camelot.netcom.net.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 3 Mar 1998, Mike Mann wrote: > On Sun, 1 Mar 1998 13:32:41 -0500, MALCOLM BOFF > wrote: > > >To mount the DOS partition you need a mountpoint (I created a directory > >/dos) then issue the following command :- > > >mount -t msdos /dev/sd0s1 /dos > > Except that, on my system, attempting to mount two of my three DOS > partitions results in: > > "mountmsdosfs(): Warning: root directory is not a multiple of the > clustersize in length" Wheee.... That's a Windows95 partition, isn't it? > and "man mount_msdos" reports that, after this warning message: > > "it is possible that writing to the MS-DOS filesystem would produce > corruption on the disc" > > which is rather worrying. My third DOS partition mounts successfully > without this warning. > > Can anyone advise if there's anything I can do to the root directory > on the DOS partitions to avoid this warning and the potential for > corruption? Or any other workaround? > > I presume that mounting read only is safe. No, it's not. I used to do this, and every time I mounted it, even readonly, several of my files got corrupted. 'Course, that was taken care of when it once destroyed /etc/master.passwd, /etc/passwd, /dev/console, /dev/ttyv0, ..... and I had to reinstall. After that, I never mounted that partition again. Note that this was with 2.1.6-RELEASE, so maybe it's a little better now. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message