Choose style:

Author Topic: re-mounting flash drive (solved)  (Read 889 times)

0 Members and 1 Guest are viewing this topic.

Offline markba633csi

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 6
  • New Forum User
    • View Profile
  • Peppermint version(s): 6.0
re-mounting flash drive (solved)
« 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
« Last Edit: April 12, 2017, 03:37:52 pm by markba633csi »

Offline markba633csi

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 6
  • New Forum User
    • View Profile
  • Peppermint version(s): 6.0
Re: re-mounting flash drive
« Reply #1 on: April 11, 2017, 06:52:35 pm »
Anybody?
Mark S.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: re-mounting flash drive
« Reply #2 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
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline markba633csi

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 6
  • New Forum User
    • View Profile
  • Peppermint version(s): 6.0
Re: re-mounting flash drive
« Reply #3 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.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: re-mounting flash drive
« Reply #4 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.

« Last Edit: April 11, 2017, 09:18:41 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline markba633csi

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 6
  • New Forum User
    • View Profile
  • Peppermint version(s): 6.0
Re: re-mounting flash drive
« Reply #5 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. 
« Last Edit: April 12, 2017, 03:44:55 pm by markba633csi »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: re-mounting flash drive (solved)
« Reply #6 on: April 13, 2017, 03:18:04 pm »
Yeah there's currently no automount option in Peppermint.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: re-mounting flash drive (solved)
« Reply #7 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
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec