Skip to content

Commit

Permalink
make-extdrive: Enable USB trim
Browse files Browse the repository at this point in the history
  • Loading branch information
cdown committed Dec 30, 2023
1 parent 5a66b37 commit 5a4cad3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/make-extdrive
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ if [[ $device == *[0-9] ]]; then
exit 1
fi

enable-usb-trim "$device"

wipefs -a "$device"
sgdisk -Z "$device"
sgdisk -n 0:0:0 -c 1:"$label" "$device"
Expand Down

0 comments on commit 5a4cad3

Please sign in to comment.