Find the answer to your Linux question:
Results 1 to 3 of 3
I'm trying to install Debian on a compact flash card. Since the compact flash media allows only limited number of write operations, and because the target computer works headlessly (it ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    4

    Angry readonly root file system

    I'm trying to install Debian on a compact flash card.
    Since the compact flash media allows only limited number of write operations, and because the target computer works headlessly (it doesn't have display and keyboard to execute shutdown command, and the power is just turned off instead) I'm considering using read-only root file system. It looks like also I'll have to disable system loggers and maybe create /etc/mtab on ramdisk and link it to /etc.
    where it is possible to obtain the readonly-root
    Could anybody recommend an example of this?

    Any advice on readonly root file system will be greatly appreciated!

    Thank you in advance,

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    How about using one of the virtual overlaying filesystems? There was one called olvfs a few years back but I think a lot of live systems use AUFS now. That means things that need to write will do so to RAM transparently and think everything is fine. System changes will be allowed but will vanish on a reboot, as they are only in volatile memory.

    It's quite difficult to make everything read-only as a lot of things expect to write back.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    4

    read only root

    thanks for the reply.

    but i dont need to change everything. some file like /etc/network.

    please give me some detailed info how to do it. thanks once again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...