mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore: reserved blocks in linux
This commit is contained in:
7
snippets/filesystems.sh
Normal file
7
snippets/filesystems.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#/usr/bin/env sh
|
||||
|
||||
# Get the *sector* size of partitions in 512-byte sectors
|
||||
sudo blockdev --getsz '/dev/nvme0n1p1'
|
||||
|
||||
# Get the *block* size of partitions
|
||||
sudo blockdev --getbsz '/dev/nvme0n1p1'
|
||||
Reference in New Issue
Block a user