wiki:file_systems/jfs

Home - News - FAQ - Download - Read - Errata - Lists - IRC - Mirrors - Bootloaders - Machine-Specifics - File Systems - CBLFS - Community - Developer

JFS

JFS is IBM's Journaled File System

  • Cross Compile -

Change BUILDXX to your architecture (32,64)

CC="${CC} ${BUILDXX}" ./configure --prefix=/tools --host=${CLFS_TARGET} &&
make &&
make install

  • Final System Compile -

./configure --prefix=/usr --sbindir=/sbin &&
make &&
make install &&
ln -sf /sbin/jfs_fsck /sbin/fsck.jfs &&
ln -sf /sbin/jfs_mkfs /sbin/mkfs.jfs

  • Grub Changes -

Change the following line
cp -v /usr/lib/grub/{architecture}-pc/stage{1,2} /boot/grub
to
cp -v /usr/lib/grub/{architecture}-pc/* /boot/grub

  • Kernel Configuration -

Make sure you select JFS. If it's going to be your root file system, make sure you build it into the kernel. Also select JFS Statistics, so jfs_fsck can give you valuable feedback when issues arise.

  • /etc/fstab -

jfs is the label used for the jfs file system.
Example:
/dev/hda2 / jfs defaults 1 1

Last modified 5 years ago Last modified on Jun 28, 2019, 9:54:09 AM
Note: See TracWiki for help on using the wiki.