Ahci(4) needed for TRIM
-
The old regex worked fine when I tested it, e.g.
$ cat test.txt ad0 da0 ada0 $ grep '^[ad][da]a*[0-9]\{1,2\}$' test.txt ad0 da0 ada0 $ ls /dev | grep '^[ad][da]a*[0-9]\{1,2\}$' ad4 ad6 ada0 ada1 da0
The newer one is definitely better, but the old one wasn't broken on any system I tried it on.
-
This thread got TRIM enabled on an AMD64. Curious if "time" is the best optimization method or if it's even worth looking into.
[2.1-RC1][admin@pfsense.router]/(2): tunefs -p /
tunefs: POSIX.1e ACLs: (-a) disabled
tunefs: NFSv4 ACLs: (-N) disabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) disabled
tunefs: gjournal: (-J) disabled
tunefs: trim: (-t) enabled
tunefs: maximum blocks per file in a cylinder group: (-e) 2048
tunefs: average file size: (-f) 16384
tunefs: average number of files in a directory: (-s) 64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o) time
tunefs: volume label: (-L)