dianlight / hassio-addons

Hassio.io
MIT License
134 stars 48 forks source link

Why automount add share with name in capital letters? #243

Open Mareckil opened 2 months ago

Mareckil commented 2 months ago

Addon

SambaNAS

Your request

Hi I need share name in lowercase letters, but SambaNAS create it in capitals, even if I manually deleted share and recreated it with name in lowercase letters, after reboot it comes up again with capitals preventing my manual definition from start. How to fix it?

dianlight commented 2 months ago

Cifs is not case sensitive is case preserving so upper or lower share name is the same. Why do you need a lower share name? Keep in mind that smb protocol 1 e 2 supports only uppercase share name, lower case name is an aesthetic thing introduced in smb version 3.

L

Mareckil commented 2 months ago

I need to use my usb drive for frigate so I used samba nas to mount my drive as /media/frigate but it /does it as /media/FRIGATE unfortunately frigate doesn't like it and crashes

dianlight commented 2 months ago

So is not the share name but the mount point name. Your problem, correct me if I'm wrong, is with frigate addon. I'm not in plan to implement a solution for frigate addon and I don't use it. In my opinion mount points need to preserve share names. In an old issue I found a solution with a change in the frigate configuration. I think you can find support on the frigate side.

L.

github-actions[bot] commented 6 days ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.