probedisk vs probedisk2

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.


Posted on 27 Jan 2011, 7:55


Comments:

Posted on 27 Jan 2011, 8:11 by bigpup
Bootflash
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


Posted on 27 Jan 2011, 13:49 by BarryK
Re Bootflash
bigpup,
Thanks for the link, I'll check it out.