From aeb604418f6dc97e779861b1a0950f25a791c2da Mon Sep 17 00:00:00 2001 From: Gavin Atkinson Date: Wed, 1 Feb 2012 22:44:40 +0000 Subject: [PATCH] Mention support of three filesystems generally encountered on Linux systems: ext2fs, reiserfs and xfs. This work was done by Isabell Long as part of Google Code-In (GCIN) 2011. Submitted by: Isabell Long (isabell121 gmail com) Minor changes by: me Approved by: bcr (mentor) --- .../books/handbook/filesystems/chapter.sgml | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml b/en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml index b9cf0c9fb5..ffe7e4f77e 100644 --- a/en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml @@ -747,6 +747,94 @@ errors: No known data errors + + &linux; Filesystems + + This section will describe some of the &linux; filesystems + supported by &os;. + + + Ext2FS + + The &man.ext2fs.5; file system kernel implementation was + written by Godmar Back, and the driver first appeared in + &os; 2.2. In &os; 8 and earlier, the code is licensed under + the GNU Public License, however under &os; 9, + the code has been rewritten and it is now licensed under the + BSD license. + + The &man.ext2fs.5; driver will allow the &os; kernel + to both read and write to ext2 file systems. + + First, load the kernel loadable module: + + kldload ext2fs + + Then, to mount an &man.ext2fs.5; volume located on + /dev/ad1s1: + + mount -t ext2fs /dev/ad1s1 /mnt + + + XFS + + The X file system, XFS, was originally + written by SGI for the + IRIX operating system, and they ported it + to &linux;. The source code has been released under the + GNU Public License. See + this page + for more details. The &os; port was started by Russel + Cattelan, &a.kan;, and &a.rodrigc;. + + To load XFS as a kernel-loadable + module: + + kldload xfs + + The &man.xfs.5; driver lets the &os; kernel access + XFS filesystems. However, at present only read-only + access is supported. Writing to a volume is not + possible. + + To mount a &man.xfs.5; volume located on + /dev/ad1s1, do the following: + + mount -t xfs /dev/as1s1 /mnt + + Also useful to note is that the + sysutils/xfsprogs port + contains the mkfs.xfs utility which enables + creation of XFS filesystems, plus utilities + for analysing and repairing them. + + The -p flag to + mkfs.xfs can be used to create an + &man.xfs.5; filesystem which is populated with files and other + metadata. This can be used to quickly create a read-only + filesystem which can be tested on &os;. + + + ReiserFS + + The Reiser file system, ReiserFS, was ported to + &os; by &a.dumbbell;, and has been released under the + GNU Public License. + + The ReiserFS driver will permit the &os; kernel to + access ReiserFS file systems and read their contents, but not + write to them, currently. + + First, the kernel-loadable module needs to be loaded: + + kldload reiserfs + + Then, to mount a ReiserFS volume located on + /dev/ad1s1: + + mount -t reiserfs /dev/ad1s1 /mnt + +