Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-16 00:31:59 +00:00
parent bac2b335ce
commit 6ccb3a7063
25 changed files with 52 additions and 39 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# dutree
> Analyze file system usage with colorful text-based trees.
> Analyze filesystem usage with colorful text-based trees.
> More information: <https://github.com/nachoparker/dutree#usage>.
- Show a graphical tree of the current directory:

View File

@@ -25,6 +25,6 @@ source: https://github.com/tldr-pages/tldr.git
`e2undo -v {{path/to/undo_file}} {{/dev/sdXN}}`
- Write the old contents of the block to an undo file before overwriting a file system block:
- Write the old contents of the block to an undo file before overwriting a filesystem block:
`e2undo -z {{path/to/file.e2undo}} {{path/to/undo_file}} {{/dev/sdXN}}`

View File

@@ -5,10 +5,10 @@ source: https://github.com/tldr-pages/tldr.git
---
# grub-mount
> Mount a file system or file system image read-only using GRUB's file system drivers.
> Mount a filesystem or filesystem image read-only using GRUB's filesystem drivers.
> More information: <https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmount>.
- Mount a block device or file system image to a mount point:
- Mount a block device or filesystem image to a mount point:
`grub-mount {{/dev/sdXY}} {{/mnt}}`

View File

@@ -5,14 +5,14 @@ source: https://github.com/tldr-pages/tldr.git
---
# pacfile
> Display information about package files, including repository data, file system checks, and database comparisons.
> Display information about package files, including repository data, filesystem checks, and database comparisons.
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacfile.pod>.
- List all available packages:
`pacfile {{path/to/file_or_directory}}`
- Compare database values to the file system:
- Compare database values to the filesystem:
`pacfile {{path/to/file_or_directory}} --check`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# runlim
> Sample and limit time and memory usage of a program and its child processes using the proc file system on Linux.
> Sample and limit time and memory usage of a program and its child processes using the proc filesystem on Linux.
> More information: <https://fmv.jku.at/runlim/>.
- Print the time and memory usage of a command:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# systemd-dissect
> Introspect and interact with file system OS disk images, specifically Discoverable Disk Images (DDIs).
> Introspect and interact with filesystem OS disk images, specifically Discoverable Disk Images (DDIs).
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-dissect.html>.
- Show general image information about the OS image:

View File

@@ -8,19 +8,19 @@ source: https://github.com/tldr-pages/tldr.git
> Establish and destroy transient mount or auto-mount points.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-mount.html>.
- Mount a file system (image or block device) at `/run/media/system/LABEL` where LABEL is the filesystem label or the device name if there is no label:
- Mount a filesystem (image or block device) at `/run/media/system/LABEL` where LABEL is the filesystem label or the device name if there is no label:
`systemd-mount {{path/to/file_or_device}}`
- Mount a file system (image or block device) at a specific location:
- Mount a filesystem (image or block device) at a specific location:
`systemd-mount {{path/to/file_or_device}} {{path/to/mount_point}}`
- List all local, known block devices with file systems that may be mounted:
- List all local, known block devices with filesystems that may be mounted:
`systemd-mount --list`
- Create an automount point that mounts the actual file system at the time of first access:
- Create an automount point that mounts the actual filesystem at the time of first access:
`systemd-mount --automount yes {{path/to/file_or_device}}`
@@ -28,10 +28,10 @@ source: https://github.com/tldr-pages/tldr.git
`systemd-mount {{[-u|--umount]}} {{path/to/mount_point_or_device1 path/to/mount_point_or_device2 ...}}`
- Mount a file system (image or block device) with a specific file system type:
- Mount a filesystem (image or block device) with a specific filesystem type:
`systemd-mount {{[-t|--type]}} {{file_system_type}} {{path/to/file_or_device}} {{path/to/mount_point}}`
- Mount a file system (image or block device) with additional mount options:
- Mount a filesystem (image or block device) with additional mount options:
`systemd-mount {{[-o|--options]}} {{mount_options}} {{path/to/file_or_device}} {{path/to/mount_point}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Automatically grow and add partitions.
> Grows and adds partitions based on the configuration files described in repart.d.
> Does not automatically resize file system on partition. See systemd-growfs to extend file system.
> Does not automatically resize filesystem on partition. See systemd-growfs to extend filesystem.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-repart.html>.
- Grow the root partition (/) to all available disk space:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xmount
> Convert on-the-fly between multiple input and output hard disk image types with optional write cache support.
> Create a virtual file system using FUSE (Filesystem in Userspace) that contains a virtual representation of the input image.
> Create a virtual filesystem using FUSE (Filesystem in Userspace) that contains a virtual representation of the input image.
> More information: <https://manned.org/xmount>.
- Mount a `.raw` image file into a DMG container file: