Linux Command Encyclopedia disk maintenance: ext2ed

Source: Internet
Author: User
Keywords Linux Command Encyclopedia ext2ed disk maintenance
Tags added aliyun can directly command encyclopedia data directory disk disk maintenance

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.