Distro which doesn't need to be halted
Hi all
I have built an arcade cabinet which currently houses an XBOX. I want to replace this with a Pegasos PPC machine running a PPC Linux distro. I am trying to find out if there is a distro which does not need to be halted before turning the computer off, so the arcade machine can just be turned off. Any advice would be much appreciated :-) |
Quote:
|
If you run a live distro from read-only media it shouldn't be a problem, but you shouldn't mount anything read-write, which gives you a difficult challenge if you need to save any data.
|
I forgot about the filesystem journal. Would a non-journaling filesystem be safer to simply power off? Take for example the Amiga filesystem. As long as disk activity has stopped, you can just turn the machine off. It does not have a shut down function.
|
@Matthew
I had thought of booting from a read-only medium, but this would likely be slow to boot (if it was a CD) and as you said, I wouldn't be able to save anything. |
Quote:
I think non-journalling filesystems are generally worse at recovery. If you want to force flushes to disk all the time, I think there is a mount option, sync. The mount manual page says this is only available for ext2, ext3 and ufs at the moment. The description is "All I/O to the file system should be done synchronously.". This might give you some more protection from corription on poweroff. I'm not sure. |
I don't want to hack it by modifying an existing distro by trying to change the way it mounts its partitions, and then risk damaging the filesystem. How about this:
1. Install a Live CD distro to HDD so it boots from a RO partition 2. Create another partiton and mount it RW on boot, which contains the home directory and the location of the games/saves for the arcade machine 3. Have a "quick shutdown" feature which just unmounts the RW filesystem to protect it. Since the boot partition is RO, it can safely be shut down without risk of damage. Would that work ok? |
All times are GMT -5. The time now is 01:51 AM. |