I use OpenMediaVault, a NAS software on top of Debian Wheezy. This system usually mounts the file systems at /media/, but that is cumbersome to type and to identify.
As such, I've modified my
fstab file to bind mount two file systems to different locations. Check the last two lines of my
UUID=e2063e64-379f-4d8f-a8c4-75c1439636d6 / ext4 errors=remount-ro 0 1 UUID=e5187843-c48d-411c-8716-fc35901d7901 none swap sw 0 0 # >>> [openmediavault] UUID=4d98f9b3-512f-4d8b-96c6-4c6c4caaab40 /media/4d98f9b3-512f-4d8b-96c6-4c6c4caaab40 xfs defaults,nofail,noexec,usrquota,grpquota 0 2 UUID=52efb2d8-3120-4113-88b0-01531f784ae7 /media/52efb2d8-3120-4113-88b0-01531f784ae7 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 # <<< [openmediavault] # Remount /home with executable permissions UUID=52efb2d8-3120-4113-88b0-01531f784ae7 /media/52efb2d8-3120-4113-88b0-01531f784ae7 none remount,exec 0 0 # Bind mount already-mounted filesystems to additional locations /media/4d98f9b3-512f-4d8b-96c6-4c6c4caaab40 /storage none bind 0 0 /media/52efb2d8-3120-4113-88b0-01531f784ae7 /home none bind 0 0
This works nicely but has one small "issue". Applications which lists all the mounted partitions will have duplicate mount points for those two mounts, one from the
/media/<uuid> and the other from the bind mount.
Of course, they both point to the same exact location and both work. But I'd like these applications to just list one of those mount points and the more recognizable ones. In my real example, that is
Is this even possible?