Ext2 under freebsd
From FBSD_tips
DRAFT INCOMPLETE DRAFT INCOMPLATE DRAFT INCOMPLETE
Contents |
[edit] Rationale
Sometimes dual booting and/or sneakernetting some hardware between machines is unavoidable. When you run two operating systems it can be quite convenient to have a common file system between them on a partition, to exchange information. The least common denominator is the FAT32 filesyetem, but the limitations inherint in it will quickly reveal it to be an unworkable solution except for the most trivial of cases. Linux is a very popular OSS OS and a likely candidate to be occupying the same hard drive with FreeBSD in a dual booted machine. Freebsd contains a kernel loadable module for the Linux ext2 filesystem. Ext2 has all the major unix semmantics in it, so this a good choice for sharing significant data between theese two OSes. As an aside, a Windows driver exists for ext2 as well here. I would expect that ext2 support is superior to ntfs support in FreeBSD (likely in linux too) as ntfs is a big mystery and ext2 is common knowledge, so depending on the quality of the Windows ext2 driver here this solution may offer the greatest common featute set for these three OSes.
[edit] Software
You will need the e2fsprogs from /usr/ports/sysutils/e2fsprogs. Install them either via ports :
cd /usr/ports/sysutils/e2fsprogs make install clean
Or install them via a package
pkg_add -r e2fsprogs
[edit] Configuration
[edit] Use
[edit] Discussion
FreeBSD manages it's disks a differently than Linux or Windows. The Linux/Windows partition is called a slice in FreeBSD, FreeBSD puts up to 8 partitions in a slice.
