Pdrive 0.27

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

#76 Post 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...
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30

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

#77 Post 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

User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

#78 Post 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:
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30

eden6000
Posts: 259
Joined: Sun 08 Apr 2007, 06:49

#79 Post 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...

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

#80 Post by maddox »

---edited---
thanks for taking your valuable time to answer, and all your work Image
maddox
Last edited by maddox on Sun 25 Nov 2007, 20:49, edited 1 time in total.

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]

Post Reply