Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 12:32:06 +0200
From:      =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com>
To:        Thomas Mueller <mueller6727@bellsouth.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Lingua franca file system Linux-NetBSD-FreeBSD?
Message-ID:  <AANLkTin_=hzEskX=M0ykGQENvqZ9wW2mmbDoBTzsZ0o-@mail.gmail.com>
In-Reply-To: <4c739685.g1aaLUnEPIT1pDne%mueller6727@bellsouth.net>
References:  <4c739685.g1aaLUnEPIT1pDne%mueller6727@bellsouth.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<mueller6727@bellsouth.net>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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin_=hzEskX=M0ykGQENvqZ9wW2mmbDoBTzsZ0o->