Re: Question - How to use "readonly-root"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

> In /etc/sysconfig, there is a configuration file named "readonly-root", that
> would seem to allow mounting the root filesystem read-only with a writable
> partition in tmpfs. I'd really like to use this on a little box I've built
> that boots from flash memory. But, I don't know what I need to do to move
> /etc and /var into a tmpfs.

I have made a read only rootfs by giving readonlyroot as a command
line parameter to kernel. The changes to etc and var depends on the
applications you need. You might want to move /etc/mtab to tmpfs; one
easier way is to make it as a softlink to /proc/partitions (but this
makes output of mount command a bit too long). Most of the rw
locations will be mounted as tmpfs by init scripts. But a few
applications like dhcpd might fail. You can modify the init script to
move the temporary files needed by these applications to tmpfs.

Jayakrishnan

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux