Pdrive 0.27

Stuff that has yet to be sorted into a category.
Message
Author
magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#81 Post by magerlab »

where to find newer versions of pdrive of wich you talked

maddox
Posts: 454
Joined: Fri 28 Sep 2007, 20:37
Location: sometimes in France

#82 Post by maddox »

hello magerlab
at bottom of page, you see -> goto page -> click nber 1
this takes you to page 1 of this post
you will see -> pdrive-0.18.pet on right side download
click on word -> download
there, it will download the program for you
maddox

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

#83 Post by zigbert »

version 0.19 is uploaded. See main post.

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#84 Post by magerlab »

thank you , maddox
i just din't notice that it's the latest version there

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

#85 Post by DC »

Hi Zigbert,
Great everythings working fine :D

- Supports now up to 15 partitions on one disk. (thanks to JB4x4)
I read somewhere of the last few weeks while we were playing and remember something like
SATA drives can only have 15 partitions
IDE drives can have up to 63 partitions
my IDE has hda16 but that does include the 3 numbers you loose with a extended partition. So maybe not? I'll try and find the reference at the week-end. Unless anybody out there knows the answer?

DC

Just realised you were talking about number of drives displayed :shock:

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#86 Post by HairyWill »

zigbert
I think there is a bug in func_probe for pdrive 0.19 at about line 349

Code: Select all

PART1DISKN="";PART2DISKN="";PART3DISKN="";PART4DISKN=""
  PART5DISKN="";PART6DISKN="";PART7DISKN="";PART8DISKN=""
  PART9DISKN="";PART10DISKN="";PART11DISKN="";PART12DISKN=""
this needs to empty PART13DISKN and PART14DISKN as well.
Before I fixed it this was causing my USB devices to show twice.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

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

#87 Post by zigbert »

HairyWill
Thanks!
Fixed!

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

#88 Post by zigbert »

Version 0.20. See main post.

kjoe
Posts: 27
Joined: Wed 25 Jul 2007, 19:17
Location: Austria

#89 Post by kjoe »

Hi zigbert!

I think there is a little bug. In my example (picture) partition hda1 is shown as swap and mounted, but in fact it is vfat and unmounted.

But apart from that I'd really like the features of pdrive.

great work, thanks

kjoe
Attachments
example.gif
(50.52 KiB) Downloaded 687 times
Last edited by kjoe on Sun 25 Nov 2007, 22:00, edited 1 time in total.

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

#90 Post by zigbert »

kjoe
Thanks for feedback!

I think the problem is that your swap has partition nr above 10. That makes 'grep hda1' also find hda10. I have put in a -w: 'grep -w hda1'. This should prevent it to detect hda10 as swap.

Lines 279-282 in /usr/local/pdrive/func_probe

Code: Select all

if [ "`echo "$PARTSWAP" | grep -w "$PARTITION"`" ]; then #swap exist
	if [ "`echo "$PARTSWAP" | grep "$DEVDISKN"`" ]; then
		SWAP_MOUNTED="off"
		grep -w "$PARTITION" /proc/swaps && SWAP_MOUNTED="on"
You can also try to replace /usr/local/pdrive/func_probe with the attached file.

Please give report.
Sigmund
Attachments
func_probe.tar.gz
(4.55 KiB) Downloaded 673 times

kjoe
Posts: 27
Joined: Wed 25 Jul 2007, 19:17
Location: Austria

#91 Post by kjoe »

zigbert !

I've replaced /usr/local/pdrive/func_probe with the file you attached.
This fixed the detection problem with hda10. Every partition was shown correctly (hda1 as vfat; hda10 as swap).

Thank you.

kjoe

PS: In your prior post '...This should prevent it to detect hda10 as swap.' you meant hda1, right?

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

#92 Post by zigbert »

version 0.21 is uploaded. See main post.

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

#93 Post by zigbert »

version 0.22 is uploaded. See main post.

JB4x4
Posts: 256
Joined: Sun 30 Jul 2006, 22:44
Contact:

#94 Post by JB4x4 »

Gave 0.22 a shot - still wouldn't mount hda1 on my harddrive..... Strange thing is, Barry's new pmount is working fine.

Here is the message shown when trying to mount....

Error - Choose one of the partitions.

JB

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#95 Post by Béèm »

So you highlight your hda1 partition by selecting it and you push mount and you get this message?

Works for me for my hda1 ntfs partition. (with 0.22)

BTW your hda1 doesn't happen to be your /mnt/home one?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

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

#96 Post by zigbert »

JB4x4 wrote:Here is the message shown when trying to mount....

Error - Choose one of the partitions.
1. Could you please confirm this bug. Did you select hda1, and then press 'mount'.
2. Could you please post a screenshot of Pdrive and Pmount. I am interesting in what headings it shows. If this is your 15-partition-disc, it would be rather informative :wink:

Thanks
Sigmund

JB4x4
Posts: 256
Joined: Sun 30 Jul 2006, 22:44
Contact:

#97 Post by JB4x4 »

Correct, either selecting the partition and pressing (un)Mount or double clicking on the partition result in the same message. Note: I can mount and unmount with the "new" pmount. Refreshing pdrive between shows the current state correctly, but it will not mount or unmount the partition.
Attachments
pmountvspdrive.jpg
(38.55 KiB) Downloaded 1032 times

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

#98 Post by zigbert »

Version 0.23 is uploaded. I hope (and guess) this will solve your problem JB4x4. See main post.

JB4x4
Posts: 256
Joined: Sun 30 Jul 2006, 22:44
Contact:

#99 Post by JB4x4 »

Tried out the new version.................

and.............

IT WORKS.

Congratulations Zigbert, you have made my excessively partitioned drive :) useable. Thank you very much for your hard work. I will continue testing to see if anything else comes up.

JB

pdrito
Posts: 50
Joined: Thu 18 Jan 2007, 14:13

bug ?

#100 Post by pdrito »

zigbert,

Thanks for your work. !!

I am using Puppy-2.14.

I try your 0.21 version. ALL seems OK.

I try the last 0.23 version, and the size/free of drives/partitions reads wrong (about the double size).

pdrito.

Post Reply