Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Drive_Manager | Fix handling mount sources and targets with spaces #3497

Merged
merged 8 commits into from
May 1, 2020

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented May 1, 2020

+ DietPi-Drive_Manager | Fix handling mount sources and targets with spaces
@MichaIng MichaIng added this to the v6.29 milestone May 1, 2020
MichaIng added 7 commits May 1, 2020 17:15
+ DietPi-Drive_Manager | Samba: Encode spaces to \040 for fstab only
+ DietPi-Drive_Manager | Syntax
+ DietPi-Drive_Manager | Remove leading white space from numerical findmnt output
+ DietPi-Drive_Manager | findmnt also prints multiple matches in case of bind mounts, hence use only first match for mount target and use this mount target (which is unique) to get SIZE, USED and USE%. ToDo: Probably we should simply skip df "-a" option which excludes pseudo file systems like bind mounts. As long as all known network file systems are still shown, it is fine, since we want to exclude everything else anyway.
+ DietPi-Drive_Manager | Fix menu categories for network drives, if those contain spaces, double quote aDRIVE_SOURCE_DEVICE as well in all cases, mainly to handle network shares drives correctly where aDRIVE_SOURCE_DEVICE == aDRIVE_MOUNT_SOURCE. Handle network drives as well explicitly in Return_Drive_Without_Partitions function.
+ DietPi-Drive_Manager | Fix Return_Drive_Without_Partitions
+ CHANGELOG | DietPi-Drive_Manager: Resolved an issue where Samba/SMB/CIFS mounts failed if the shares name contained white spaces
@MichaIng MichaIng merged commit 6a73754 into dev May 1, 2020
@MichaIng MichaIng deleted the drive_manager branch May 1, 2020 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DietPi-Drive_Manager / issue while mounting CIFS shares containing spaces
1 participant