Debian/Ubuntu: Mention blkdiscard

Inspired by PR #387

Co-authored-by: Maurice Zhou <ja@apvc.uk>
[The author of PR #387.]
This commit is contained in:
Richard Laager
2023-02-15 12:49:44 -06:00
parent e51faf4e81
commit 2efebdb5db
2 changed files with 10 additions and 0 deletions

View File

@@ -189,6 +189,11 @@ Step 2: Disk Formatting
wipefs -a $DISK wipefs -a $DISK
For flash-based storage, if the disk was previously used, you may wish to
do a full-disk discard (TRIM/UNMAP), which can improve performance::
blkdiscard -f $DISK
Clear the partition table:: Clear the partition table::
sgdisk --zap-all $DISK sgdisk --zap-all $DISK

View File

@@ -203,6 +203,11 @@ Step 2: Disk Formatting
wipefs -a $DISK wipefs -a $DISK
For flash-based storage, if the disk was previously used, you may wish to
do a full-disk discard (TRIM/UNMAP), which can improve performance::
blkdiscard -f $DISK
Clear the partition table:: Clear the partition table::
sgdisk --zap-all $DISK sgdisk --zap-all $DISK