Ext2ed (ext2filesystemeditor) function description: ext2 file system editing program. Syntax: ext2ed supplement: ext2ed can directly process data on hard disk partitions. This command is only available in RedHatLinux. Parameter: the general command setdevice [Device Name] specifies the device to process. Disablewrite sets ext2ed to read-only. Enablewrite sets ext2ed to read/write status. H
Ext2ed (ext2 file system editor)
Function description: ext2 file system editing program.
Syntax: ext2ed
Note: ext2ed can directly process data in hard disk partitions. This command is only available in Red Hat Linux.
Parameters:
General Commands
Setdevice [Device Name] specifies the device to process.
Disablewrite sets ext2ed to read-only.
Enablewrite sets ext2ed to read/write status.
Help [command] displays the help of some commands.
Next is moved to the next unit. the unit varies according to the current mode.
The prev is moved to the previous unit. the unit varies according to the current mode.
Move pgup to the next page.
Move pgdn to the previous page.
Set modifies the current data. the parameters vary according to the current mode.
After executing this command, writedata will actually modify the data in the partition.
Ext2 commands in three modes
Super enters the main superblock mode, that is, Superblock mode.
Group <编号> Enter the specified group, that is, the Group mode.
Cd <目录或文件> In inode mode, enter the specified directory or file, that is, Inode mode.
Superblock mode
Gocopy <备份编号> Go to the specified superblock backup.
Setactivecopy copies the current superblock to the main superblock.
Group mode
Blockbitmap shows the current block map of groupo.
Inode enters the first inode of the current group.
Inodebitmap displays the inode binary code of the current group.
Inode mode
Dir enters the directory mode.
File enters the file mode.