ChangeLog, mke2fs.c:

mke2fs.c (usage): Document the -j option.
  (main): Print the number blocks used in the journal.
ChangeLog, mke2fs.8.in:
  Minor clarity edits.
This commit is contained in:
Theodore Ts'o 2000-12-31 03:21:56 +00:00
parent f7810aae8a
commit 16ad33346d
3 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2000-12-30 <tytso@snap.thunk.org>
* mke2fs.8.in: Minor clarity edit.
* mke2fs.c (usage): Document the -j option.
(main): Print the number blocks used in the journal.
2000-12-28 <tytso@snap.thunk.org>
* base_device.c (base_device): Add support for DAC960 device

View File

@ -146,7 +146,8 @@ Currently two options are supported,
.I size
and
.IR device .
One of these two options must be specified when building the journal.
One these two options must be specified when
building the journal.
The
.I size
option takes a numerical argument which specifies the size of the
@ -155,9 +156,8 @@ Use of this option implies that the journal will be stored in the
filesystem, so it must be small enough to fit into the filesystem.
The
.I device
option takes a filename which specifies a block device which will contain
the journal. This option of course implies that the journal will be
stored external to the filesystem.
option takes a filename which specifies a block device (external
to the filesystem) which will contain the external journal.
.TP
.B \-n
causes mke2fs to not actually create a filesystem, but display what it

View File

@ -97,7 +97,7 @@ static void check_mount(const char *device);
static void usage(NOARGS)
{
fprintf(stderr, _("Usage: %s [-c|-t|-l filename] [-b block-size] "
"[-f fragment-size]\n\t[-i bytes-per-inode] "
"[-f fragment-size]\n\t[-i bytes-per-inode] [-j journal-options]"
" [-N number-of-inodes]\n\t[-m reserved-blocks-percentage] "
"[-o creator-os] [-g blocks-per-group]\n\t[-L volume-label] "
"[-M last-mounted-directory] [-O feature[,...]]\n\t"
@ -1224,7 +1224,8 @@ int main (int argc, char *argv[])
printf(_("done\n"));
} else if (journal_size) {
if (!quiet)
printf(_("Creating journal: "));
printf(_("Creating journal (%d blocks): "),
journal_blocks);
retval = ext2fs_add_journal_fs(fs, journal_blocks,
journal_flags);
if (retval) {