Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master cauldron by Karsten Behrmann (61485f28bfa9f65dd4281bf58a8d7631ac457772)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Karsten Behrmann <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master cauldron by Karsten Behrmann (61485f28bfa9f65dd4281bf58a8d7631ac457772)
  • Date: Tue, 5 Feb 2008 14:22:40 -0600

GIT changes to master cauldron by Karsten Behrmann
<BearPerson AT sourcemage.org>:

iso/initrd/.empty | 1 +
system/etc/fstab | 20 +++++++++++++++++++-
system/etc/fstab.examples | 22 ++++++++++++++++++++++
3 files changed, 42 insertions(+), 1 deletion(-)

New commits:
commit 61485f28bfa9f65dd4281bf58a8d7631ac457772
Author: Karsten Behrmann <BearPerson AT sourcemage.org>
Commit: Karsten Behrmann <BearPerson AT sourcemage.org>

Split fstab file in a main file for the new user and an examples file for
the advanced user ;-)

commit 2d3a116d83f6bf9204aad9f79a2d2fe2cf76b353
Author: Karsten Behrmann <BearPerson AT sourcemage.org>
Commit: Karsten Behrmann <BearPerson AT sourcemage.org>

hack to make sure there's an /initrd on the iso

diff --git a/iso/initrd/.empty b/iso/initrd/.empty
new file mode 100644
index 0000000..c143545
--- /dev/null
+++ b/iso/initrd/.empty
@@ -0,0 +1 @@
+initrd gets mounted here
diff --git a/system/etc/fstab b/system/etc/fstab
index 58aa805..61d3a5c 100644
--- a/system/etc/fstab
+++ b/system/etc/fstab
@@ -4,9 +4,27 @@
# Virtual, memory only, or non physical file systems
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults 0 0
-#only for 2.6 kernel
+# only for 2.6 kernel
sysfs /sys sysfs defaults 0 0

+# Add your file systems here.
+
+# Examples:
+#/dev/hda2 / reiserfs defaults,noatime 0 1
+#/dev/hda1 /boot ext2 defaults 0 2
+#/dev/hda3 swap swap defaults 0 0
+#
+# The schema is
+# <device> <mountpoint> <type> <options> <dump> <pass>
+# and is roughly executed as
+# mount -t <type> -o <options> <device> <mountpoint>
+
+# Note that, except for /, these need to be in "logical order" -
+# if you have both /usr and /usr/local, put /usr before /usr/local
+
+# For more information, see "man 5 fstab" from the man-pages spell.
+# also see fstab.examples for more examples from the smgl community.
+
#
# We do no longer use tmpfs since it wasted memory instead of disk space
#
diff --git a/system/etc/fstab.examples b/system/etc/fstab.examples
new file mode 100644
index 0000000..743d780
--- /dev/null
+++ b/system/etc/fstab.examples
@@ -0,0 +1,22 @@
+# ========== tmpfs ==========
+# If you want /tmp and pals stored in ram, use these lines.
+# Pro: always empty after reboot, should be fast
+# Con: always empty after reboot, uses memory/swap instead of disk space,
+# kernel should be smart enough to coche stuff anyway
+#
+#tmpfs /var/lock tmpfs defaults 0 0
+#tmpfs /var/run tmpfs defaults 0 0
+#tmpfs /tmp tmpfs defaults,size=256m,nr_inodes=64m 0 0
+
+# ========== shared memory ==========
+# enable this to get POSIX shared memory support (needed for a few apps)
+#tmpfs /dev/shm tmpfs defaults 0 0
+
+# ========== swap file ==========
+# Virtual memory swap file
+# Create with the following commands
+# dd if=/dev/zero of=/swapfile bs=1M count=1024
+# mkswap /swapfile
+# chmod 000 /swapfile
+# Then put the following in your /etc/fstab
+#/swapfile none swap defaults 0 0



  • [SM-Commit] GIT changes to master cauldron by Karsten Behrmann (61485f28bfa9f65dd4281bf58a8d7631ac457772), Karsten Behrmann, 02/05/2008

Archive powered by MHonArc 2.6.24.

Top of Page