1 |
Am 25.11.2012 16:36, schrieb Jacques Montier: |
2 |
> Hi all, |
3 |
> |
4 |
> I bought a 250Go SSD M4 Crucial , read (of course) Gentoo documentation |
5 |
> and installed the drive on my desktop pc (Asus MB, Intel ie7 and 6Go RAM). |
6 |
> |
7 |
> 1- Everything seems to work perfectly, but i would like to know if my |
8 |
> configuration is ok or could be optimized. |
9 |
> |
10 |
> /dev/sda1 /boot ext2 defaults,noatime,discard 1 2 |
11 |
|
12 |
You don't need to specify "defaults" when there is any other option |
13 |
present. Defaults is just there so that the column is not empty if you |
14 |
do not specify any option. |
15 |
|
16 |
> /dev/sda2 / ext4 defaults,noatime,nodiratime,discard 0 1 |
17 |
|
18 |
noatime implies nodiratime. Specifying both is redundant. |
19 |
|
20 |
> /dev/sda3 /var ext4 defaults,noatime,nodiratime,discard 0 0 |
21 |
> /dev/sdb1 /mnt/donnees ntfs-3g auto,uid=jacques,gid=users,umask=0022 0 0 |
22 |
> /dev/sdb2 none swap sw 0 0 |
23 |
|
24 |
Swap on SSD would be faster but I guess you want to avoid the additional |
25 |
writes. |
26 |
|
27 |
> /dev/sdb5 /usr/portage ext4 defaults,noatime,nodiratime 0 0 |
28 |
> /dev/sdb6 /var/tmp ext4 defaults,noatime,nodiratime 0 0 |
29 |
> /dev/sdb7 /home ext4 defaults,noatime,nodiratime 0 0 |
30 |
|
31 |
For home, auto_da_alloc trades a little performance for additional |
32 |
security against stupid applications that forget to fsync(). |
33 |
|
34 |
> /dev/sdb8 /mnt/disk_virt ext4 defaults,noatime,nodiratime 0 0 |
35 |
|
36 |
|
37 |
Regards, |
38 |
Florian Philipp |