Pdrive 0.27

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

Pdrive 0.27

#1 Post by zigbert »

Pdrive ... drive manager

_______Info_______________________________________________________________________________
Pdrive is a 'skin' of Pmount (Puppy mounter).
pluss some extras:
- swap ON/OFF.
- Optional autodetection of usb-devices.
- View Labels of partition.
- Small screen / many partition doesn't give gui trouble.
- Other actions like start CD/DVD, check filesystem...

Sigmund Berglund

_______Download__________________________________________________________________________
username: puppy
password: linux

Pdrive-0.27 (7 kb).

Image

_______Changelog__________________________________________________________________________
Version 0.27
- Autodetect screen height and use this to define max height of window.
- Bugfix: turn off pdrive_daemon
Version 0.26
- Eject if unmount CD/DVD (updating code to match the latest Pmount)
- Bugfix: Swap handling. (Thanks to Sit Heel Speak)
- Bugfix: Size detection in Puppy 4 (Thanks to JB4x4)
Version 0.25
- Updated Barrys fixes: rox -x to rescan dir and detection of partition on / (full installation)
- Moved boot-check to ~/Startup/ instead of ~/.xinitrc
- Use only partition-label as definition if it exists. Else, use dev-name (hda1).
- Show partition-label also for 1-partition-disks.
- Own coloumn: Device
- Autoselect button in dialogs.
- Button to view basic info in advanced view
- Bugfix: Size calculation for < Puppy 4
- Bugfix: Automounting of usb-flashdrives
Version 0.24
- Detection of floppys (thanks to Barry)
- Bugfix: size was doubled (thanks to JB4x4)
Version 0.23
- Bugfix: problem if more than 9 partitions on one disk. (thanks to JB4x4)
Version 0.22
- updated with the latest pmount code.
- Mount all accepts also vfat, ntfs
Last edited by zigbert on Thu 04 Nov 2010, 17:27, edited 34 times in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

May I suggest a "mount everything" button?

Mounting and unmounting seems good for security. speed and memory freeing reasons. On Unix or networked computers and on Puppy there is some argument for its use.

m m m . . .

Good job looks nice 8)



.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#3 Post by zigbert »

May I suggest a "mount everything" button?
There could be a 'Play CD' button, 'Play DVD' button...

But it has to be clear. - This is not meant as a fork of pmount.
It's just a proto of an gui-idea. I think the best is that the maintainer(s)
of pmount adopt this idea if they think it is something they want to use.
There are things that needs to be cleared up if using this code.

But if pmount stays the same too long...who knows.
Suddenly I get time left, and a huge need of coding. :twisted:

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#4 Post by zigbert »

I guess I got too inspired. I fixed some issues, and made some buttons.
- Buttons for playing CD/DVD.
- Trying to mount disk where pup_save is gives builtin error
- If you had trouble showing your hd-partitions - try this one.
- Fixed slow display in rox.

It now seems stable enough for my personal use.
Maybe working for you too. :)

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#5 Post by zigbert »

The .pet wasn't working too well, was it? New package with fixes for daily use.

see main post.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#6 Post by zigbert »

Maybe pmount is the right place for filesystem check. I've made a proto.
See main post.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#7 Post by vovchik »

Dear Sigmund,

I like v. 0.4, particularly the filecheck option, but think you could make one cosmetic improvment. Why not do this:

Code: Select all

gxmessage -borderless -font "sans bold 14" -center -bg "orange" -buttons "" " Puppy Drive Mounter
instead of running yaf-splash at line 41. It looks much better and respects the user's gtk theme. What do you think?

With kind regards,
vovchik

User avatar
john biles
Posts: 1458
Joined: Sun 17 Sep 2006, 14:05
Location: Australia
Contact:

#8 Post by john biles »

Hello zigbert,
Everything is about looks, so keep doing what your doing and adding improvements in user-ability and feel.

Maybe you can work your magic on other Puppy Apps that look a bit dated.

I already have version 0.3 installed, so will wait until you feel you can't do anymore with Pmount before updating. Go zigbert :D
Legacy OS 2017 has been released.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#9 Post by Lobster »

:) Better and better

typed 'mut' at the console to see why I still prefer the look and feel of mut

I looked at pmount, zigmount [ahem] and mut and side by side

The conclusion is that having the dir location (though useful) is too much extra info to process for quick and painles usage. It is a geek overkill feature.

