mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 01:50:04 +00:00
Update cheatsheets
This commit is contained in:
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show all messages by a specific [u]nit:
|
||||
|
||||
`journalctl -u {{unit}}`
|
||||
`journalctl --unit {{unit}}`
|
||||
|
||||
- Show logs for a given unit since the last time it started:
|
||||
|
||||
|
||||
25
tldr/linux/mkfs.erofs
Normal file
25
tldr/linux/mkfs.erofs
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mkfs.erofs
|
||||
|
||||
> Create an EROFS filesystem in an image.
|
||||
> More information: <https://erofs.docs.kernel.org/en/latest/>.
|
||||
|
||||
- Create an EROFS filesystem based on the root directory:
|
||||
|
||||
`mkfs.erofs image.erofs root/`
|
||||
|
||||
- Create an EROFS image with a specific UUID:
|
||||
|
||||
`mkfs.erofs -U {{UUID}} image.erofs root/`
|
||||
|
||||
- Create a compressed EROFS image:
|
||||
|
||||
`mkfs.erofs -zlz4hc image.erofs root/`
|
||||
|
||||
- Create an EROFS image where all files are owned by root:
|
||||
|
||||
`mkfs.erofs --all-root image.erofs root/`
|
||||
Reference in New Issue
Block a user