
gksudo gedit /etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=noop"sudo update-grub2for h in /dev/sd?; do if [ `sudo hdparm -I $h | grep TRIM | wc -l` != 0 ]; then sudo hdparm -I $h | egrep "/dev/|Model"; fi; donegksudo gedit /etc/fstabnone /tmp tmpfs nodev,nosuid,mode=1777 0 0UUID=0c4de1f6-b77b-49d7-bccf-63c4268e8f43 / ext4 errors=remount-ro 0 1
errors=remount-ro
errors=remount-ro,noatimeerrors=remount-ro,noatime,discardsudo rm -rf /tmp/*
sudo rebootabout:configbrowser.cache.disk.parent_directory/tmp





(gedit:4862): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
sudo mkdir -p /root/.local/sharenone /tmp tmpfs nodev,nosuid,mode=1777 0 0
cat /etc/mtabmount



Vincent Vermeulen wrote:First the easy part, at the end of this file add the following two lines. These change it so temporary files are stored in memory instead of on your SSD.
- Code: Select all
none /tmp tmpfs nodev,nosuid,mode=1777 0 0
none /var/tmp tmpfs nodev,nosuid,mode=1777 0 0


dfnone /tmp tmpfs nodev,nosuid,mode=1777,size=25% 0 0





Since it shows "/dev/sda" I suppose it does (?), but should I be careful about the "bad/missing" messages, or can I simply proceed?Vincent Vermeulen wrote:...
- Code: Select all
for h in /dev/sd?; do if [ `sudo hdparm -I $h | grep TRIM | wc -l` != 0 ]; then sudo hdparm -I $h | egrep "/dev/|Model"; fi; done
Did it list your SSD? ...
for h in /dev/sd?; do if [ `sudo hdparm -I $h | grep TRIM | wc -l` != 0 ]; then sudo hdparm -I $h | egrep "/dev/|Model"; fi; done
/dev/sda:
Model Number: OCZ-AGILITY3
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00






xenopeek wrote:below I share the old way of enabling TRIM for your SSD (with the discard keyword), but it seems these days that is better done as per this article: http://www.webupd8.org/2013/01/enable-t ... rives.html[/color]



Users browsing this forum: Bing [Bot], Google Adsense [Bot] and 35 guests