From 5f644b95a38bdc28d00e0ee2a473cd423f0f7e9c Mon Sep 17 00:00:00 2001 From: boo3 Date: Thu, 16 Jan 2025 03:00:41 +0100 Subject: [PATCH] fixed that binds cant be trashed --- setupstorage.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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