Hi
I followed the steps in Help Guide and stopped in this point.
This is my original 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/sda1 during installation
UUID=3675cb98-88ea-4020-aa45-03f6f2cd64c3 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=96b87783-47cb-4268-b3a2-0e5d63e770a6 none swap sw 0 0
After including noatime, :
# /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/sda1 during installation
UUID=3675cb98-88ea-4020-aa45-03f6f2cd64c3 / ext4 noatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=96b87783-47cb-4268-b3a2-0e5d63e770a6 none swap sw 0 0
because my ssd only have / partition, my edited rc.local file should be:
#!/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.
LOG=/var/log/trim.log
echo “*** $(date -R) ***” >> $LOG
fstrim -v / >> $LOG
echo " " >> $LOG
exit 0
Or should I keep the original rc.local file containing /boot and /home? I’m not sure
Thanks for help
I followed the steps in Help Guide and stopped in this point.
This is my original 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/sda1 during installation
UUID=3675cb98-88ea-4020-aa45-03f6f2cd64c3 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=96b87783-47cb-4268-b3a2-0e5d63e770a6 none swap sw 0 0
After including noatime, :
# /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/sda1 during installation
UUID=3675cb98-88ea-4020-aa45-03f6f2cd64c3 / ext4 noatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=96b87783-47cb-4268-b3a2-0e5d63e770a6 none swap sw 0 0
because my ssd only have / partition, my edited rc.local file should be:
#!/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.
LOG=/var/log/trim.log
echo “*** $(date -R) ***” >> $LOG
fstrim -v / >> $LOG
echo " " >> $LOG
exit 0
Or should I keep the original rc.local file containing /boot and /home? I’m not sure
Thanks for help