From 7e71e4c545847b48b3dc04970aaf405f6f0e7b7d Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 30 Sep 1998 00:54:35 +0000 Subject: [PATCH] .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. --- resize/ChangeLog | 5 +++++ resize/main.c | 4 +++- resize/resize2fs.spec | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/resize/ChangeLog b/resize/ChangeLog index 6058e64..e935b7a 100644 --- a/resize/ChangeLog +++ b/resize/ChangeLog @@ -1,3 +1,8 @@ +1998-09-29 Theodore Ts'o + + * main.c (main): Print a feedback message stating the new size of + the filesystem when we're through. + 1998-09-02 Theodore Ts'o * resize2fs.c: Rename max to max_groups and max_dirs to avoid diff --git a/resize/main.c b/resize/main.c index 9f1e427..11a2267 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 2512d14..a643ad6 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) -- 1.8.3.1