I made a package called cfprotec to remove the modules from a uClibc box that boots on a Compact Flash.

There is no start up script - it just installs two scripts that can be run manually or perhaps run from profile.

One script removes the modules for accessing the compact flash - essentially write protecting it.

The other script reinstalls them after using scp or WINSCP to move the modules across the network to /lib/modules/ for backup purposes.

If someone wants to try it or suggest improvements - let me know and I will send as an attachment.

Bering uses different modules so this only works for uClibc. Erich Titl has created rmide.lrp for Bering that runs immediately after bootup to write protect the flash.

The help file WARNS that backing up initrd.lrp (or EVERYTHING) after removing the ide-*.o modules form /boot/lib/modules will make your box unbootable.

Victor




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to