Para não esquecer:

alessandro@lowbacca:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=4de13f3d-2b5e-42d9-a619-0610751b4ed5 / ext4 discard,noatime,nodiratime,errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=1537-F1DA /boot/efi vfat defaults 0 1
# swap was on /dev/sda3 during installation
UUID=329ce641-d60d-4f54-a5d5-386cc03c6b87 none swap sw 0 0
UUID=69fb5b03-140c-4756-961c-6eead58cb9a1 /home ext4 defaults 0 2
# Montando partições NTFS
UUID=01CED8CAEA48B530 /dados ntfs-3g defaults 0 0
# Modification for SSD
tmpfs /var/log tmpfs defaults,noatime 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

alessandro@lowbacca:~$ cat /etc/rc.local 
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Modification for SSD
echo deadline > /sys/block/sda/queue/scheduler
echo deadline > /sys/block/sdb/queue/scheduler
echo 1 > /sys/block/sdb/queue/iosched/fifo_batch
for dir in apparmor apt cups dist-upgrade fsck gdm installer samba unattended-upgrades ;
do
 if [ ! -e /var/log/$dir ] ; then
 mkdir /var/log/$dir
 fi
done
exit 0
alessandro@lowbacca:~$
Categorias: Linux