File:  [NetBSD Developer Wiki] / wikisrc / tutorials / how_to_share_an_ext2_partition_with_linux.mdwn
Revision 1.4: download - view: text, annotated - select for diffs
Mon Sep 2 20:48:38 2019 UTC (13 months, 3 weeks ago) by cnst
Branches: MAIN
CVS tags: HEAD
find wikisrc -name '*.mdwn' | xargs perl -pi'' -e's#\[(http[^]]*)]\(\1\)#<\1>#g'

    1: #  Introduction 
    2: 
    3: The best way to share a partition with Linux is to create an EXT2 filesystem and use revision 0 (aka GOOD_OLD_REV) as the filesystem format. By using the GOOD_OLD_REV (revision 0) format you can avoid the _dir_index_ and _large_file_ issues encountered with DYNAMIC_REV (revision 1). 
    4:   
    5: #  Example 
    6: 
    7: Here is an example of how you can create, format and check an EXT2 filesystem using the Linux native tools: 
    8:     
    9:     # mkfs -t ext2 -r 0 /dev/hda3
   10:     # fsck -C -t ext2 /dev/hda3
   11:     # tune2fs -c 20 -i 6m -L Share /dev/hda3
   12:     # fsck -C -t ext2 /dev/hda3
   13:     # tune2fs -l /dev/hda3
   14:     
   15: 
   16:   
   17: If you want to use the revision 1 ext2 fs format it is possible but you need to format it like this: 
   18:     
   19:     # mke2fs -I 128 -L "Choose a name here" -O ^dir_index,^has_journal -v /dev/partition
   20:     
   21: 
   22: (you can get mke2fs from the e2fsprogs package). 
   23: 
   24: Partitions formatted this way are compatible with the windows and OS X ext2 drivers: 
   25: 
   26: <http://www.fs-driver.org/>
   27: <http://ext2fsx.sourceforge.net/>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb