From a7491e13497b24d20517535ae7c767c7f32c40a1 Mon Sep 17 00:00:00 2001 From: Jesse Hathaway Date: Tue, 23 Oct 2007 16:56:43 -0400 Subject: add exposedroot option which exposes the root fs as ro This option allows you to expose the root read only. Using this option a person could upgrade the root filesystem or add packages without requiring the user to reboot. The root filesystem could be kept on an nfs volume or some other persistent medium. Multiple clients could then be booted off the same root fs. I used LTSP as a template to determine which directories to make rw. --- functions/defaults.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 715e568ae..8a876f0ea 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -298,6 +298,9 @@ Set_defaults () # Setting chroot filesystem LH_CHROOT_FILESYSTEM="${LH_CHROOT_FILESYSTEM:-squashfs}" + # Setting whether to expose root filesystem as read only + LH_EXPOSED_ROOT="${LH_EXPOSED_ROOT:-disabled}" + # Setting union filesystem if [ -z "${LH_UNION_FILESYSTEM}" ] then -- cgit v1.2.3