MuppyQuickmount (August, 08, 2008)

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

MuppyQuickmount (August, 08, 2008)

#1 Post by MU »

This is a very fast drivemounter.

It does NOT support Floppy drives.

It supports harddisks and external drives, like USB-Sticks.
CD/DVD drives can be used from a second window, that increases speed.

Note:
If your drive is not listed, you might have an old Puppy, that misses nodes (Puppy 301/400).
In that case, install this bugfix:
http://murga-linux.com/puppy/viewtopic. ... 416#214416

MuppyQuickmount requires Puppybasic and Gtkdialog3.


Also have a look a pdrive:
http://www.murga-linux.com/puppy/viewtopic.php?t=21200

You can get a pet that includes muppyquickmount, Muppy-Filer and Gtkbasic all together from here:
http://www.murga-linux.com/puppy/viewtopic.php?p=224716

Mark
Attachments
MuppyQuickmount.pet
(9.95 KiB) Downloaded 1638 times
MuppyQuickmount.jpg
(102.45 KiB) Downloaded 2551 times
Last edited by MU on Tue 11 Oct 2011, 16:29, edited 9 times in total.
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

lapis
Posts: 184
Joined: Mon 02 Jun 2008, 08:21

#2 Post by lapis »

I like the quickness of this, thanks. I have a slow dvd drive in my laptop so Mut can be slow even though I almost never use the dvd so this is great.

One question, the free space does not show anything but apart from that it detects all drives and their sizes correctly.

Edit:
Sorry, spoke too soon. I tried mounting some ntfs drives and they show up in MUT as mounted but I can't copy anything to them.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

ok, uploaded new version.
now ntfs-drives should me mounted read/write.
I also added an option to mount all drives.
And you can repair them.

The list now uses a monospace font.

lapis, free spaces is shown for mounted drives only.
Or is it not shown for yours?
What Puppy do you use?

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

I added another option:
"find free space on all drives".
This will mount unmounted drives, get the free space, then unmount them again.

As this is slower, it is not active by default.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

I forgot to add a file required to repair partitions.
It opens Puppys repairprograms in rxvt.
Added it now.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

I added the option to mount CDs.
This opens a new window, so the speed of harddrive-detection is not affected..
I tested it with just one drive, so I cannot guarantee, it works with all.

Now with these options it might make sense to use Gtkdialog instead of xdialog for a nicer interface like pdrive?

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

lapis
Posts: 184
Joined: Mon 02 Jun 2008, 08:21

#7 Post by lapis »

MU wrote: free spaces is shown.
I've installed your newer version and I have free space showing now. It did not show for mounted drives before.

However, I've gone backwards on everything else. I can't mount or unmount anything now and it won't close unless I kill the process.

If this is because I am using Puppy 2.15ce then I will give up. It was just that your earlier version seemed like it worked as it showed all drives and unmounted everything fine.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

I made a major rewrite.

It now uses Puppys Gtkdialog3 instead of Xdialog.
It works more reliable when determing the freespace on all drives.

And it has this new option:

--------------------------------------------------
The "mount on" option:

Puppy mounts everything to "/mnt/".
This is the old Unix standard.

In 2008 there also is the new approach to mount removable media to "/media/".

Both standards can cause collisions.
So Gnome 2.22.1 will not display drives, that are mounted to /mnt/ by an entry in /etc/fstab.

MuppyQuickmount gives you the choice:

- "/mnt/" mounts to /mnt/ without using /etc/fstab.
- "/media/" mounts to /media/ without using /etc/fstab.
- "use "fstab" mounts to the mountpoint definded in /etc/fstab.

---------------------------------------------------------
Explanation of fstab:

/etc/fstab has informations, to where a device shall be mounted.
It also may contain additional info, like what codepage (language) shall be used.

So in general, it makes sense, to use this.

If you get problems, e.g. in Gnome, use the other options.

As with the options "/mnt/" and "/media/" you cannot set a language, there also is a 4th option:
"use mqmtab".
You can copy /etc/fstab to /etc/mqmtab.
This is a file used ONLY by MuppyQuickmount.

So drives can be mounted with language options, without conflicting with Gnome.


(c) Mark Ulrich, 2008
License: GPL V3 or later
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

lapis, please try the new one.
If you still have problems, please type in a consolewindow:

Code: Select all

muppyfinddisks -m

muppyfinddisks -m -all

muppyfinddisks -m -free

muppyfinddisks -m -free -forcefree
Then tell me, where the error occurs.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

lapis
Posts: 184
Joined: Mon 02 Jun 2008, 08:21

#10 Post by lapis »

MU wrote:If you still have problems
Thanks Mark, this is excellent. If I still have problems with this I can't find them. :)

Mount/unmount NTFS and VFAT partitions all ok. Even closes properly ;)

I have said goodbye to MUT. No more having to listen to the DVD drive spin up. Quickmount it is in name and deed.

I like the double click on the chosen partition line to mount/unmount as well.

Only one small comment, it would be good to have some separation (either physically or with colours) between the different listed drive classes like HDAx grouped separately from SDAx and so on. Pardon me for not knowing if the gtkdialog can do that or not and maybe also mounted devices being in bold?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

I found a small bug, and corrected it.
If you had a drive mounted like sda10, then you could not mount sda1.
It thought, it was mounted already.

I also tested it in Puppy 400, works fine 8)
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#12 Post by nooby »

I also tested it in Puppy 400, works fine Cool
Mark
Very good Mark,
much appreciated.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#13 Post by sc0ttman »

