From owner-freebsd-questions Sat Sep 2 0:30:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from desh.cse.iitd.ernet.in (mailer.cse.iitd.ac.in [202.141.68.3]) by hub.freebsd.org (Postfix) with ESMTP id 9623B37B424 for ; Sat, 2 Sep 2000 00:30:17 -0700 (PDT) Received: from cse.iitd.ernet.in (root@basant.cse.iitd.ernet.in [10.20.14.19]) by desh.cse.iitd.ernet.in (8.8.7/8.8.7) with ESMTP id NAA28274; Sat, 2 Sep 2000 13:02:56 +0530 Received: from localhost (csu96154@localhost) by cse.iitd.ernet.in (8.9.3/8.9.3) with ESMTP id NAA01915; Sat, 2 Sep 2000 13:02:49 +0530 X-Authentication-Warning: basant.cse.iitd.ernet.in: csu96154 owned process doing -bs Date: Sat, 2 Sep 2000 13:02:49 +0530 (IST) From: Rakhesh Sasidharan X-Sender: csu96154@basant.cse.iitd.ernet.in To: Marc van Woerkom Cc: freebsd-questions@FreeBSD.ORG Subject: Re: (newer ?) Ext2fs problem in FreeBSD-3.4 In-Reply-To: <20000829135020.7C4E31E5B@nil.science-factory.com> 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, 29 Aug 2000, Marc van Woerkom wrote: > > I have FreeBSD and Linux on the same machine. > > Me too. And Windows 2000. Actually, I have Net and OpenBSD's too. I had borrowed a Win2k CD, but that had some problems, and so I dumped it. > > > > The whole of Linux is in an > > extended partition, and it was only recently that I figured out one could > > access them using wd0s5 (in my case) and upwards. > > Right now I use a FAT32 partition for sharing information among the three OSs > This solution sucks, because of the missing access control to that partition. > On the other hand is has not caused me any problems so far. You bet! :) > > If we look at sharing a partition just between Linux and FreeBSD, we > have can use a native format from either side: > > 1. use ext2fs for the sharing partiion, no problems from Linux, > perhaps problems from FreeBSD, because the ext2fs fs driver > in the FreeBSD kernel might be buggy > > 2. use FreeBSD's UFS format for the sharing partition, no > problems from FreeBSD, perhaps problems from the UFS driver > in the Linux kernel. > > You tried 1., I am trying 2. these days. There is a solution for 1: Don't use the newer `mk2efs' utility. This is what I did: I needed to install RedHat 6.2 (that has a newer kernel which reads disklabels properly). I began with the RedHat 5.2 installation CD, made partitions, made an ext2fs file-system, and then began off with RedHat 6.2 installation (and told it NOT to format my partitions). Now, FreeBSD-3.4 reads from ext2fs fine. (Phew!) I suppose the problem has been solved with FreeBSD-4.1 etc. I use Linux to mount my UFS partitions. But, they get mounted ro. I configured the kernel to allow (experimental) rw access to UFS, and occasionally use it. I didn't want to risk losing my data. What has your experiences been with rw access to UFS ? Rakhesh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message