uCdot
search uCdot:
 
Embedded Linux and uClinux Developer Forum
 
uCdot
- FAQ
- Dev Boards
- Submit Story
- Submit FAQ
- Submit Dev Board
- Topics
- Authors
- About

- Preferences
- Older Stuff
- Past Polls
- Discussions
- Journals
- Messages

Embedded Linux
Mailing Lists
uClinux-dev (search)
Coldfire (search)
MTD
Microblaze (search)
ELUG
BDM-devel
Blackfin

Embedded Linux
Sites
uClinux.org
uClinux-Dist
uClibc
uClinux Directory
LinuxDevices
ARMulator
uClinux-elf-tools
Colilo
Kernel Archives
H8-uClinux
TLDP
Microblaze uClinux
BDM Tools
SkyEye (emulator)
LOM
SETR live CD
Blackfin uClinux

Embedded Linux
Companies
SecureComputing
SDCS
CodePoet
Arcturus
Cadenux
ARMtwister
uClinux.net
Xiptech
senTec
embedded^cl
Cwlinux
emlix
TimeSys
eSpark Infotech
SSV Embedded Systems
Embedded Minds
PeerSec Networks
Vortech Consulting
swissEmbedded
Synertronixx
Mbedthis Software
.vantronix
Aday
GraceLabs
Pengutronix
metux ITS
Codito Technologies
Firmix Software
PetaLogix
NuDesign
Merritt Technologies
WindRiver
OpenGear
Rubico
Analog Devices
Artila Electronics
Vyatta
Embest Info&Tech
Katalix Systems
WorkWare Systems
Kdev
Intellimetrix
Virtual Cogs
SYSGO
coresystems
ExactCODE
KOAN
EzHomeTech
Linux4biz
Linkodas
Trego
EMBEST

 
Shutting down embedded linux.
Question Michael writes "Hi, I am migrating a custom system (with no operating system per se) to run on a PC/104 system under Linux. It is a standard control application. The first question that struck me was, how can I protect against the user switching off the power supply without correctly shutting down? Ideally, since this is an embedded system with Linux running in the background only, there should be no concept of 'shutting down' to the user. They should be allowed to just switch it off. Is there a way I can get a distribution to read from disk but operate solely in RAM and never write to disk? That would solve all the possible fsck errors that a user would get on boot otherwise. Looking forward to any replies. Thanks Michael"

Optimising size of samba | dup() under uClinux  >

 

 
uCdot Login
Nickname:

Password:

[ Create a new account ]

Related Links
  • Linux
  • More on Question
  • Also by davidm
  • This discussion has been archived. No new comments can be posted.
    Shutting down embedded linux. | Login/Create an Account | Top | 1 comments | Search Discussion
    Threshold:
    The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
    Read-only filesystem (Score:2)
    by davidm (david_mccullough@securecomputing.com) on Tuesday February 24, @03:20AM (#566)
    User #2 Info | http://www.securecomputing.com/ | Last Journal: Friday May 11, @09:05AM
    One of the easiest way to achieve this is to have all your read-write data in a ramdisk (tmpfs) and have your root filesystem mounted read-only, or better still run cramfs or squashfs (compressed RO filesystems). It gets much harder if you want the user to be able to change files. Probably use a small journaled filesystem just for such data.

    The Embedded Linux and uClinux Developer Forum is hosted by: SnapGear A gambler's biggest thrill is winning a bet. His next biggest thrill is losing a bet.

    [ home | contribute story | older articles | past polls | faq | authors | preferences ]