mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:53:52 +02:00
debugfs: add page (#4409)
This commit is contained in:
parent
7bf8d29224
commit
1659ff508b
1 changed files with 27 additions and 0 deletions
27
pages/linux/debugfs.md
Normal file
27
pages/linux/debugfs.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# debugfs
|
||||
|
||||
> An interactive ext2/ext3/ext4 filesystem debugger.
|
||||
|
||||
- Open the filesystem in read only mode:
|
||||
|
||||
`debugfs {{/dev/sdXN}}`
|
||||
|
||||
- Open the filesystem in read write mode:
|
||||
|
||||
`debugfs -w {{/dev/sdXN}}`
|
||||
|
||||
- Read commands from a specified file, execute them and then exit:
|
||||
|
||||
`debugfs -f {{path/to/cmd_file}} {{/dev/sdXN}}`
|
||||
|
||||
- View the filesystem stats in debugfs console:
|
||||
|
||||
`stats`
|
||||
|
||||
- Close the filesystem:
|
||||
|
||||
`close -a`
|
||||
|
||||
- List all available commands:
|
||||
|
||||
`lr`
|
Loading…
Add table
Reference in a new issue