Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/e2fsprogs/old_e2fsprogs/mke2fs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 5  Line 5 
5   * Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,   * Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
6   * 2003, 2004, 2005 by Theodore Ts'o.   * 2003, 2004, 2005 by Theodore Ts'o.
7   *   *
8   * This file may be redistributed under the terms of the GNU Public   * Licensed under GPLv2, see file LICENSE in this tarball for details.
  * License.  
9   */   */
10    
11  /* Usage: mke2fs [options] device  /* Usage: mke2fs [options] device
# Line 246  static void test_disk(ext2_filsys fs, ba Line 245  static void test_disk(ext2_filsys fs, ba
245   mke2fs_verbose("Running command: %s\n", buf);   mke2fs_verbose("Running command: %s\n", buf);
246   f = popen(buf, "r");   f = popen(buf, "r");
247   if (!f) {   if (!f) {
248   bb_perror_msg_and_die("cannot run '%s'", buf);   bb_perror_msg_and_die("can't run '%s'", buf);
249   }   }
250   retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block);   retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block);
251   pclose(f);   pclose(f);
# Line 1306  int mke2fs_main (int argc, char **argv) Line 1305  int mke2fs_main (int argc, char **argv)
1305   retval = zero_blocks(fs, start, blocks - start,   retval = zero_blocks(fs, start, blocks - start,
1306       NULL, &ret_blk, NULL);       NULL, &ret_blk, NULL);
1307    
1308   mke2fs_warning_msg(retval, "cannot zero block %u at end of filesystem", ret_blk);   mke2fs_warning_msg(retval, "can't zero block %u at end of filesystem", ret_blk);
1309   write_inode_tables(fs);   write_inode_tables(fs);
1310   create_root_dir(fs);   create_root_dir(fs);
1311   create_lost_and_found(fs);   create_lost_and_found(fs);

Legend:
Removed from v.983  
changed lines
  Added in v.984