Change default Network storage (nas) disk name / mount

Hello. Is there any way to change default NAS mount point where USB flash mouts from /tmp/mountd/disk1_part1 ?

Now if I manually mount USB Flash to /storage - NAS is not working (don’t load shared folders when i want to add it) and I can’t find way to change it.

Hi

Could you clarify why you need to change the mount point of the USB device to a different location?

If it’s only for easier access via SSH, you might consider using a symbolic link instead:

ln -s /tmp/mountd/disk1_part1 /storage

Thanks for the reply, will.qiu.
I need it for some docker tricks.
Tho, I’ve found that /tmp/mountd/disk1_part1 is hardcoded in /usr/bin/gl_nas_client, /usr/bin/gl_nas_sys and etc.. and think there’s no way to change it except recompiling those ELF…

…and for future researchers: manually editing /etc/config/gl_nas/disk.db changes nothing and just breaking NAS functionality.

Sorry for the late reply.

If this is related to Docker, we believe that directly specifying directory for docker using under /tmp/mountd/disk1_part1 should not be an issue. As well as using a symbolic link should work properly with Docker.

Could you clarify whether this is causing any specific problems on your end?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.