Hi there,
I’ve used dietpi-drive_manager to mount some *nix system drives as network drives, but they seem to be mounted case-insensitive? Thats great for WIndows shares/network mounts, but for *nix systems the FS’s are case sensative.
How can I mount a network share that is on a remote *nix system as a case sensitive network drive on the pi?
Does dietpi-drive_manager detect this or is it part of the external system mount share (eg samba, etc.)?
Hi,
can you be a little bit more specific. What kind of share do you like to mount? Is this a SAMBA or NFS share?
Sorry, these were mounted as samba shares on other *nix systems, some from dietpi’s
I’ve believe found the setting to make them case sensitive samba shares on *nix here
I’m guessing dietpi assumes Windows access for samba shares when samba is installed - perhaps this can be reconsidered even though by default Windows is usually case-insensitive, setting the case sensitive = auto setting allows for both:
“The default setting of auto allows clients that support case sensitive filenames (Linux CIFSVFS and smbclient 3.0.5 and above currently) to tell the Samba server on a per-packet basis that they wish to access the file system in a case-sensitive manner (to support UNIX case sensitive semantics). No Windows or DOS system supports case-sensitive filename so setting this option to auto is that same as setting it to no for them. Default auto.”
But this seems more like a server setting. If you use drive manager, your Pi is acting as client.
That is correct, I’m using both. However it looks like when installing Samba Server (with deitpi-software) the defaults in /etc/samba/smb.conf get setup to share the local devices on the network. That is where the settings appear to be for case sensitivity.
honestly I’m not 100% where your issue is.
if you setup a samba server, a default smb.conf will be created to share a default dietpi folder. if you like you can adjust smb.conf on your needs to share other folder or change settings.
by default the smb.conf should have ‘case sensitive = auto’. This becomes an issue when admins have a large number of RPI’s and editing the defaul smb.conf defaults is a waste of time. There are apps that require case sensitivity with shares (urbackup is one)
If I understood SMB documentation correctly, default setting is auto https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#CASESENSITIVE
Default: case sensitive = auto
Why should it be added to a config file if it is default anyway?