android-file-transfer-linux icon indicating copy to clipboard operation
android-file-transfer-linux copied to clipboard

Name volume after device or mountpoint

Open cpcallen opened this issue 6 years ago • 4 comments

After running

$mkdir ~/pixel
aft-mtp-mount ~/pixel

My device is mounted on ~/Pixel as expected, but Finder shows the mounted volume with the name OSXFUSE Volume 0 (aft-mtp-mount). It would be great if the mounted volume was named for the device (System Information says it's "Pixel") or at least the mountpoint ("pixel"), rather than this long and somewhat uninformative string.

cpcallen avatar May 15 '19 13:05 cpcallen

@cpcallen This is common problem across OSXFuse on macOS and should be reported upstream.

It's reproducible with ntfs-3g, ext2-fuse, SSHFS and others.

yurikoles avatar May 15 '19 13:05 yurikoles

All you have to do is pass the -o volname=Name parameter. This is not an FUSE bug. You are simply not providing a name for the mounted volume.

bfleischer avatar May 15 '19 18:05 bfleischer

if you can find an example how to provide volume name via fuse ops or any fuse api, I can add it no problem.

whoozle avatar May 18 '19 17:05 whoozle

As noted by @bfleischer, the command aft-mtp-mount -o volname=Pixel ~/pixel did indeed mount my device with the volume name "Pixel". It would be great if that or something like it was the default.

cpcallen avatar May 19 '19 11:05 cpcallen