mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 15:42:03 +00:00
18 lines
399 B
Plaintext
18 lines
399 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# mkfs.cramfs
|
|
|
|
> Create a ROM filesystem inside a partition.
|
|
> More information: <https://manned.org/mkfs.cramfs>.
|
|
|
|
- Create a ROM filesystem inside partition 1 on device b (`sdb1`):
|
|
|
|
`mkfs.cramfs {{/dev/sdb1}}`
|
|
|
|
- Create a ROM filesystem with a volume-name:
|
|
|
|
`mkfs.cramfs -n {{volume_name}} {{/dev/sdb1}}`
|