Is it possible to have this info off by default and a 'more info' toggle?

Just an idea :)

Would this version be suitable for Talking Stick?
http://puppylinux.org/wikka/TalkingStickIdeas
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#10 Post by zigbert »

vovchik
There is absolutely more to do on the gui, but I think the most important thing is to brainstorm about how things should work. Then if ending up with something useful, - Lets give it a facelift. Maybe Gtk-boxes and progressbar....

Lobster
- Yeah, it could be lesser text. Lets see in 0.5.
- Your 'mount all' button needs a different code-structure, and I do not intend to do that at this stage.

Zigmount

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#11 Post by zigbert »

version 0.5

squeezed some text and buttons, and change the yaf-splash to gtk-splash with progressbar

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#12 Post by zigbert »

Version 0.6
Lobster. The light suddenly turned on, and I mixed together a 'mount all' button. I didn't let it mount the CD/DVD because of speed. I guess this feature is most useful for several harddrives with several partitions.

The drive where puppy is installed, is now locked.

All the new stuff is placed as seperate functions to not mix the code between pmount and pmount-zigbert. This also makes it very easy to implement code in later pmount-edition.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

Pmount-zigbert getting better and better

#13 Post by vovchik »

Dear Sigmund (or "Zigmount", which I like),

It's getting better and better. The idea to use gtkdialog3 and a progress bar is perfect, particularly in a case like mine where probing takes a bit of time. Although you are working primarily on the gui, I have noted that there is a little error in the functional code in that it doesn't display the capacity of my home drive - which is about 50 GB. All that shows up is a dot. Please see attached image. I think I already pointed this out to the original author of pmount (was it Dougal?), and he fixed that business in one of his latter tabbed incarnations.

Good work. I look forward to v. 7.

Kind regards,
vovchik
Attachments
pmount-zig.jpg
(54.95 KiB) Downloaded 5878 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#14 Post by zigbert »

I have noted that there is a little error in the functional code in that it doesn't display the capacity of my home drive
I don't know if this edition is the last edition of pmount. Let's hope Dougal, Barry or Plinej watch us......and maybe they can give us the fix / latest code. My /mnt/home shows correct info. Could it be a ntfs-issue?

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#15 Post by zigbert »

It also seems to be something weird about your second swap?

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

Second swap

#16 Post by vovchik »

MUT doesn't show a second swap (I don't have one), and it shows the hda1 (home) size correctly and shows hda7. Old pmount doesn't show hda7, and it doesn't show the mysterious SwapM partition. Your version shows I have a real Linux swap on hda7 of 1 GB, which is correct, but is missing size on hda1 and shows the mysterious SwapM. I think Dougal knows the code best. His tabbed version 3_1 (attached) seems to show everything correctly (in my case), so perhaps you can incorporate that code.
Attachments
pmount3_1.tar.gz
(6.74 KiB) Downloaded 1048 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#17 Post by zigbert »

version 0.7
- uses the latest (???) Dougal-code.
- automatic size of window to show all your drives. Height does not pass 600 dpi.
- fixed splash

We could have a function for partview, eject CD/DVD...But then we need menues to not get a messy window. Menues are slightly buggy in gtkdialog, and would not be good with Barrys trick to keep the old window while loading a new one. An alternative is to use a list or combobox. But it is also important that the mounter is VERY newbie-friendly....Do you want to share your thoughts, - think loud...

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#18 Post by zigbert »

version 0.7
- uses the latest (???) Dougal-code.
- automatic size of window to show all your drives. Height does not pass 600 dpi.
- fixed splash

We could have a function for partview, eject CD/DVD...But then we need menues to not get a messy window. Menues are slightly buggy in gtkdialog, and would not be good with Barrys trick to keep the old window while loading a new one. An alternative is to use a list or combobox. But it is also important that the mounter is VERY newbie-friendly....Do you want to share your thoughts, - think loud...

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#19 Post by zigbert »

Version 0.8
- You can mount/unmount without rerender the gui.
- eject CD/DVD.
- run partview.

User avatar
DC
Posts: 360
Joined: Sun 30 Apr 2006, 15:07
Location: Maidenhead, England

#20 Post by DC »

Hi,

Is it possible that Pmount can show unmounted drive labels the same as MUT / GParted.

DC

Post Reply