site  contact  subhomenews

probedisk vs probedisk2

January 27, 2011 — BarryK
A note for Puppy developers: if you have a script that calls 'probedisk' (/sbin/probedisk), this has been deprecated for a very long time, in favour of 'probedisk2'. The latter has a similar but improved output, for example:

/dev/mmcblk0|card|MMC/SD: SD02G
/dev/sda|drive|ATA WDC WD600UE-22KV
/dev/sdb|usbdrv|WD 3200BEV External
/dev/sr0|optical|PHILIPS DVD-RAM SDVD8821


I have now replaced 'probedisk' with a symlink to 'probedisk2' in Woof.

If your script has to work in old puppies, then change to calling 'probedisk2' -- which was introduced with Puppy 4.0 (I think) and maybe include it in your package.

Comments

Bootflash
Username: bigpup
Barry, Here is a hack of Bootflash you may be interested in knowing about. http://www.murga-linux.com/puppy/viewtopic.php?p=490347#490347

Re Bootflash
Username: BarryK
"bigpup, Thanks for the link, I'll check it out.


Tags: woof