Ext2ed can directly process data on hard disk partitions. This command is only available in Red Hat Linux.
Syntax
Ext2ed
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 <NO.> enter the specified group, that is, the Group mode.
- Cd <directory or file> in inode mode, enter the specified directory or file, that is, Inode mode.
- Superblock mode
- Gocopy <backup number> to 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.