From 6bd488b66f5cde27b802a90774ad149ab8f070c1 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 18 Jan 2025 00:16:28 +0000 Subject: [PATCH] Update cheatsheets --- tldr/linux/dump.exfat | 13 +++++++++++++ tldr/linux/systemd-analyze | 4 ++++ tldr/linux/tune.exfat | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 tldr/linux/dump.exfat create mode 100644 tldr/linux/tune.exfat diff --git a/tldr/linux/dump.exfat b/tldr/linux/dump.exfat new file mode 100644 index 00000000..5569899d --- /dev/null +++ b/tldr/linux/dump.exfat @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# dump.exfat + +> Show on-disk information of an exFAT filesystem. +> More information: . + +- Print on-disk information for a given filesystem: + +`dump.exfat {{/dev/sdXY}}` diff --git a/tldr/linux/systemd-analyze b/tldr/linux/systemd-analyze index 639b8528..8e9e5d68 100644 --- a/tldr/linux/systemd-analyze +++ b/tldr/linux/systemd-analyze @@ -9,6 +9,10 @@ source: https://github.com/tldr-pages/tldr.git > Show timing details about the boot process of units (services, mount points, devices, sockets). > More information: . +- Print the last system startup time: + +`systemd-analyze` + - List all running units, ordered by the time they took to initialize: `systemd-analyze blame` diff --git a/tldr/linux/tune.exfat b/tldr/linux/tune.exfat new file mode 100644 index 00000000..f226b68d --- /dev/null +++ b/tldr/linux/tune.exfat @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# tune.exfat + +> Adjust tunable filesystem parameters on an exFAT filesystem. +> More information: . + +- Print the volume label of a filesystem: + +`tune.exfat {{-l|--print-label}} {{/dev/sdXY}}` + +- Set the volume label of a filesystem: + +`tune.exfat {{-L|--set-label}} {{new_label}} {{/dev/sdXY}}` + +- Print the volume GUID of a filesystem: + +`tune.exfat {{-u|--print-guid}} {{/dev/sdXY}}` + +- Set the volume GUID of a filesystem: + +`tune.exfat {{-U|--set-guid}} {{new_guid}} {{/dev/sdXY}}` + +- Print the volume serial of a filesystem: + +`tune.exfat {{-i|--print-serial}} {{/dev/sdXY}}` + +- Set the volume serial of a filesystem: + +`tune.exfat {{-I|--set-serial}} {{new_serial}} {{/dev/sdXY}}`