mtd/util mkfs.jffs2.1,1.3,1.4
David Woodhouse
dwmw2 at infradead.org
Sun Jan 12 10:41:28 EST 2003
Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv9514
Modified Files:
mkfs.jffs2.1
Log Message:
Document stdout/isatty behaviour
Index: mkfs.jffs2.1
===================================================================
RCS file: /home/cvs/mtd/util/mkfs.jffs2.1,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mkfs.jffs2.1 12 Jan 2003 15:31:31 -0000 1.3
+++ mkfs.jffs2.1 12 Jan 2003 15:41:23 -0000 1.4
@@ -1,6 +1,7 @@
.TH MKFS.JFFS2 1
+.\" $Id$
.SH NAME
-mkfs.jffs2 \- Create a JFFS2 filesystem image from directory
+mkfs.jffs2 \- Create a JFFS2 file system image from directory
.SH SYNOPSIS
.B mkfs.jffs2
[
@@ -59,24 +60,25 @@
.SH DESCRIPTION
The program
.B mkfs.jffs2
-creates a JFFS2 (Second Journaling Flash Filesystem) filesystem
-image and writes the resulting image to the file specified by
-the option
+creates a JFFS2 (Second Journalling Flash File System) file system
+image and writes the resulting image to the file specified by the
.B -o
-or to the standard output by default. The filesystem image is
-created using the files and directories contained in the directory
-specified by the option
+option or by default to the standard output, unless the standard
+output is a terminal device in which case mkfs.jffs2 will abort.
+
+The file system image is created using the files and directories
+contained in the directory specified by the option
.B -r
or the present directory, if the
.B -r
option is not specified.
-Files to be placed into the filesystem image are compressed
+Files to be placed into the file system image are compressed
using the
.B zlib
compression library.
-Filesystems are created with the same endianness as the host,
+File systems are created with the same endianness as the host,
unless the
.B -b
or
@@ -84,11 +86,12 @@
options are specified. JFFS2 driver in the 2.4 Linux kernel only
supported images having the same endianness as the CPU. As of 2.5.48,
the kernel can be changed with a #define to accept images of the
-non-native endianness.
+non-native endianness. Full bi-endian support in the kernel is not
+planned.
It is unlikely that JFFS2 images are useful except in conjuction
with the MTD (Memory Technology Device) drivers in the Linux
-kernel, since the JFFS2 filesystem driver in the kernel requires
+kernel, since the JFFS2 file system driver in the kernel requires
MTD devices.
.SH OPTIONS
Options that take SIZE arguments can be specified as either
@@ -99,7 +102,7 @@
the output is padded to the end of the final erase block.
.TP
.B -r, -d, --root=DIR
-Build filesystem from directory DIR. The default is the current
+Build file system from directory DIR. The default is the current
directory.
.TP
.B -s, --pagesize=SIZE
More information about the linux-mtd-cvs
mailing list