NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Sharing data between Debian and NetBSD on the same machine



On Tue, 13 Jan 2026, Ramiro Aceves wrote:

Many thanks for the detailed information, it is very valuable for me to try
ext2 approach.


I used to do this too--use an ext2 partition for sharing data--until the
NetBSD kernel panic'd and thrashed the files I was copying.

Nowadays, I only mount filesystems RW on their native OSes (UFS2 on NetBSD;
ext{24} on Linux). And, since Linux can read UFS2, and NetBSD can read ext2,
I stick to RO mounts.

Second, if it matters, should I create ext2 filesystem from NetBSD with
/sbin/newfs_ext2fs, with /usr/pkg/sbin/mkfs.ext2, or from Linux?


/sbin/newfs_ext2fs. mke2fs on Linux can create an ext2 filesystem with features
the NetBSD kernel can have trouble with. (This, I think, is what was responsible
for my kernel panic.)

But, if you don't want to lose data, use a NAS with its native FS (backed by
RAID, etc.).

-RVP


Home | Main Index | Thread Index | Old Index