Page 4 of 7

Posted: Wed 31 Oct 2007, 18:51
by cb88
I meant like a dynamic icon that is there if a usb stick is in or goes away if you take it out...

Posted: Wed 31 Oct 2007, 19:40
by zigbert
maddox wrote:how do you incorporate accents into scripts as they display incorrectly by just typing them in:
é accent accute e , ô accent circonflex o ...
If you use charset UTF-8 when translating, it all should be ok. This can be set in both geany and leafpad. Remember that rxvt doesn't accept utf-8. esmourgit had the same problem with Pbackup.
cb88 wrote:how would you auto start usb detection on boot as it is doesn't it require that you run pdrive first?
It should be added in /root/.xinitrc when activating deamon. It should start when boot reach xwin.
eden6000 wrote:I find really useful the automounting of usb devices, but I noticed that the auto opening of a rox window does not always happen after inserting an usb device...pdrive starts, but rox doesn't open..
Can you find out when it opens, and when it doesn't?

Regarding icons: One icon are double size of the whole program including the automounter. To include such a bloat, this icon(s) should be VERY nice and VERY useful :wink:

But, that is my opinion.
Please make icons, have fun, spread the news, make others happy.

Sigmund

Posted: Wed 31 Oct 2007, 19:46
by cb88
proceduarally gerarate the icon..... :twisted:

but actually that apdir i made had an icon.... it is an 11kb tar.gz and the normal one is 10kb .pet which is a .tar with no compressing... so guess you are right.... although you could just link to an icon that is already in puppy.... or procedurally gernerate a new one based on one that is already in puppy..... :twisted:

Posted: Wed 31 Oct 2007, 20:56
by eden6000
Infact, that's what I meant, eventually link to an icon already present in puppy, in order not to increase the size of the package...I'm thinking about the newbies and the ex windowzers, they plug in an usb and....nothing happens? but it also is useful for regular users, why not have some little nice apps like this one to make things easier?
Concerning the auto opening of rox, it's strange, but it pratically never opens, although the box in the preferences is ticked...

Posted: Wed 31 Oct 2007, 23:53
by maddox
---edited---
thanks for taking your valuable time to answer, and all your work Image
maddox

Posted: Sun 04 Nov 2007, 18:49
by magerlab
where to find newer versions of pdrive of wich you talked

Posted: Sun 04 Nov 2007, 22:18
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

Posted: Mon 12 Nov 2007, 16:04
by zigbert
version 0.19 is uploaded. See main post.

Posted: Tue 13 Nov 2007, 09:51
by magerlab
thank you , maddox
i just din't notice that it's the latest version there

Posted: Thu 15 Nov 2007, 20:28
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:

Posted: Fri 16 Nov 2007, 21:06
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.

Posted: Sat 17 Nov 2007, 00:48
by zigbert
HairyWill
Thanks!
Fixed!

Posted: Mon 19 Nov 2007, 11:19
by zigbert
Version 0.20. See main post.

Posted: Mon 19 Nov 2007, 23:08
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

Posted: Sat 24 Nov 2007, 18:45
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

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?