lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ea11fea30803312050s79c50a4euc072e027a5300af@mail.gmail.com>
Date:	Tue, 1 Apr 2008 09:20:56 +0530
From:	"Manish Katiyar" <mkatiyar@...il.com>
To:	linux-ext4@...r.kernel.org
Subject: [PATCH e2fsprogs-1.40.8] logdump : Add the missing option in usage of logdump.

Hi,

 logdump code currently accepts an option "-s" to use journal from the
 superblock backup. However this option is not getting printed in the
 usage which means user will not be aware of this option unless he
 reads the code.

 =========================================================================
 Signed-off-by: Manish Katiyar <mkatiyar@...il.com>

 diff -Naur a/debugfs/logdump.c b/debugfs/logdump.c
 --- a/debugfs/logdump.c 2008-03-14 03:50:46.000000000 +0530
 +++ b/debugfs/logdump.c 2008-03-31 09:51:14.000000000 +0530
 @@ -88,7 +88,7 @@
        struct journal_source journal_source;
        struct ext2_super_block *es = NULL;

 -       journal_source.where = 0;
 +       journal_source.where = JOURNAL_IS_INTERNAL;
        journal_source.fd = 0;
        journal_source.file = 0;
        dump_all = 0;
 @@ -264,7 +264,7 @@
        return;

  print_usage:
 -       fprintf(stderr, "%s: Usage: logdump [-ac] [-b<block>] [-i<inode>]\n\t"
 +       fprintf(stderr, "%s: Usage: logdump [-acs] [-b<block>] [-i<inode>]\n\t"
                "[-f<journal_file>] [output_file]\n", argv[0]);
  }

 ==============================================================================

 --
 Thanks & Regards,
 ********************************************
 Manish Katiyar ( http://mkatiyar.googlepages.com )
 3rd Floor, Fair Winds Block
 EGL Software Park
 Off Intermediate Ring Road
 Bangalore 560071, India
 ***********************************************
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