The script /initrd/sbin/init has a function called loadpupsfsfunc(). It checks for flash drives with a
[ "$PMEDIA" = "ideflash" ] && SIZETESTK=$SIZEFILLK
- however lots of people have PMEDIA of "usbflash", so the init script should test for that too.
The impact of this is that users who have copied PUP_202.SFS to a USB flash drive, or done a USB flash drive install, lose about 70Mb of RAM, and their boot-up takes 30-45 seconds longer.
This bug report follows on from the Beginners Help question I posted here:
http://www.murga.org/~puppy/viewtopic.php?t=8615
Init script does not check for USBFLASH media
- NicolasHoTaylor
- Posts: 18
- Joined: Wed 16 Nov 2005, 14:58
- Location: Melbourne, Australia
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
The reason it was done that way is that usb is slower than the ide interface,
especially usb1. I haven't actually tried it, but I think for usb1, leaving
pup_202.sfs on the flash drive would make application startup times very
slow indeed.
Loading it into ram does slow the boot time, but then you win later, for the
app startup times. As far as loosing some ram, yes, but a swap partition can
fix that, or 256M or more leaves plenty of free space.
especially usb1. I haven't actually tried it, but I think for usb1, leaving
pup_202.sfs on the flash drive would make application startup times very
slow indeed.
Loading it into ram does slow the boot time, but then you win later, for the
app startup times. As far as loosing some ram, yes, but a swap partition can
fix that, or 256M or more leaves plenty of free space.