From owner-freebsd-questions@FreeBSD.ORG Tue Aug 24 10:32:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F08511065675 for ; Tue, 24 Aug 2010 10:32:37 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 701318FC15 for ; Tue, 24 Aug 2010 10:32:37 +0000 (UTC) Received: by qwg5 with SMTP id 5so6635340qwg.13 for ; Tue, 24 Aug 2010 03:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=/wu/xfsndONcrprXvaoRTaxBOHpKLBCzfV7lJfbiWh4=; b=NTLXagqZDB+dd10xJLr6T0TFjSa3Wskn3QGbNBE4QMfWy8NsxwHECV4hmdaJh+e50d uFgHF/d4lbJegfiJGhtm9Fqi0GEHAx5eozAVdYbMIn8VYqE/q7bCad0RNpUjDGfb/7mH 4eCExBswqIrON5k+S+VSUibaFIlgy49jlY51I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=SVkhb5VW6utn6z8ZcnKrO1p5LUt4CJhPHpDG++P5GaUww/eJUbqQuUGMEYoTSR52de +Iz9UxoA0PoIygHkMxqrg6NApjPwQVYdU3KsVJdavviS28IWeO8KXtacMXIDwpSImaFq xNoi4ThDfWEYKVnrr/UeT9Rgi4zzRrFpLoPkk= Received: by 10.229.141.75 with SMTP id l11mr3358069qcu.154.1282645956334; Tue, 24 Aug 2010 03:32:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.217.21 with HTTP; Tue, 24 Aug 2010 03:32:06 -0700 (PDT) In-Reply-To: <4c739685.g1aaLUnEPIT1pDne%mueller6727@bellsouth.net> References: <4c739685.g1aaLUnEPIT1pDne%mueller6727@bellsouth.net> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Tue, 24 Aug 2010 12:32:06 +0200 Message-ID: To: Thomas Mueller Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Lingua franca file system Linux-NetBSD-FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2010 10:32:38 -0000 the problem is not which version of mkfs (ext2fs) you use. the problem is that BSD only handle ext2fs partitions with 128b inodes, while default value is 256. when running mkfs/newfs, be sure to specify -I 128 also, I won't recommand ntfs. but, ntfs "works" correctly under BSD and Linux. so, if you just want the partition to be read/writeable on both BSD and Linux, and don't wan't to use 128b inodes, nor ext2, you may wanna consider using fat (except the file size limit thing, it works great), or ntfs (quit= e ugly, but still working) Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All=E9e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Tue, Aug 24, 2010 at 11:53 AM, Thomas Mueller wrote: > What is the best choice for a file system that can be read, and safely > written to, by Linux, NetBSD and FreeBSD? > > With NetBSD through 5.1_RC3, I got "unsupported inode size" when trying t= o > mount Linux ext2fs partition from NetBSD. > > With FreeBSD through 7.2, I could mount, but got "Bad file descriptor" wh= en > trying to access the Linux partition. With FreeBSD 8.0, I could mount an= d > read the Linux partition, but in the only attempt to write to the ext2fs > partition, I was editing a file with vi, and when I tried to write (save)= , > the file was truncated. I was able to recover by saving to FreeBSD file > system and copying to msdos (FAT32) partition and subsequently copying to > the Linux partition (this was a nonbootable USB stick used for data rathe= r > than Linux installation). I haven't tried under FreeBSD 8.1 yet. > > Would I have better luck using newfs_ext2fs from NetBSD or FreeBSD and > possibly getting a flavor of ext2fs more to BSD's liking? This would be = for > data as opposed to Linux installation. > > There is the obvious possibility of using msdos (FAT32); I could run > FreeDOS on such a partition as well as using the partition to share data > between Linux, NetBSD and FreeBSD, and FreeDOS too. Drawback is some > problems getting long file names straight, and lack of case sensitivity. > But maybe FAT32 is the safest choice? > > Linux, NetBSD and FreeBSD are supposed to be able to read and write NTFS > partition, but I see from a very recent thread on this list, subject "Re: > External HD", that writing to NTFS partition is very dangerous, and I fig= ure > that would be also true for NetBSD and Linux, and any other > non-MS-Windows-NT-line OS that might have support for NTFS. > > There is also the caveat that such a data-sharing partition would have to > be in a primary or extended/logical slice/partition, since Linux seems > unable to read BSD disklabels, and NetBSD and FreeBSD can't read each > other's disklabels. Also, Linux and the BSDs go separate ways with some > newer file systems (ext4fs, btrfs, jfs in Linux; zfs in FreeBSD). > > Tom > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >