Update 09/16/2015 – I have published an updated article for this here: http://blog.allanglesit.com/2012/08/bash-automatically-mount-file-systems-on-volume-group-if-present/ In my laptop I have a solid state disk, and frankly I am way past addicted to solid state disks, but what you get in performance you lose in capacity. As such I have had to be creative…
Bash: Programmatically Add Entries in fstab
So I have found that it is rather easy to add entries into /etc/fstab while maintaining relatively legible scripts and making the changes with minimal user interaction… METHOD ONE This option is the simplest, we simply echo the line into the file as we want it to appear, then based…