ÂsÄý³æ­Ó¤å³¹
¦Bªº°ÕÅ]¤ý¤j¤H
Senior Member
 
¦Bªº°ÕÅ]¤ý¤j¤Hªº¤jÀY·Ó
 

¥[¤J¤é´Á: Apr 2017
±zªº¦í§}: (¢£-_-)¢£ ~ ùäùä
¤å³¹: 1,391
³ø§i¤@¤UÃö©ó FreeBSD ¨t²Î¶}±Ò TRIM, °O±o¥»¯¸¨t²Î«Ü¦ÑÂÂ,¤]³\¤£¬O 8.2¡H
¶X¾÷¤É¯Å·sª©OS»P·s¥D¾÷,§âRAM´¡º¡~~

-------------
For UFS2 file systems, on FreeBSD 8.2+ you can use the tunefs utility to enable trim after installation or by going into a shell before rebooting during the installer.

Make sure the file system is not mounted read/write (such as in single user mode)

Single user mode
mount
tunefs -t enable /dev/ada0p2
Replace ada0p2 with your disk.

If you're using ZFS, older versions of FreeBSD do not support TRIM. There was some work to add trim support into newer versions of FreeBSD (10+?) , but it would be enabled through the ZFS commands rather than tunefs.
__________________
------------------------------------------------------
³o´N¬O Elon Musk Ãö°±USAIDªº¯u¬Û:


COVID-19¬O¬ü°êUSAID³yªº¥Íª«ªZ¾¹ !!!

¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ¢æ
(Youtube¼v¤ù)§¹³J¤F¨S·dÀY¤F ³£¸Ó©Ç¦ò©_¦h¸Ü
---¦ò©_ªº¼v¤ù³ºµM³Q©Þ±¼? ¤F¸É¤W ¿ûÅK¤Hªº "DOGE" ¤£¿ù¬Ý!

1

2

3

ÂÂ 2018-04-23, 06:00 PM #157
¦^À³®É¤Þ¥Î¦¹¤å³¹
¦Bªº°ÕÅ]¤ý¤j¤HÂ÷½u¤¤