REMARKS :
There might be some code changes due to my main installations are pre - #110126 no longer using SATADRIVES variable in PUPSTATE.
Dropping the hidden /root/.usb*log file , thought dd is really fast .
Dropping the logger part , because nothing uses it, and nothing would inform a user about that, if not run from CLI .
Probably merging probedisk with probepart - so scripts like pmount or *_frontend_d will only need to call one script and not two .

Yo, Thierry, there is some PUPPY special code in there :
The INTERNAL_SD_DRIVES variable but that's been dropped since 2011-01-26 and the
/root/.usb*log* file, that I think should be kept in /tmp/[*/] and not in /root .

I also feel not so well if scripts touch the MBR/Superblock of drives all the time .
For a FUN-Distro it is OK,
I think, but probably not if you want serious deployment as you stated somewhere .

Thierry, you may loadup your probedisk to google docs or code or pastebin or skydrive or whatever and give links to them .
I should do so too for the many old but crazy/buggy script experiments of mine

*
Lutz , Thanks for the pointer towards CF cards . Was using SD/MMC cards until now besides USB-Pen-Flash drives . Had a look at conrad.de and will probably purchase a USB-Multicard reader for about 15€ and a
Transcend-CF-Karte-4GB-170
for 22 € . Have to have a look for Bauhaus and Max Bahr that day too .

time is unfair because i use a busybox ash configured with preferring applets and NOFORK option enabled ._________________«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal

Yep, it`s been awhile since I`ve looked at them.
Barry`s probepart gives twice the real size also, should be easy to fix.
The MB instead of GB is due to the conversion function, an easy fix too.

parttype() uses guess_fstype , which I intend to do away with.
I`ve rewritten so many things and I don`t upgrade older stuff.
That`s why separate function libraries are critical, everything`s always up to date.

I think I settled on disktype for partition types and file for file types.

There had been posted squashfs patch for guess_fstype by jamesbond here :
guess_fstype reports unknown for Puppy SFS files. [ No Fix ] http://murga-linux.com/puppy/viewtopic.php?t=85046
But that does not dl for me anymore .
Apparently John Murga has an odd virus scanner or filesystem problems of some kind ..
Should have it on my 55-65°C Atom machine, but that's heatwave here paralizes me to set it up .

I was preferring disktype too but lately found that blkid did better . Will have to see if busybox blkid is good as regular blkid - depends on the version and libs each time am guessing .