Function Description: Ext2 file system editing program.
Syntax: ext2ed
Supplemental Note: Ext2ed can directly deal with the http://www.aliyun.com/zixun/aggregation/10608.html "" "" "" "" hard disk partition data, this directive only red Hat Linux to provide.
Parameters:
General directives
setdevice[Device Name] Specifies the device to be processed.
Disablewrite sets Ext2ed to read-only state.
Enablewrite sets the ext2ed to a read-write state.
help[instruction] Displays help for individual instructions.
Next moves to the next unit, depending on the current pattern.
Prev Move to the previous unit, the unit will vary according to the current pattern.
PgUp moves to the next page.
PgDn moves to the previous page.
Set modifies the current data, and the parameters vary according to the current pattern.
WriteData does not actually modify the data in the partition until this instruction is executed.
Ext2 into 3 different modes of instruction
Super enters main superblock, the superblock mode.
group< number > Enter the specified group, group mode.
cd< directory or File > in inode mode, enter the specified directory or file, that is, Inode mode.
Superblock mode
gocopy< Backup number > Enter the specified superblock backup.
Setactivecopy copies the current superblock to main superblock.
Group mode
BLOCKBITMAP Displays the current Groupo block diagram.
The inode enters the first inode of the current group.
INODEBITMAP Displays the Inode binaries for the current group.
Inode mode
Dir into directory mode.
File is entered in the files mode.