I realise this thread is quite old now, but I'm looking to use Muppyquickmount - particulary the mount all command/button..

I have this script in /root/startup (not mine):

Code: Select all

#!/bin/bash
xmessage -bg orange -center -buttons "" "Please wait, your drives are being mounted." &
pid=$!

cd /usr/local/MuppyQuickmount/resource/
./muppyquickmount -mode:mountall xxx
kill $pid
However, whenever I use the above script, or the mount all button in the gui, my NTFS partitions are read only..
It's driving me crazy...

They mount properly if I mount them seperately, but if I use 'mount all', it's always read only NTFS...

Any ideas?? I'd be very, very grateful for a fix..

One more question, if anyone can help.. What's the best way to unmount all partitions at shutdown?

I guess putting a few commands in /etc/rc.shutdown would be the right place, but what commands to use??

Thanks..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

lapis
Posts: 184
Joined: Mon 02 Jun 2008, 08:21

#14 Post by lapis »

sc0ttman wrote:whenever I use the above script, or the mount all button in the gui, my NTFS partitions are read only..
They mount properly if I mount them seperately, but if I use 'mount all', it's always read only NTFS...
I guess this is related to the original issue where ntfs was only mounted read only. MU fixed it for single mounts but maybe there was separate code for mounting all. I am afraid I am not good enough to follow the code but I think it has to do with the Mount command not mounting ntfs and vfat properly when the auto option is used or no file type is specified.

I noticed that vfat partitions are not mounted by MuppyQuickmount with long file names used but If you specifically have
mount -t vfat /dev/sda1 /mnt/sda1
Then long file names show up.

I like MuppyQuickmount for its speed but it would be nice if these two things could be fixed.

With regard to unmounting, I thought Puppy unmounted everything on shutdown already. Just for some reason it only shows unmounting of one partition in the shutdown messages.

Anyway, I think this does it
umount -a

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#15 Post by 01micko »

Hi

As far as I can tell, in the shutdown script in 4.3x the command "mount" is run to see what filesystems are mounted and then goes on to unmount them. It is reflected in the shutdown with "unmounting stray filesystems"..

You could try Startmount. It could fullfil your needs.

Cheers
Puppy Linux Blog - contact me for access

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#16 Post by sc0ttman »

@01micko and lapis:

Woooo.. Someone answered, I was hoping so! Thanks for the info, I'm gonna try and play with it, but am sure I know way too little to fix it, but would love auto mount all to be fixed in muppyquickmount!!

I've given startmount a few tests, it wasn't that reliable for me, but i'm gonna try the latest version today..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

lapis
Posts: 184
Joined: Mon 02 Jun 2008, 08:21

#17 Post by lapis »

Hi sc0ttman, I've played a bit with mounting ntfs partitions and the problem is definitely related to using the mount command without specifying a file type.

mount /dev/sda1 /mnt/sda1
uses a different driver to
mount -t ntfs /dev/sda1 /mnt/sda1

When "-t ntfs" is specified ntfs-3g is used to mount the partition and write access is okay.

Does anyone know why ntfs-3g is not used if "-t ntfs" is not specified? From my reading of the mount manual it looks like it should be the same for both.

If you look at /usr/local/MuppyQuickmount/resource/muppyquickmount
on line 231 you will see:
mount (drive)

I wonder if it would work if you change it to:
mount -t filesystemtype (drive)

where "filesystemtype" is "ntfs" where appropriate.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#18 Post by sc0ttman »

lapis wrote:Hi sc0ttman, I've played a bit with mounting ntfs partitions and the problem is definitely related to using the mount command without specifying a file type.

mount /dev/sda1 /mnt/sda1
uses a different driver to
mount -t ntfs /dev/sda1 /mnt/sda1

When "-t ntfs" is specified ntfs-3g is used to mount the partition and write access is okay.

Does anyone know why ntfs-3g is not used if "-t ntfs" is not specified? From my reading of the mount manual it looks like it should be the same for both.

If you look at /usr/local/MuppyQuickmount/resource/muppyquickmount
on line 231 you will see:
mount (drive)

I wonder if it would work if you change it to:
mount -t filesystemtype (drive)

where "filesystemtype" is "ntfs" where appropriate.
That all sounds like it might help (I guess!), not that I would be able to make those changes!! But if anyone could, that would be great.. I'd be happy to test it out...

Another issue with MuppyQuickMount is that CD/DVD mounting seems not to work for me most of the time... But hey ho... I still like it..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
harii4
Posts: 448
Joined: Fri 30 Jan 2009, 04:08
Location: La Porte City, IA , U.S.A.
Contact:

#19 Post by harii4 »

Would be great to have an updated MuppyQuickmount.
I use it over pmount.
It an great app. to have :D
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#20 Post by MU »

I updated MuppyQuickmount.pet and also the "all in one" Muppyfiler-gtkbasic.pet.

Now also NTFS-drives should be mounted read-write, when the drives are mounted at startup automatically.

And vfat drives are mounted using the " -t vfat" option.
On fluppy, this was not needed though, as long filenames are displayed also without this option. So let me know please, if it fixes issue with long filenames on system, where the old version did not work.

By default, now all drives are mounted at startup.

If you don't want this, simply remove the file /root/Startup/muppyquickmount-all

When your Puppy is shutting down, everything is unmounted, if you don't want that too, then delete /etc/init.d/muppyquickmountmountall.

Thanks for your last messages and sorry for the late update, my job kept me busy...

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply