Author Topic: mountbox question  (Read 397 times)

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1490
  • In theory, theory=practice, in practice ???
mountbox question
« on: July 31, 2011, 01:38:53 PM »

I have ran across a program called mountbox.   It basically reads (autodetects) all drives
connected and then mounts them to /media/directory to a directory it creates thru the
process.   So far it has worked without needing reboots or plugging drives in and out, etc..
You can mount and unmount just calling up this program.   Something I can't do with
gigolo as root.   Gigolo doesn't autodetect drives after I've unmounted them to work on.

Problem is the only packages I've found is a Puppy package in their package manager
format.   Actually requires four packages in their format to install.    Question is can
PCL possibly put this is the repo with four Puppy packages as the only source of files ?
No other information is available by Googling.

Before cluttering up Package Suggest with this I thought I would ask this question here.
I switch programs or test programs at times on portable (flash) drives frequently just
to test and learn and this program so far is a real time saver.

Thanks in advance for your response.


Patrick
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10690
  • MLUs Forever!
Re: mountbox question
« Reply #1 on: July 31, 2011, 02:02:35 PM »
I don't understand what problem you are trying to solve with this 'mountbox'

Maybe you could explain more clearly what you are trying to achieve that cannot be done without the package?

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1490
  • In theory, theory=practice, in practice ???
Re: mountbox question
« Reply #2 on: July 31, 2011, 02:16:49 PM »
I don't understand what problem you are trying to solve with this 'mountbox'

Maybe you could explain more clearly what you are trying to achieve that cannot be done without the package?


Well trying to do everything as automatic as possible...

When I reformat a flash it requires an unmount, trying to remount it after has failed, to check the
drive, look at it, confirm format, etc..   The way I'm doing things, mountbox has given this flexibility.   
If I reformat a flash and then try to remount it, I'm at a no go then.   It let's me skip a step by
not rebooting or pluging in and out to remount.   Novel program so far.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10690
  • MLUs Forever!
Re: mountbox question
« Reply #3 on: July 31, 2011, 03:03:07 PM »
OK.  Lets see if I have this right .....

You plug in (for example) a flash stick.
It takes (for example) the device node  /dev/sdx
It has two partitions   /dev/sdx1  and  /devsdx2

You want to change the filesystem on partition /dev/sdx1 (not just refresh the filesystem by formatting it)

After it has been reformatted it must be ejected and reinserted, so the OS system sees there is a new filesystem on that partition, and not the filesystem that it had previously registered against /dev/sdx1.

So this 'mountbox' in some manner allows the OS to refresh its record so that the new filesystem is seen and thus there is no requirement to unplug and reinsert the device.

Do I have all that correct?

Sorry to be so pedantic, but I want to be sure I have a full grasp of this.

regards.

EDIT:
            I found nothing so far to indicate that mountbox has any special features ......

Quote
Mountbox - Mount devices
Mountbox is a small GTK+ application to quickly mount media such as a USB drive, hard drive or cdrom. Mountbox can be launched from a terminal or via the Tools menu (System Tools). Simply specify the peripheral (Device) and the mount point, ie. the directory where you want to access the media in question. Typically a CD is mounted on /media/cdrom, a USB key on /media/flash and disk drives on the local machine on /mnt. Note the Handbook also contains more information.

I suggest you have a look at   pmount  and  gnome-mount   both of which are in the repository.
They appear to be as capable as mountbox ......  but I may have missed something.

There are GUI tools also .....  KDF  for instance (kdeutils-kdf)
« Last Edit: July 31, 2011, 03:45:15 PM by Just19 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1490
  • In theory, theory=practice, in practice ???
Re: mountbox question
« Reply #4 on: July 31, 2011, 04:20:35 PM »
OK.  Lets see if I have this right .....

You plug in (for example) a flash stick.
It takes (for example) the device node  /dev/sdx
It has two partitions   /dev/sdx1  and  /devsdx2

You want to change the filesystem on partition /dev/sdx1 (not just refresh the filesystem by formatting it)

After it has been reformatted it must be ejected and reinserted, so the OS system sees there is a new filesystem on that partition, and not the filesystem that it had previously registered against /dev/sdx1.

So this 'mountbox' in some manner allows the OS to refresh its record so that the new filesystem is seen and thus there is no requirement to unplug and reinsert the device.

Do I have all that correct?

Sorry to be so pedantic, but I want to be sure I have a full grasp of this.

regards.

Yes, that's the magic of it.   Like fsarchiver probe, sees everything, but then has the capability of acting
on it, from the same desktop in GUI, you know.

Quote
Mountbox - Mount devices
Mountbox is a small GTK+ application to quickly mount media such as a USB drive, hard drive or cdrom. Mountbox can be launched from a terminal or via the Tools menu (System Tools). Simply specify the peripheral (Device) and the mount point, ie. the directory where you want to access the media in question. Typically a CD is mounted on /media/cdrom, a USB key on /media/flash and disk drives on the local machine on /mnt. Note the Handbook also contains more information.

Sure it's not installed on my machine from root.  Tried that.   Where did you get this info from ?   Handbook and everything ?  Great progress !!!  It's a GUI box you know.   The above you found appears to be the program I'm talking about.   Very powerful GUI regarding this.

Quote
I suggest you have a look at   pmount  and  gnome-mount   both of which are in the repository.
They appear to be as capable as mountbox ......  but I may have missed something.

I was just thinking gnome probably has something equivalent.


Need some time to think about this info.   All I could find was some old packages.


Have a good one.






ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE