Fixed typos, titles and spacing

This commit is contained in:
Michele Cereda
2022-04-17 23:12:11 +02:00
parent af19baf99f
commit 0eedb247ee
3 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ sudo findmnt -no UUID -T /swap/swapfile
curl --location --output /tmp/btrfs_map_physical.c https://raw.githubusercontent.com/osandov/osandov-linux/master/scripts/btrfs_map_physical.c
gcc -O2 -o /tmp/btrfs_map_physical /tmp/btrfs_map_physical.c
chmod a+x /tmp/btrfs_map_physical
physical_offset=$(sudo /tmp/btrfs_map_physical /swap/swapfile | awk '$1==0 {print $NF}') # last column of the line starting with 0
physical_offset=$(sudo /tmp/btrfs_map_physical /swap/swapfile | awk '$1==0 {print $NF}') # last column of the line starting with 0
resume_offset=$(( ${physical_offset} / $(getconf PAGESIZE) ))
# configure the bootloader