Change external HDD mount behavior
|
13th Sep, 2016, 03:25 AM
Post: #11
|
|||
|
|||
RE: Change external HDD mount behavior
(12th Sep, 2016 11:35 PM)daharn Wrote: I have tested this with an USB stick whose mount point was deleted properly when the label contained no white spaces but remained as an empty folder when it did. There is no newer version and it is not configurable A simple solution could be changing line 273 of file /usr/local/sbin/usbmount to Code: findmnt -S "$DEVNAME" -n -o fstype,target -r | sed 's/\\x20/ /g' | sort -k2r \ This changes \x20 to ' ' Tested it here and it works |
|||
« Next Oldest | Next Newest »
|