Hi Adam,

If your footprint is not too large (e.g no X etc), another possibility
is to build a root filesystem compressed image (for your system) and
then boot the system as an initrd and run out of ramdisk.  You will be
safe to pull power without shutting down.

To do this, you need to put the kernel that matches your compressed
rootfs modules in the usual place (e.g /boot/ramkernel) and then add
similar to following to your lilo.conf and re-run lilo.

image=/boot/ramkernel
        label=ramsystem
        ramdisk=8192                            # depending on size      
        initrd=/boot/rootfs.gz
        root=/dev/ram0
        read-only

If your footprint is large, Cort's suggestion seems like the best
option.

Regards, Stuart


Cort Dougan wrote:
> 
> You could try reiserfs.  Several people have had good luck with it.
> 
> } I have a embedded linux machine using RTLinux that does not have a power
> } switch.  When ac is
> } applied it boots up and to power it down just pull the plug.  However since
> } we cannot properly shut
> } down linux, everytime we do this the system goes through the long fsck process.
> }
> } Is there anyway to get around this without just disabling fsck on boot
> } up.  It would be nice if somehow
> } an abnormal shutdown (like pulling the power), did not screw up the filesystem.
> }
> } Has anyone come up with any solutions.
> }
> } Any pointers would be greatly appreciated.....
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to