summaryrefslogtreecommitdiff
path: root/resize
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1998-09-30 00:54:35 +0000
committerTheodore Ts'o <tytso@mit.edu>1998-09-30 00:54:35 +0000
commit7e71e4c545847b48b3dc04970aaf405f6f0e7b7d (patch)
treed26e7fe99480c4a9136468336f7808f87fb69eee /resize
parent612ff39bfdafc70080cc08d538c2c40752762e99 (diff)
downloade2fsprogs-7e71e4c545847b48b3dc04970aaf405f6f0e7b7d.tar.gz
.del-resize2fs.spec~524d144b:
Fix up version number for 1.03 ChangeLog, main.c: Print a feedback message stating the new size of the filesystem when we're through.
Diffstat (limited to 'resize')
-rw-r--r--resize/ChangeLog5
-rw-r--r--resize/main.c4
-rw-r--r--resize/resize2fs.spec2
3 files changed, 9 insertions, 2 deletions
diff --git a/resize/ChangeLog b/resize/ChangeLog
index 6058e648..e935b7a7 100644
--- a/resize/ChangeLog
+++ b/resize/ChangeLog
@@ -1,3 +1,8 @@
+1998-09-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * main.c (main): Print a feedback message stating the new size of
+ the filesystem when we're through.
+
1998-09-02 Theodore Ts'o <tytso@rsts-11.mit.edu>
* resize2fs.c: Rename max to max_groups and max_dirs to avoid
diff --git a/resize/main.c b/resize/main.c
index 9f1e4270..11a2267f 100644
--- a/resize/main.c
+++ b/resize/main.c
@@ -28,7 +28,7 @@ char *program_name, *device_name;
static volatile void usage (char *prog)
{
- fprintf (stderr, "usage: %s [-d debug_flags] [-f] [-F] [-p] device new-size\n\n", prog);
+ fprintf (stderr, "usage: %s [-d debug_flags] [-f] [-F] [-p] device [new-size]\n\n", prog);
#ifdef EXPIRE_TIME
check_expire_time(program_name);
@@ -281,5 +281,7 @@ void main (int argc, char ** argv)
device_name);
ext2fs_close (fs);
}
+ printf("The filesystem on %s is now %d blocks long.\n\n",
+ device_name, new_size);
exit (0);
}
diff --git a/resize/resize2fs.spec b/resize/resize2fs.spec
index 2512d14d..a643ad64 100644
--- a/resize/resize2fs.spec
+++ b/resize/resize2fs.spec
@@ -1,6 +1,6 @@
Summary: ext2 filesystem resizer
Name: resize2fs
-Version: 1.02
+Version: 1.03
Release: 0
Vendor: PowerQuest
Copyright: Licensed to Registered Users of Partition Magic(tm)