Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove specific stuff for genext2fs.

Actually project provide another utility.
  • Loading branch information...
commit 32de66248101bf0aeffa2df4a0a506538a791c6f 1 parent 616b14d
@freddy77 authored
Showing with 16 additions and 49 deletions.
  1. +1 −1  Makefile.am
  2. +2 −7 README
  3. +11 −38 genext2fs.8 → fillextfs.8
  4. +2 −3 fillextfs.c
View
2  Makefile.am
@@ -1,6 +1,6 @@
bin_PROGRAMS = fillextfs
fillextfs_SOURCES = fillextfs.c
fillextfs_LDADD = -lext2fs
-man_MANS = genext2fs.8
+man_MANS = fillextfs.8
EXTRA_DIST = $(man_MANS) test-gen.lib test-mount.sh test.sh device_table.txt m4/ac_func_scanf_can_malloc.m4 m4/ac_func_snprintf.m4
TESTS = test.sh
View
9 README
@@ -1,10 +1,5 @@
-genext2fs generates an ext2 filesystem as a normal (non-root) user.
+fillextfs populate an ext filesystem as a normal (non-root) user.
It does not require you to mount the image file to copy files on it,
nor does it require that you become the superuser to make device nodes.
-http://genext2fs.sourceforge.net/
-
-Please use the genext2fs-devel@lists.sourceforge.net mailing list to
-contact the developers and/or report bugs.
-
-See the included INSTALL file for instructions on installing genext2fs.
+See the included INSTALL file for instructions on installing fillextfs.
View
49 genext2fs.8 → fillextfs.8
@@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
-.TH GENEXT2FS 8 "August 19, 2006"
+.TH GENEXT2FS 8 "October 15, 2013"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@@ -16,30 +16,19 @@
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
-genext2fs \- ext2 filesystem generator for embedded systems
+fillextfs \- ext2 filesystem populator
.SH SYNOPSIS
-.B genext2fs
+.B fillextfs
.RI "[ options ] [ output\-image ]"
.SH DESCRIPTION
-\fBgenext2fs\fP generates an ext2 filesystem
+\fBfillextfs\fP popupate an ext2/3/4 filesystem
as a normal (non-root) user. It does not require you to mount
the image file to copy files on it, nor does it require that
you become the superuser to make device nodes.
-The filesystem image is created in the file \fIoutput-image\fP. If not
-specified, it is sent to stdout.
-
-By default, the maximum number of inodes in the filesystem is the minimum
-number required to accommodate the initial contents.
-In this way, a minimal filesystem (typically read-only) can be created with
-minimal free inodes.
-If required, free inodes can be added by passing the relevant options.
-The filesystem image size in blocks can be minimised by trial and error.
+The filesystem image is created in the file \fIoutput-image\fP.
.SH OPTIONS
.TP
-.BI "\-x, \-\-starting\-image image"
-Use this image as a starting point.
-.TP
.BI "\-d, \-\-root directory[:path]"
Add the given directory and contents at a particular path (by default
the root).
@@ -54,27 +43,12 @@ Furthermore, you can use a single table entry to create many devices
with a range of minor numbers (see examples below).
All specified inodes receive the mtime of \fBspec-file\fP itself.
.TP
-.BI "\-b, \-\-size\-in\-blocks blocks"
-Size of the image in blocks.
-.TP
-.BI "\-N, \-\-number\-of\-inodes inodes"
-Maximum number of inodes.
-.TP
-.BI "\-i, \-\-bytes\-per\-inode ratio"
-Used to calculate the maximum number of inodes from the available blocks.
-.TP
-.BI "\-m, \-\-reserved\-percentage"
-Number of reserved blocks as a percentage of size. Reserving 0 blocks will prevent creation of the "lost+found" directory.
-.TP
.BI "\-g, \-\-block\-map path"
Generate a block map file for this path.
.TP
.BI "\-e, \-\-fill\-value value"
Fill unallocated blocks with value.
.TP
-.BI "\-z, \-\-allow\-holes"
-Make files with holes.
-.TP
.BI "\-f, \-\-faketime"
Use a timestamp of 0 for inode and filesystem creation, instead of the present. Useful for testing.
.TP
@@ -93,7 +67,7 @@ Squash permissions of inodes added using the -d option. Analogous to
Print resulting filesystem structure.
.TP
.BI "\-V, \-\-version"
-Print genext2fs version.
+Print fillextfs version.
.TP
.BI "\-h, \-\-help"
Display help.
@@ -101,22 +75,21 @@ Display help.
.EX
.B
-genext2fs -b 1440 -d src /dev/fd0
+fillextfs -d src image.img
.EE
All files in the
.I src
directory will be written to
-.B /dev/fd0
-as a new ext2 filesystem image. You can then mount the floppy as
-usual.
+.B image.img
+which should be formatter as a ext2/3/4 filesystem image.
.EX
.B
-genext2fs -b 1024 -d src -D device_table.txt flashdisk.img
+fillextfs -d src -D device_table.txt flashdisk.img
.EE
-This example builds a filesystem from all the files in
+This example fill a filesystem from all the files in
.I src,
then device nodes are created based on the contents of the file
.I device_table.txt.
View
5 fillextfs.c
@@ -1561,7 +1561,7 @@ populate_fs(filesystem *fs, char **dopt, int didx, int squash_uids, int squash_p
static void
showversion(void)
{
- printf("genext2fs " VERSION "\n");
+ printf("fillextfs " VERSION "\n");
}
static void
@@ -1579,8 +1579,7 @@ showhelp(void)
" -P, --squash-perms Squash permissions on all files.\n"
" -h, --help\n"
" -V, --version\n"
- " -v, --verbose\n\n"
- "Report bugs to genext2fs-devel@lists.sourceforge.net\n", app_name);
+ " -v, --verbose\n", app_name);
}
#define MAX_DOPT 128
Please sign in to comment.
Something went wrong with that request. Please try again.