Page 5 of 7

Posted: Sun 25 Nov 2007, 21:55
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?

Posted: Mon 26 Nov 2007, 19:10
by zigbert
version 0.21 is uploaded. See main post.

Posted: Thu 06 Dec 2007, 17:26
by zigbert
version 0.22 is uploaded. See main post.

Posted: Thu 06 Dec 2007, 23:51
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

Posted: Fri 07 Dec 2007, 00:24
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?

Posted: Fri 07 Dec 2007, 18:26
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

Posted: Sat 08 Dec 2007, 21:47
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.

Posted: Sun 09 Dec 2007, 10:16
by zigbert
Version 0.23 is uploaded. I hope (and guess) this will solve your problem JB4x4. See main post.

Posted: Sun 09 Dec 2007, 11:24
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

bug ?

Posted: Sun 09 Dec 2007, 16:27
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.

Posted: Sun 09 Dec 2007, 16:38
by zigbert
pdrito
Does Barrys new Pmount detect your size correct. I have not changed anything in Barrys sizedetection code (I think). Would you please post a screenshot of the the new Pmount together with Pdrive 0.23.

Sigmund

Posted: Sun 09 Dec 2007, 16:51
by JB4x4
I too show double the drive size - free space is correct though.

Here is a screens shot...

Posted: Sun 09 Dec 2007, 17:04
by JB4x4
zigbert ---

Try this:

change the code at the start of func_probe

Code: Select all

PROBEPART="`probepart`"
DISKINFO="`probedisk`"
PARTSINFO="`echo "$PROBEPART" -k | grep -v 'none' | tr ' ' '_' | tr '\t' '_' | tr '\n' ' '`"
to

Code: Select all

PROBEPART="`probepart -k`"
DISKINFO="`probedisk`"
PARTSINFO="`echo "$PROBEPART" | grep -v 'none' | tr ' ' '_' | tr '\t' '_' | tr '\n' ' '`"
I moved the "-k" seems to have fixed the size problem (on my pc)

JB

Posted: Sun 09 Dec 2007, 17:09
by pdrito
On puppy-214 I have this images:
Barry's pmount
Pdrive 0.23 version


When you ask me for the last Barry's pmount, do you meant on puppy-3.01 or puppy-4 alpha2 ?.

Posted: Mon 10 Dec 2007, 00:15
by BarryK
zigbert, the underlying code in pmount was a dog's breakfast. I've been intending to rewrite it for ages. I've attached the latest pmount (slightly later than the one I uploaded to ibiblio several days ago) and a bugfixed 'mount' script that has to be used for mounting ntfs.

You might like to examine the new code, and if you wish use it for Pdrive.

Posted: Mon 10 Dec 2007, 00:22
by BarryK
Just added this to pmount, at line 208:

else
[ "$DOFS" = "iso9660" ] && eject $DODEV

Posted: Mon 10 Dec 2007, 16:58
by zigbert
I'll go for an upgrade...

Posted: Wed 13 Feb 2008, 21:13
by zigbert
Version 0.25 is uploaded. See main post.

Re: Pdrive 0.25

Posted: Wed 13 Feb 2008, 22:00
by Wolf Pup
zigbert wrote:- Updated Barrys fixes: rox -x to rescan dir and detection of partition on / (full installation)
does this apply for dingo or puppy 3.01. in puppy 3.01 pdrive still says unmounted while it is mounted.

Code: Select all

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda3             12388188   2493888   9390824  21% /
shmfs                    55052         0     55052   0% /dev/shm
/dev/hda5             12389324   4976280   6783700  42% /mnt/hda5

Code: Select all

# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,data=ordered)
none on /proc type proc (rw)
shmfs on /dev/shm type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/hda5 on /mnt/hda5 type ext3 (rw,noatime,data=ordered)

Posted: Thu 14 Feb 2008, 06:16
by zigbert
Wolf Pup
Pdrive is nothing new. Pdrive is no spicy code. Pdrive is just a new gui to Barrys code (Pmount). I can't tell too much about his code. I never took the time to investigate. If something drives aren't detected correct, the main question is: Does it in Pmount? if YES --> My code hasn't cloned well from Pmount. if NO --> We need a bugfix of Pmount / We need new code in Pdrive. Both is just fine with me. Pdrive used earlier the Pmount version in Puppy 3. From version 0.22, Pdrive uses the rewritten code of the latest Pmount in Dingo. Unfortunately I can't see the new Pmount package in the Puppy 4.00 repository. I grabbed it from an alpha-live-CD.

Sit Heel speak made me aware of the not working swap-detection in another thread. The NEW Pmount doesn't detect swaps, so here has my dirty hands been hacking again. My fault.

Sigmund