Open nixpulvis opened 6 years ago
When developing this script, we mostly targeted partitions like /dev/sda1 but forgot about partitions like nvme0n1p1. We need to find a general method for selecting the nth partition of a target block device.
/dev/sda1
nvme0n1p1
When developing this script, we mostly targeted partitions like
/dev/sda1
but forgot about partitions likenvme0n1p1
. We need to find a general method for selecting the nth partition of a target block device.