OSDN Git Service

.del-resize2fs.spec~524d144b:
authorTheodore Ts'o <tytso@mit.edu>
Wed, 30 Sep 1998 00:54:35 +0000 (00:54 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 30 Sep 1998 00:54:35 +0000 (00:54 +0000)
  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
resize/main.c
resize/resize2fs.spec

index 6058e64..e935b7a 100644 (file)
@@ -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
index 9f1e427..11a2267 100644 (file)
@@ -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);
 }
index 2512d14..a643ad6 100644 (file)
@@ -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)