############################################################ # 🛠️ Mount Configuration Table for Mount Script # Format: | | | | | | | | | # # : NFS-CIFS : REQ : Hostname : ket.inxs.be # : NFS-CIFS-BINDFS : REQ : Share name or folder : /media/media # : NFS-CIFS-BINDFS : REQ : Mount Point : /lxc_sahres/media # : NFS-CIFS-BINDFS : REQ : Technology Used : CIFS # : NFS-CIFS-BINDFS : REQ : Presented user : dbi # : NFS-CIFS-BINDFS : REQ : Presented group : fs_data # : CIFS : REQ : File Perms : 0770 # : BINDFS : REQ : Presented perms : u=rwX:g=rwX # : BINDFS : OPT : Applied user : caddy # : BINDFS : OPT : Applied file perms : 0777 # # # - Fields must be separated by '|' with optional spaces # - Lines starting with '#' are comments # - Use '-' for unused fields # # TYPE values: # - cifs : for Windows/Samba shares (requires /etc/.smb_credentials) # - nfs : for Unix NFS exports # - bindfs : for overlaying a local path with user/group/permission mapping # # Example values: # UID/GID : 'media', '1000', etc. # MODE : e.g. 0770 for cifs/nfs # VIEW_PERMS : e.g. u=rwx:g=rwX:o=rX # FILE/DIR PERMS : e.g. 0644 / 0755 # # CIFS: shows as 'uid/gid', applies mode # NFS : applies options through 'mode' # BINDFS: shows as uid/gid, view_perms controls mount appearance, # create_user and file/dir perms control what gets applied on new files ############################################################ # ▶️ CIFS EXAMPLE #ket.inxs.be | scripts | /opt/scripts_remote | cifs | dbi | fs_data | 0777 | - | - | - #ket.inxs.be | backup | /media/backup | cifs | dbi | fs_data | 0777 | - | - | - #ket.inxs.be | software | /media/software | cifs | dbi | fs_data | 0777 | - | - | - #ket.inxs.be | movies | /media/movies | cifs | dbi | fs_data | 0777 | - | - | - # ▶️ NFS EXAMPLE ket.inxs.be | /export/backup | /media/backup | nfs | - | - | - | - | - | - ket.inxs.be | /export/media | /media/media | nfs | - | - | - | - | - | - ket.inxs.be | /export/public | /media/public | nfs | - | - | - | - | - | - ket.inxs.be | /export/scripts | /opt/scripts_remote | nfs | - | - | - | - | - | - # ▶️ BINDFS EXAMPLE (mapped for appearance & creation) #- | /data/media | /export/media | bindfs | media | mediausers | - | u=rwX:g=rwX | authelia | 0644 # ▶️ BINDFS EXAMPLE (mapped for appearance & creation) - | /etc/caddy | /opt/git/caddy | bindfs | 2222 | 2222 | - | u=rwx:g=rwx:o= | caddy | - - | /opt/scripts_local | /opt/git/scripts_local | bindfs | 2222 | 2222 | - | u=rwx:g=rwx:o= | dbi | 0775 - | /opt/scripts_remote | /media/scripts | bindfs | 2222 | 3333 | - | u=rwx:g=rwx:o= | dbi | 0775 # ▶️ BINDFS EXAMPLE (appearance only) #- | /srv/configs | /mnt/configs | bindfs | root | root | - | u=rwx:g=rx | - | - ############################################################ # ⚠️ IMPORTANT: # - Paths must not contain unescaped spaces. # - All fields are required (use '-' if not applicable). # - The script will skip lines with invalid formats silently.