Peppermint OS Community Forum

Support => New Users => Topic started by: markba633csi on April 05, 2017, 03:01:28 pm

Title: re-mounting flash drive (solved)
Post by: markba633csi on April 05, 2017, 03:01:28 pm
How do I re-mount a flash drive without removing and replugging it?  I see it at first in file manager under devices, and can open it but if I click on it again it disappears; "un-mounts" I guess is the correct term.  Thanks.
(Peppermint 6)
Mark S.
ps if this happens to be a bug in 6, don't need a fix, not a major problem
MS
Title: Re: re-mounting flash drive
Post by: markba633csi on April 11, 2017, 06:52:35 pm
Anybody?
Mark S.
Title: Re: re-mounting flash drive
Post by: PCNetSpec on April 11, 2017, 07:01:22 pm
AFAIK It can't easily be done, basically because you'd need to restart the entire USB bus .. and even that might not force the devices controller to resend its vendor:device ID string
Title: Re: re-mounting flash drive
Post by: markba633csi on April 11, 2017, 09:01:04 pm
OK but why does it "un-mount" when clicked on? Is that actually a bug?  Why wouldn't it just stay mounted unless physically removed?  Obviously I don't understand how the USB bus-mastering works in detail,  but if the device is still hanging on the bus....oh well.   Signs and wonders. LOL
Mark S.
Title: Re: re-mounting flash drive
Post by: PCNetSpec on April 11, 2017, 09:10:01 pm
if you look closely in the left hand pane of the file manager you will see that when you mount a USB drive a little arrow appears next to it .. if you click that arrow it unmounts the drive. .. if you click on the name of the drive (but not on that little arrow) it should just reopen if it's still mounted.

So I can only assume that the first time you click it, it mounts and opens (and that little arrow appears to show it's mounted and give you a means of unmounting), the second time you're clicking on it you're not being careful not to click on the unmount arrow so you're unmounting it.

(https://i.imgur.com/6oj2yXx.png)
Title: Re: re-mounting flash drive
Post by: markba633csi on April 12, 2017, 03:37:24 pm
Ah yes I see now- Left clicking on the arrow will always demount, right clicking opens the sub-menu for the device.  But once demounted, the drive must be re-plugged to mount again.
Marking as "solved"  and thanks
Mark S.
ps Oh yes another fine point: when first plugged, the device is recognized but hasn't actually mounted and opened yet, hence the arrow has not appeared;   It has to be left clicked once to do that. 
Title: Re: re-mounting flash drive (solved)
Post by: PCNetSpec on April 13, 2017, 03:18:04 pm
Yeah there's currently no automount option in Peppermint.
Title: Re: re-mounting flash drive (solved)
Post by: PCNetSpec on April 17, 2017, 07:18:49 pm
Here ya go...

Download indicator-diskman from here:

For 64bit Peppermint 7
https://launchpad.net/~teejee2008/+archive/ubuntu/ppa/+files/indicator-diskman_17.1~14~ubuntu16.04.1_amd64.deb

OR

For 32bit Peppermint 7
https://launchpad.net/~teejee2008/+archive/ubuntu/ppa/+files/indicator-diskman_17.1~14~ubuntu16.04.1_i386.deb

Start it from the menu
menu > System Tools > Disk Indicator

Now look in your system tray (by the clock) for an applet that let's you mount/unmount drives .. this is able to remount USB drives that  have been unmounted without replugging.

If it's what you want, set it to autostart at login



More info here:
http://www.omgubuntu.co.uk/2016/10/simple-disk-indicator-for-ubuntu-linux