Author |
Message |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Thu 05 Jul 2007, 09:26 Post subject:
Tabbed Pmount Subject description: for a smaller interface |
|
This is pretty much a "proof of concept". I just took the pmount from 2.17-exp1 and squeezed it into tabs, without trying to pretty it up.
I tried to avoid making any other improvements, so any complaints about bad functionality should go to Barry (in my case, the swap partition is declared "unused" -- though it is used -- probably because it's mounted as "/initrd/dev/hda2", rather than "/dev/hda2").
The first version is just everything squeezed into tabs in the original order.
The second version has the tab order reversed (so you start with SATA/USB, then IDE HDs, then swap, cdroms and floppy). Note that the first (left most) tab is the one shown by default.
The third version is like the second, only the cdroms are put into a "cdroms" tab.
Description |
|

Download |
Filename |
pmount3.gz |
Filesize |
6.73 KB |
Downloaded |
451 Time(s) |
Description |
|

Download |
Filename |
pmount.gz |
Filesize |
6.3 KB |
Downloaded |
409 Time(s) |
Description |
|
Filesize |
21.02 KB |
Viewed |
1255 Time(s) |

|
Description |
|

Download |
Filename |
pmount2.gz |
Filesize |
6.34 KB |
Downloaded |
438 Time(s) |
Description |
|
Filesize |
19.78 KB |
Viewed |
1240 Time(s) |

|
Description |
|
Filesize |
18.89 KB |
Viewed |
1253 Time(s) |

|
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Last edited by Dougal on Tue 10 Jul 2007, 14:55; edited 4 times in total
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8526 Location: Perth, Western Australia
|
Posted: Thu 05 Jul 2007, 10:46 Post subject:
|
|
Yes, I've done some bugfixing since 2.17exp1.
I'll look at your script and see if I can patch in the fixes.
It looks nice with the tabs!
|
Back to top
|
|
 |
cb88

Joined: 28 Jan 2007 Posts: 1169 Location: USA
|
Posted: Thu 05 Jul 2007, 11:33 Post subject:
|
|
I like the third one best. With the cd drives in one tab. Since they don't have partitions.
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Thu 05 Jul 2007, 13:07 Post subject:
Pmount bug? Subject description: hda10 error? |
|
Dear Dougal,
As you can see from the attached, the last hda entry (hda1) has been "merged" with hda10 on my machine. The drive contains three ntfs partitions, two vfats, one reiser and one linux swap. Any ideas why this is so?
Apart from that infelicity, I like the new format, since the old one used to fill up my screen.
With kind regards,
vovchik
Description |
|
Filesize |
89.39 KB |
Viewed |
1206 Time(s) |

|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Thu 05 Jul 2007, 16:16 Post subject:
|
|
I've updates the third (which is now at the top).
It had a little bug where it wouldn't work on machines with no cdroms.
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Thu 05 Jul 2007, 16:19 Post subject:
Re: Pmount bug? Subject description: hda10 error? |
|
vovchik wrote: | As you can see from the attached, the last hda entry (hda1) has been "merged" with hda10 on my machine. The drive contains three ntfs partitions, two vfats, one reiser and one linux swap. Any ideas why this is so? |
Is it only in my version, or also in Barry's from 2.17-exp1? It's probably the result of running grep on something, without a space/delimiter after what you're searching for.
Example: Code: | probepart | grep 'hda1' | cut -d'|' -f1 | will give two partitions, rather than one (it should be "grep 'hda1|'")
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Thu 05 Jul 2007, 16:28 Post subject:
Haven't tried 2.17 yet Subject description: It's in this version |
|
Dear Dougal,
I don't know whether it's also in Barry's version, since I only tried yours today and haven't yet installed 2.17e. I just tried the new pmount3 and it still shows hda10 (vfat) and home (hda1 -ntfs) lumped together as the last entry - as in the image attached above.
With kind regards,
vovchik
|
Back to top
|
|
 |
WhoDo

Joined: 11 Jul 2006 Posts: 4440 Location: Lake Macquarie NSW Australia
|
Posted: Thu 05 Jul 2007, 18:14 Post subject:
|
|
BarryK wrote: | Yes, I've done some bugfixing since 2.17exp1.
I'll look at your script and see if I can patch in the fixes.
It looks nice with the tabs! |
Barry, one of the things that MUT does and Pmount doesn't is to show partitions hidden by Grub (Type: Amoeba). As I use multiple versions of Puppy on one drive, I find it useful to be able to mount alternative partitions, even though I have hidden them at boot.
If you are going to be looking at merging in Dougal's excellent update, would it be possible to see if this problem can be solved as well? TIA.
Warren
_________________ Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2946 Location: Southampton, UK
|
Posted: Fri 06 Jul 2007, 05:04 Post subject:
|
|
WhoDo wrote: | Barry, one of the things that MUT does and Pmount doesn't is to show partitions hidden by Grub (Type: Amoeba). | reported here
http://www.murga-linux.com/puppy/viewtopic.php?p=115900#115900
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
Last edited by HairyWill on Sat 07 Jul 2007, 03:04; edited 1 time in total
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Fri 06 Jul 2007, 08:05 Post subject:
Re: Haven't tried 2.17 yet Subject description: It's in this version |
|
vovchik wrote: | I just tried the new pmount3 and it still shows hda10 (vfat) and home (hda1 -ntfs) lumped together as the last entry - as in the image attached above. |
I didn't touch that when fixing it, I'm leaving it for Barry to deal with.
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8526 Location: Perth, Western Australia
|
Posted: Fri 06 Jul 2007, 22:23 Post subject:
|
|
Okay, this is the latest pmount, with a fix for the hda1 -- hda10 bug (I think). I haven't had time to apply Dougal's tabbed interface yet.
Note, this pmount is designed to work with the new probepart and probedisk in 2.17exp1, so may not be quite right in earlier puppies.
Description |
|

Download |
Filename |
pmount-217exp2.gz |
Filesize |
6.68 KB |
Downloaded |
413 Time(s) |
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Sat 07 Jul 2007, 04:07 Post subject:
Seems to work Subject description: one small bug left |
|
Dear Barry,
As you can see from the screenshot, you found the main bug and fixed it. Thanks. The only minor thing left is that the disk capacity for hda1 (home) is shown as "." and not 41 GB - as it the case. You can understand why I think Dougal's tabbed approach is perfect for my installation. If I were to plug in another USB drive or flash, the listing would go off screen...and it's without scrollbars.
With kind regards,
vovchik
Description |
|
Filesize |
101.84 KB |
Viewed |
1154 Time(s) |

|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Sat 07 Jul 2007, 08:25 Post subject:
Re: Seems to work Subject description: one small bug left |
|
vovchik wrote: | If I were to plug in another USB drive or flash, the listing would go off screen...and it's without scrollbars. |
Not to mention if you had a floppy and a second cdrom...
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Sat 07 Jul 2007, 08:36 Post subject:
Where is the floppy, by the way? Subject description: Floppy missing |
|
Thanks Dougal. I do have a floppy - but it's not showing. I didn't notice that until you pointed it out. I do have a DVD RW, and that shows....
With kind regards,
vovchik
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8526 Location: Perth, Western Australia
|
Posted: Sat 07 Jul 2007, 08:47 Post subject:
|
|
Floppy drive not showing? ....aaargh! I just fixed it for someone else.
Oh well, can you test, the same as the other person did....
# grep 'fd0' /var/log/messages
|
Back to top
|
|
 |
|