diff --git a/setupstorage.sh b/setupstorage.sh index 14b3f36..4a1c446 100644 --- a/setupstorage.sh +++ b/setupstorage.sh @@ -40,16 +40,16 @@ done # Array of lines to add to /etc/fstab fstab_entries=( - "/mnt/storage/.fstab/Projects /home/boo3/Applications none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/Engine /home/boo3/Developer/UnrealEngine/Engine none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/Vault /home/boo3/Developer/UnrealEngine/Vault none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/Games /home/boo3/Games/HDD none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/virtualization/hdd /home/boo3/.virtualization/storage/hdd none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/virtualization/installer /home/boo3/.virtualization/storage/installer none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/Downloads /home/boo3/Downloads none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/Music /home/boo3/Music none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/Pictures /home/boo3/Pictures none bind,x-gvfs-hide 0 0" - "/mnt/storage/.fstab/Videos /home/boo3/Videos none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/Projects /home/boo3/Applications none bind 0 0" + "/mnt/storage/.fstab/Engine /home/boo3/Developer/UnrealEngine/Engine none bind 0 0" + "/mnt/storage/.fstab/Vault /home/boo3/Developer/UnrealEngine/Vault none bind 0 0" + "/mnt/storage/.fstab/Games /home/boo3/Games/HDD none bind 0 0" + "/mnt/storage/.fstab/virtualization/hdd /home/boo3/.virtualization/storage/hdd none bind 0 0" + "/mnt/storage/.fstab/virtualization/installer /home/boo3/.virtualization/storage/installer none bind 0 0" + "/mnt/storage/.fstab/Downloads /home/boo3/Downloads none bind 0 0" + "/mnt/storage/.fstab/Music /home/boo3/Music none bind 0 0" + "/mnt/storage/.fstab/Pictures /home/boo3/Pictures none bind 0 0" + "/mnt/storage/.fstab/Videos /home/boo3/Videos none bind 0 0" ) # Iterate over the array and add each entry to /etc/fstab if it doesn't already exist