From b2e76f1e51bcea104a37682313d05f72a6dde2a6 Mon Sep 17 00:00:00 2001 From: aiminick Date: Sun, 16 May 2021 21:34:12 +0800 Subject: [PATCH] Update external_usb_ssd_UAS.md --- docs/external_usb_ssd_UAS.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/external_usb_ssd_UAS.md b/docs/external_usb_ssd_UAS.md index ecf3154..46409ab 100644 --- a/docs/external_usb_ssd_UAS.md +++ b/docs/external_usb_ssd_UAS.md @@ -6,9 +6,9 @@ - **Main Controller:** ***ASM1153E*** - **Support:** UASP Transfer Protocol -#### OPEN Trim for external usb ssd +## OPEN Trim for external usb ssd -- **1. Check TRIM support** +#### 1. Check TRIM support** ``` sudo fstrim -v / @@ -26,7 +26,7 @@ sdb 0 0B 0B 0 If the **DISC-MAX** value is **0B**, then TRIM is not **enabled**. -- **2. Enable TRIM** +#### 2. Enable TRIM Find the USB **idVendor** and **idProduct** : @@ -45,7 +45,7 @@ ACTION=="add|change", ATTRS{idVendor}=="174c", ATTRS{idProduct}=="1153", SUBSYST Then reboot, the TRIM will be **enabled**. -- **4.Fstrim the SSD device** +#### 3.Fstrim the SSD device 1st time, run "**fstrim -v /**" successfull: @@ -62,7 +62,7 @@ sda 0 512B 4G 0 └─sda2 0 512B 4G 0 ``` -- **5.Automatic trimming** +#### 4.Automatic trimming The last thing you will need to do to make sure the TRIM command is run automatically in the background