timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Mon Mar 02, 2009 11:14 pm Post subject: Re: Does mke2fs -b 1042 -S <device> format the disk? |
|
|
inn3rpece wrote: | Does the command "mke2fs -b 1042 -S <device>" actually format the disk thereby clearing the data? |
Doesn't look that way to me:
man mke2fs wrote: | -SWrite superblock and group descriptors only. This is useful if all of the superblock and backup superblocks are corrupted, and a last-ditch recovery method is desired. It causes mke2fs to reinitialize the superblock and group descriptors, while not touching the inode table and the block and inode bitmaps. The e2fsck program should be run immediately after this option is used, and there is no guarantee that any data will be salvageable. It is critical to specify the correct filesystem blocksize when using this option, or there is no chance of recovery. | How big is the disk? Even this limited work might take a while if we're talking really big.... _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|