Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master castfs by Vlad Glagolev (0325298f22ed405280a05a119f5f78834a85633f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master castfs by Vlad Glagolev (0325298f22ed405280a05a119f5f78834a85633f)
  • Date: Fri, 27 Mar 2015 08:58:10 -0500

GIT changes to master castfs by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 18 +++
Makefile.am | 6 +
NEWS | 3
README | 5 -
TODO | 5 -
configure.ac | 23 +++-
doc/Makefile | 28 -----
doc/Makefile.am | 13 ++
doc/castfs-call-for-testers.html | 169
-----------------------------------
doc/castfs-from-David-Brown.eml | 71 --------------
doc/castfs.8 | 90 ------------------
doc/castfs.info | 109 ----------------------
doc/castfs.pod | 75 +++++++++++++++
doc/castfs.tex | 130 --------------------------
doc/old/castfs-call-for-testers.html | 169
+++++++++++++++++++++++++++++++++++
doc/old/castfs-from-David-Brown.eml | 71 ++++++++++++++
doc/old/castfs.tex | 130 ++++++++++++++++++++++++++
17 files changed, 505 insertions(+), 610 deletions(-)

New commits:
commit 0325298f22ed405280a05a119f5f78834a85633f
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

increment version to the current development branch in scm

commit c9370a060c18921e23fe0cd9b150c9cdff4a00a5
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

release 0.6.2

commit db23ee3311095015b8294b9c3ee050baae2a6a04
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

suppress output from the doc makefile

commit 5c51454c0f075a49c9e82291e1206d7c1194b8a2
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

docs-related cosmetic changes

commit 52ca0982ea55e5d7a3c39b4e54d62eaa76941670
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

made building of documentation optional

commit 343a0d80e9c49bd13df62e9ad755ecae233e940a
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

added castfs manual page in POD format

commit db10937d6cacbc5c89e4e96cb9adfc8bc5a79cd2
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

added makefile generation template for doc

commit bfd5bb7603ddf7171cb07382a63a69b434803fba
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

removed hand-made Makefile

commit be793a53183a4ae897a9df7f4a00080ca3593270
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

removed outdated manual and info pages

commit 98c4bd9e5789917297906e5a0c9c3b7bf927a89d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

moved outdated doc files/mails to 'old'

commit 27abe5a17f2126ddb4da96240c38f0033cad3a60
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

fixed static build

diff --git a/ChangeLog b/ChangeLog
index 6c811ca..a25d859 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2015-03-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * doc/castfs-call-for-testers.html, doc/castfs-from-David-Brown.eml,
+ doc/castfs.tex: moved outdated files to doc/old
+ * doc/castfs.8, doc/castfs.info: removed outdated manual and info
pages
+ * doc/Makefile: removed useless makefile
+ * doc/Makefile.am: implemented build for 'doc'
+ * doc/castfs.pod: added POD (Plain Old Documentation) version for
castfs
+ manual page
+ * Makefile.am: made building of documentation optional
+ * configure.ac: added flags to enable/disable documentation
+ * NEWS: added note about manual page; release 0.6.2
+ * README: add myself as a maintainer
+
+2015-03-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * configure.ac: corrected FUSE_PREFIX substring; use proper flags for
+ static build (take them via pkg-config)
+ * TODO: removed irrelevant bug from the list
+
2015-03-23 Vlad Glagolev <stealth AT sourcemage.org>
* src/castfs.c: added forgotten new argc increment; use VERSION
instead
of PACKAGE_VERSION
diff --git a/Makefile.am b/Makefile.am
index 02dc908..0a56436 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,8 @@
MAINTAINERCLEANFILES = config.sub config.guess Makefile.in depcomp
install-sh \
ltmain.sh missing configure aclocal.m4 *~

-SUBDIRS = include src test debian doc
+SUBDIRS = include src test debian
+
+if BUILD_DOCS
+ SUBDIRS += doc
+endif
diff --git a/NEWS b/NEWS
index 29430aa..1f8281e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-0.6.2 (2015-03-__)
+0.6.2 (2015-03-27)
- disabled multi-threaded mode for fuse to fix rare race condition cases
- made xattr support configurable (WARNING: xattr support is still broken)
- removed fgetattr call
@@ -6,3 +6,4 @@
- display proper arguments in a process tree
- display actual version information
- updated configure/build toolchain
+- updated manual page
diff --git a/README b/README
index 520e4fa..7908265 100644
--- a/README
+++ b/README
@@ -70,9 +70,8 @@ mount it via the mount command:
or
# mount -t fuse -o stage=/mnt/cast-fs-stage castfs /mnt/cast-fs

--- Bugs Problems --
+-- Bugs/Problems --

You can contact the maintainers:

-David Brown <dmlb2000 AT gmail.com>
-
+Vlad Glagolev <stealth AT sourcemage.org>
diff --git a/TODO b/TODO
index d63d596..ea9cb0a 100644
--- a/TODO
+++ b/TODO
@@ -3,10 +3,7 @@
3. Fix smgl bugs. (help welcome)
a. Fixed `castfs ~/mnt -o ~/mnt/stage` bug. -D.E.
4. Recruit somebody capable of writing test code.
-5. configure.in: ryuji had problems with FUSE_PREFIX being bad for static
- version. I personally feel the static option should be removed, but
- would like input on this. -D.E.Edmons
-6. Fix bug #14479 (old bugzilla @ bugs.sourcemage.org) related to xattr
support
+5. Fix bug #14479 (old bugzilla @ bugs.sourcemage.org) related to xattr
support

Design changes:
1. Command line options and environment variables should have
diff --git a/configure.ac b/configure.ac
index a4b63d9..4f8e3d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(castfs, 0.6.2)
+AC_INIT(castfs, git)
AM_INIT_AUTOMAKE
AC_PROG_CC

@@ -23,15 +23,15 @@ AC_CHECK_HEADERS(fuse.h,, AC_MSG_ERROR([fuse 2.4 or newer
is required to build c

AC_CHECK_LIB(fuse, fuse_main,, AC_MSG_ERROR([fuse 2.4 or newer is required
to build castfs]))

-FUSE_PREFIX=`pkg-config --variable=exec_prefix fuse `
-AC_SUBST(FUSE_PREFIX,PREFIX,DATAROOTDIR)
+FUSE_PREFIX=`pkg-config --variable=exec_prefix fuse`
+AC_SUBST(FUSE_PREFIX)

AC_ARG_ENABLE(static-fuse,
AC_HELP_STRING([--enable-static-fuse], [Enable building castfs against fuse
statically]),
[static_fuse=${enableval}], [static_fuse=no])

if test "x$static_fuse" = "xyes"; then
- LIBS=`pkg-config --libs fuse | sed
's/-lfuse/$(FUSE_PREFIX)\/lib\/libfuse.a -lrt/'`
+ LIBS=`pkg-config --libs --static fuse | sed
"s:-lfuse:${FUSE_PREFIX}\/lib\/libfuse.a -lrt:"`
fi

AC_ARG_ENABLE(xattr,
@@ -49,8 +49,23 @@ if test "x$support_xattr" = "xyes"; then
AC_CHECK_FUNCS([setxattr],, AC_MSG_ERROR([[XATTRs enabled, but support not
detected]]))
fi

+AC_ARG_ENABLE(documentation,
+AC_HELP_STRING([--disable-documentation], [Disable build of the manual
page]),
+[build_docs=${enableval}], [build_docs=yes])
+
+if test "x$build_docs" = "xyes"; then
+ AC_PATH_PROG(POD2MAN, pod2man, no)
+
+ if test "x$POD2MAN" = "xno"; then
+ AC_MSG_ERROR([[Unable to build the manual page, Perl/pod2man not found]])
+ fi
+fi
+
+AM_CONDITIONAL(BUILD_DOCS, test "x$build_docs" = "xyes")
+
AC_CONFIG_FILES([
Makefile
+doc/Makefile
include/Makefile
src/Makefile
test/Makefile
diff --git a/doc/Makefile b/doc/Makefile
deleted file mode 100644
index d0045e3..0000000
--- a/doc/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-
-SECTION=8
-
-# The following two are due to my being inept at using automake.
-PREFIX=/usr
-DATAROOTDIR=${PREFIX}/share
-
-all:
- touch castfs.${SECTION}
-
-docs: castfs.${SECTION} castfs.info
-
-castfs.${SECTION}: castfs.tex
- latex2man -M castfs.tex castfs.${SECTION}
-
-castfs.info: castfs.tex
- latex2man -T castfs.tex castfs.info
-
-install:
- install -m 0644 castfs.8 ${DATAROOTDIR}/man/man8
- install -m 0644 castfs.info ${DATAROOTDIR}/info
- install-info --info-dir=/usr/share/info \
- ${INSTALL_ROOT}/usr/share/info/castfs.info
-
-distclean: clean
-
-clean:
- echo "Nothing to clean..."
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..ad38db5
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,13 @@
+MAN = castfs.8
+POD = castfs.pod
+
+EXTRA_DIST = $(POD) $(MAN)
+
+man8_MANS = $(MAN)
+
+$(MAN): $(POD)
+ @$(POD2MAN) -u --section=8 --release="Source Mage GNU/Linux" \
+ --center "System Administration" \
+ --date "$$(date '+%B %Y' -d @`stat -c '%Y' $(POD)`)" $< >$@
+
+CLEANFILES = $(MAN)
diff --git a/doc/castfs-call-for-testers.html
b/doc/castfs-call-for-testers.html
deleted file mode 100644
index 1c57107..0000000
--- a/doc/castfs-call-for-testers.html
+++ /dev/null
@@ -1,169 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<html><head><title>[SM-Discuss] Call for Stage Root Sorcery Alpha
Testers</title>
-
-
-
- <link rel="Index"
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/index.html";>
- <link rel="made"
href="mailto:sm-discuss%40lists.ibiblio.org?Subject=%5BSM-Discuss%5D%20Call%20for%20Stage%20Root%20Sorcery%20Alpha%20Testers&amp;In-Reply-To=";>
- <meta name="robots" content="index,nofollow">
- <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <link rel="Previous"
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014453.html";>
- <link rel="Next"
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014459.html";></head><body
bgcolor="#ffffff">
- <h1>[SM-Discuss] Call for Stage Root Sorcery Alpha Testers</h1>
- <b>David Brown</b>
- <a
href="mailto:sm-discuss%40lists.ibiblio.org?Subject=%5BSM-Discuss%5D%20Call%20for%20Stage%20Root%20Sorcery%20Alpha%20Testers&amp;In-Reply-To=";
title="[SM-Discuss] Call for Stage Root Sorcery Alpha Testers">dmlb2000 at
gmail.com
- </a><br>
- <i>Mon May 15 23:06:30 EDT 2006</i>
- <p></p><ul>
- <li>Previous message: <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014453.html";>[SM-Discuss]
Patches in grimoires
-</a></li>
- <li>Next message: <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014459.html";>[SM-Discuss]
Call for Stage Root Sorcery Alpha Testers
-</a></li>
- <li> <b>Messages sorted by:</b>
- <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/date.html#14456";>[
date ]</a>
- <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/thread.html#14456";>[
thread ]</a>
- <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/subject.html#14456";>[
subject ]</a>
- <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/author.html#14456";>[
author ]</a>
- </li>
- </ul>
- <hr>
-<!--beginarticle-->
-<pre>=== Background ===
-Okay for a few months now I've been working on stage root sorcery.
-The idea behind stage root sorcery is to install a package to a stage
-root transparently to the package. Meaning the package doesn't know
-it's installing to a stage root location. Then sorcery can handle
-moving the files back into the system or install root.
-
-=== Why It's Needed? ===
-This feature will fix several bugs currently open in bugzilla slated
-for 1.14. Including fixing shell redirection to create files not being
-tracked and proper config file handling. Also this will allow spells
-to not need to implement and use the INSTALL_ROOT variable. However,
-for the time being they will because we plan on supporting turning off
-stage root.
-
-=== General Info on Use ===
-This feature will only be supported in build api2 spells and there
-will be a way for spell gurus to access the staged files before they
-are put into the system. In order to cast using stage root (once I
-tell you how to set it up) you have to compile and install, ressurrect
-doesn't use it (even though it could I suppose but that may come
-later).
-
-=== Spell Access to Stage Root ===
-With stage root POST_INSTALL will have a new meaning, POST_INSTALL
-will have the sorcery environment and the current working directory
-will be at the root of the stage root. This will allow you to use
-POST_INSTALL to check for file permissions move or remove files that
-you don't want in the install log for the package. This means spells
-could get really nutty and look like debian packages where there's the
-main package then a -dev package that contains all the libs and
-headers, and everything will be compile from source. You can see
-further examples in the gcc set of packages in stage_root grimoire.
-
-=== Additions to Manage Stage Root ===
-There's two things added for users of stage root, the script confmeld
-and the variable STAGED_INSTALL. Configuration files are
-automatically put in a special stage area so they can be merged into
-the system by the user. The script confmeld is there so this can be
-accomplished without doing things manually (even though you can
-manually everythings in /var/state/sorcery/staged_configs). The
-script is assumed to be called as root user, the code for asking for a
-password then recalling itself via su -c isn't in place yet. The
-basic sequence for confmeld is to run find on the directory looking
-for regular files then merging them back into the system with
-install_config_file. The variable STAGED_INSTALL is to turn off the
-stage root feature when using cast. To turn things off simply
-`STAGED_INSTALL=off cast -c &lt;spell&gt;`. Setting STAGED_INSTALL to "off"
-and only "off" will turn off the stage root feature, anything else
-will keep stage root on.
-
-=== What I'm Expecting From Alpha Testers ===
-Some of the things I'm looking for from alpha testers are as follows:
-1) does a cast look okay, try different color configurations?
-2) do things like cast with screen still work well? other features
-from the feature menu?
-3) does confmeld work? does it need additions? look of the output okay?
-4) do install logs, md5sum logs, and archives still look okay?
-
-=== How to Set Stage Root Up ===
-Follow these instructions in order and you should get stage root
-sorcery working.
-PRECONDITIONS: You should have test grimoire and devel sorcery
-currently running on the system. It's recommended to use this in a
-chroot environment first (simply because I'm not too sure about issues
-converting back to normal devel sorcery and test grimoire).
-1) Get Stage Root Sorcery:
-bzr branch <a
href="http://scm.sourcemage.org/smgl/sorcery/stage-root";>http://scm.sourcemage.org/smgl/sorcery/stage-root</a>
-or if Andrew would publish a source tarball somewhere then get that. ;)
-2) Install Stage Root Sorcery:
-nothing about the install is different from any other version of
-sorcery, so if you don't know how to do this you probably shouldn't be
-an alpha tester...
-3) Get Stage Root Grimoire:
-it's in perforce //sgl/grimoires/stage_root
-4) make sure stage_root grimoire is above your test grimoire:
-so something like this in your /etc/sorcery/local/grimoire file.
-GRIMOIRE_DIR[0]=/var/lib/sorcery/codex/stage_root
-GRIMOIRE_DIR[1]=/var/lib/sorcery/codex/test
-GRIMOIRE_DIR[2]=/var/lib/sorcery/codex/z-rejected
-5) Install the New Installwatch
-cast -c installwatch
-POSTCONDITIONS: gcc and g++ versions will have changed so if you like
-you can install the parallel installs of gcc and g++. However, if you
-don't want to do this hold them. I haven't tested the update from
-current install of gcc to parallel so it probably won't be very
-smooth.
-
-Thanks a bunch for any comments.
-
-- David Brown
-</pre>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<!--endarticle-->
- <hr>
- <p></p><ul>
- <!--threads-->
- <li>Previous message: <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014453.html";>[SM-Discuss]
Patches in grimoires
-</a></li>
- <li>Next message: <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014459.html";>[SM-Discuss]
Call for Stage Root Sorcery Alpha Testers
-</a></li>
- <li> <b>Messages sorted by:</b>
- <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/date.html#14456";>[
date ]</a>
- <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/thread.html#14456";>[
thread ]</a>
- <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/subject.html#14456";>[
subject ]</a>
- <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/author.html#14456";>[
author ]</a>
- </li>
- </ul>
-
-<hr>
-<a href="http://lists.ibiblio.org/mailman/listinfo/sm-discuss";>More
information about the SM-Discuss
-mailing list</a><br>
-
-</body></html>
\ No newline at end of file
diff --git a/doc/castfs-from-David-Brown.eml b/doc/castfs-from-David-Brown.eml
deleted file mode 100644
index 562bdd2..0000000
--- a/doc/castfs-from-David-Brown.eml
+++ /dev/null
@@ -1,71 +0,0 @@
-X-Account-Key: account3
-X-UIDL: 20080320212143s1400a8k7ue001cau
-X-Mozilla-Status: 0011
-X-Mozilla-Status2: 00000000
-X-Mozilla-Keys:

-Received: from imta13.westchester.pa.mail.comcast.net ([76.96.62.38])
- by sccrmxc14.comcast.net (sccrmxc14) with ESMTP
- id <20080320212143s14001i4ile>; Thu, 20 Mar 2008 21:21:43 +0000
-X-Originating-IP: [76.96.62.38]
-Received: from muninn.sourcemage.org ([209.245.211.125])
- by IMTA13.westchester.pa.mail.comcast.net with comcast
- id 3ZMa1Z00r2itLqR0D00000; Thu, 20 Mar 2008 21:21:43 +0000
-X-Authority-Analysis: v=1.0 c=1 a=p49UnpaW7zK-bSVt0aoA:9
- a=kO0ISCSe_7IrU9Qf0S3KzgsXsfkA:4 a=si9q_4b84H0A:10 a=JqzK7hVu6n4A:10
-Received: (qmail 19264 invoked by uid 1008); 20 Mar 2008 21:21:34 -0000
-Delivered-To: sourcemage.org-linuxfan AT sourcemage.org
-Received: (qmail 19261 invoked from network); 20 Mar 2008 21:21:34 -0000
-Received: from py-out-1112.google.com (64.233.166.183)
- by muninn.sourcemage.org with SMTP; 20 Mar 2008 21:21:34 -0000
-Received: by py-out-1112.google.com with SMTP id n24so1231957pyh.26
- for <linuxfan AT sourcemage.org>; Thu, 20 Mar 2008 14:21:31 -0700 (PDT)
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=gmail.com; s=beta;
-
h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
- bh=GrFajDNBUA0Xi5bUu86eRQkVPO5arx8qZO0F7g/qNDs=;
-
b=gmugmNCWXoJe8Ow8FTQ7DTa7CEFxz4Sx9z1nkJ4T/0uPXTH58Fl7oN/iGQ248rGrSdbVle68Q+x/9WuBfz/Mt4pK8yn6H4sLU6bOJqEs1wboYEEzuYjR2GOjaH0SfUordLUCiP6ib0k1dGDdSvXpWBp8CtJU7SAbFueEUKVhj4o=
-DomainKey-Signature: a=rsa-sha1; c=nofws;
- d=gmail.com; s=beta;
-
h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
-
b=BDjgj+e2lxegZK1X8uRuLSOQAqAm+GpSviEJczgx5Q51kyo3+to7QPCeD9PkomAd8pyO6AxlKWOvQbIpNfvJG75ikGlK2RQpLAylrXbkbC4XjvoHICmyNtZl2HizmWq4GabaSPz9Ru3tQrxRPJDH5r27xu02RUssgeWxOhDPyII=
-Received: by 10.64.91.15 with SMTP id o15mr4757825qbb.28.1206048090874;
- Thu, 20 Mar 2008 14:21:30 -0700 (PDT)
-Received: by 10.65.150.9 with HTTP; Thu, 20 Mar 2008 14:21:30 -0700 (PDT)
-Message-ID: <9c21eeae0803201421o38a222afqab382b67af861d9 AT mail.gmail.com>
-Date: Thu, 20 Mar 2008 14:21:30 -0700
-From: "David Brown" <dmlb2000 AT gmail.com>
-To: "Dale E. Edmons" <linuxfan AT sourcemage.org>
-Subject: Re: castfs
-In-Reply-To: <47E22C1B.3020900 AT comcast.net>
-MIME-Version: 1.0
-Content-Type: text/plain; charset=ISO-8859-1
-Content-Transfer-Encoding: 7bit
-Content-Disposition: inline
-References: <47E22C1B.3020900 AT comcast.net>
-
-Its all yours, go for it.
-
-Its a fairly simple design but croaks on the init.d spell iirc seems
-that internally to castfs it forgets about files it encounters
-somehow, not sure why.
-
-Thanks,
-- David Brown
-
-On Thu, Mar 20, 2008 at 2:19 AM, Dale E. Edmons <demaillists AT comcast.net>
wrote:
-> David,
->
-> Hi. I'm a new SMGL developer. I barely got smgl running
-> when you moved on to other things.
->
-> I'm volunteering to maintain castfs. Do you have any objections
-> to this? I'm making an effort to get castfs added to SMGL's scm
-> as misc/castfs.
->
-> Thank you much. castfs seems to be a really neat idea. I hope
-> I'll be able to further it's design.
->
-> Dale E. Edmons
-> (aka linuxfan)
->
-
diff --git a/doc/castfs.8 b/doc/castfs.8
deleted file mode 100644
index 9e134cf..0000000
--- a/doc/castfs.8
+++ /dev/null
@@ -1,90 +0,0 @@
-'\" t
-.\" Manual page created with latex2man on Tue Mar 25 17:24:02 PDT 2008
-.\" NOTE: This file is generated, DO NOT EDIT.
-.de Vb
-.ft CW
-.nf
-..
-.de Ve
-.ft R
-
-.fi
-..
-.TH "MAN" "8" "2008/03/23" "Sorcery Tools " "Sorcery Tools "
-.SH NAME
-
-castfs: A FUSE filesystem driver useful for staging
-package installations.
-.PP
-.SH SYNOPSIS
-
-.PP
-castfs
-\fI<mount\-point>\fP
-\fI\-o stage=<dir>\fP
-.PP
-.SH DESCRIPTION
-
-.PP
-castfs
-is a FUSE driver that stages a \fIspell\fP
-for installation. FUSE support must be built into
-the kernel and the fuse module inserted
-(modprobe fuse).
-.PP
-.SH OPTIONS
-
-.PP
-.TP
-\fB\-o stage=\fP\fIdir\fP
- Include the non\-optional staging directory
-.PP
-.TP
-\fB\-\-help, \-h\fP
- display this help
-.PP
-.TP
-\fB\-\-version, \-v\fP
- display version
-.PP
-.SH ENVIRONMENT
-
-.TP
-\fBCASTFS_LOGFILE\fP
- User selected log file
-.PP
-.TP
-\fBCASTFS_DBGLVL\fP
- User specified debug level
-.PP
-.SH EXAMPLES
-
-.PP
-.TP
-\fBcastfs $HOME/mnt \-o stage=$HOME/stage\fP
- Mounts / on $HOME/mnt and duplicates all changes in $HOME/stage.
-.PP
-.TP
-\fBCASTFS_LOGFILE=$HOME/tmp/logfile && CASTFS_DBGLVL=5 &&\fP
- \fBcastfs $HOME/mnt \-o stage=$HOME/stage\fP
-.br
-Mounts / on $HOME/mnt and duplicates all changes in $HOME/stage.
-Logging file set to $HOME/tmp/logfile. Debug level=5.
-.PP
-.SH VERSION
-
-.PP
-Version: 0.6.0 of 2008/03/23\&.
-.PP
-.SH AUTHOR
-
-Author: David Brown
-.br
-Maintainer: Dale E. Edmons
-.br
-.PP
-.SH SEE ALSO
-
-fusermount, fuse
-.PP
-.\" NOTE: This file is generated, DO NOT EDIT.
diff --git a/doc/castfs.info b/doc/castfs.info
deleted file mode 100644
index 7486c9b..0000000
--- a/doc/castfs.info
+++ /dev/null
@@ -1,109 +0,0 @@
-\input texinfo @c -*-texinfo-*-
-@c %**start of header
-@setfilename man.info
-@settitle man
-@c %**end of header
-@c Manual page created with latex2man on Tue Mar 25 17:24:02 PDT 2008>
-@c NOTE: This file is generated, DO NOT EDIT.
-@dircategory Man-pages
-@direntry
-* Man: (man). Its Man-Page
-@end direntry
-@titlepage
-@title man
-@subtitle Sorcery Tools
-@author linuxfan
-@end titlepage
-@node Top, Description, (dir), (dir)
-@top man
-castfs: A FUSE filesystem driver useful for staging
-package installations.
-
-@section Synopsis
-
-
-castfs
-@var{<mount-point>}
-@var{-o stage=<dir>}
-
-@menu
-* Description::
-* Options::
-* Environment::
-* Examples::
-* Version::
-* Author::
-* See Also::
-@end menu
-@node Description, Options, Top, Top
-@section Description
-
-
-castfs
-is a FUSE driver that stages a @var{spell}
-for installation. FUSE support must be built into
-the kernel and the fuse module inserted
-(modprobe fuse).
-
-@node Options, Environment, Description, Top
-@section Options
-
-
-@table @samp
-
-@item -o stage=@var{dir}
-Include the non-optional staging directory
-
-@item --help, -h
-display this help
-
-@item --version, -v
-display version
-
-@end table
-
-@node Environment, Examples, Options, Top
-@section Environment
-
-@item CASTFS_LOGFILE
-User selected log file
-
-@item CASTFS_DBGLVL
-User specified debug level
-
-@node Examples, Version, Environment, Top
-@section Examples
-
-
-@item castfs $HOME/mnt -o stage=$HOME/stage
-Mounts / on $HOME/mnt and duplicates all changes in $HOME/stage.
-
-@item CASTFS_LOGFILE=$HOME/tmp/logfile && CASTFS_DBGLVL=5 &&
-castfs $HOME/mnt -o stage=$HOME/stage
-@*
-Mounts / on $HOME/mnt and duplicates all changes in $HOME/stage.
-Logging file set to $HOME/tmp/logfile. Debug level=5.
-
-@node Version, Author, Examples, Top
-@section Version
-
-
-Version: 0.6.0 of 2008/03/23.
-
-@node Author, See Also, Version, Top
-@section Author
-
-@table @samp
-Author: David Brown@*
-
-Maintainer: Dale E. Edmons@*
-
-@end table
-
-@node See Also, , Author, Top
-@section See Also
-
-fusermount, fuse
-
-@bye
-@c NOTE: This file is generated, DO NOT EDIT.
diff --git a/doc/castfs.pod b/doc/castfs.pod
new file mode 100644
index 0000000..33a7de0
--- /dev/null
+++ b/doc/castfs.pod
@@ -0,0 +1,75 @@
+=encoding utf8
+
+=head1 NAME
+
+castfs - FUSE filesystem driver useful for staging package installations.
+
+=head1 SYNOPSIS
+
+castfs <I<mount-point>> -o stage=<I<dir>> [I<OPTION>]...
+
+=head1 DESCRIPTION
+
+I<castfs> is a FUSE driver that stages a I<spell> for installation. FUSE
support must be built into the kernel and the fuse module inserted
(C<modprobe fuse>).
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-o stage=I<dir>>
+
+Include the non-optional staging directory
+
+=item B<-o ignore=I<path>>
+
+Add optional path to ignore list. Can be specified multiple times.
+
+=item B<-o debug>
+
+Turn on debug mode (forces running in foreground)
+
+=item B<-h>, B<--help>
+
+Display this help
+
+=item B<-v>, B<--version>
+
+Display version information
+
+=back
+
+=head1 ENVIRONMENT
+
+=over 4
+
+=item B<CASTFS_LOGFILE>
+
+User selected log file
+
+=item B<CASTFS_DBGLVL>
+
+User specified debug level
+
+=back
+
+=head1 EXAMPLES
+
+# castfs $HOME/mnt -o stage=$HOME/stage
+
+ Mounts / on $HOME/mnt and duplicates all changes in $HOME/stage.
+
+# CASTFS_LOGFILE=$HOME/tmp/logfile && CASTFS_DBGLVL=5 && castfs \
+ $HOME/mnt -o stage=$HOME/stage
+
+ Mounts / on $HOME/mnt and duplicates all changes in $HOME/stage.
+ Logging file set to $HOME/tmp/logfile. Debug level=5.
+
+=head1 AUTHOR
+
+Original version by David Brown.
+
+Maintained by the Source Mage GNU/Linux Team (http://www.sourcemage.org)
+
+=head1 SEE ALSO
+
+fusermount(1), chroot(1), mount(8), cast(8)
diff --git a/doc/castfs.tex b/doc/castfs.tex
deleted file mode 100644
index 3d4867c..0000000
--- a/doc/castfs.tex
+++ /dev/null
@@ -1,130 +0,0 @@
-%----------------------------------------------------------
-% castfs.8 manpage adapted by linuxfan
-%
-% edits: 1) copied from latex2man.tex linuxfan
-%----------------------------------------------------------
-
-\documentclass[english]{article}
-%\usepackage[latin1]{inputenc}
-\usepackage{babel}
-\usepackage{verbatim}
-
-%% do we have the `hyperref package?
-\IfFileExists{hyperref.sty}{
- \usepackage[bookmarksopen,bookmarksnumbered]{hyperref}
-}{}
-
-%% do we have the `fancyhdr' package?
-\IfFileExists{fancyhdr.sty}{
-\usepackage[fancyhdr]{latex2man}
-}{
-%% do we have the `fancyheadings' package?
-\IfFileExists{fancyheadings.sty}{
-\usepackage[fancy]{latex2man}
-}{
-\usepackage[nofancy]{latex2man}
-\message{no fancyhdr or fancyheadings package present, discard it}
-}}
-
-%% do we have the `rcsinfo' package?
-\IfFileExists{rcsinfo.sty}{
-\usepackage[nofancy]{rcsinfo}
-\rcsInfo $Id: latex2man.tex,v 1.186 2007/12/05 15:38:57 vollmer Exp $
-\setDate{\rcsInfoLongDate}
-}{
-\setDate{2008/03/23} %%%% must be manually set, if rcsinfo is not present
-\message{package rcsinfo not present, discard it}
-}
-
-\setVersionWord{Version:} %%% that's the default, no need to set it.
-\setVersion{0.6.0}
-
-%-------------------------------------
-
-\begin{document}
-
-\begin{Name}{8}{man}{linuxfan}{Sorcery Tools}{castfs\\--\\ A staging
filesystem for package/spell installation}
- castfs: A FUSE filesystem driver useful for staging
- package installations.
-\end{Name}
-
-%-------------------------------------
-
-\section{Synopsis}
-
- \Prog{castfs}
- \Arg{<mount-point>}
- \Arg{-o stage=<dir>}
-
-%-------------------------------------
-
-\section{Description}
-
- \Prog{castfs} is a FUSE driver that stages a \Arg{spell}
- for installation. FUSE support must be built into
- the kernel and the fuse module inserted
- (modprobe fuse).
-
-%-------------------------------------
-
-\section{Options}
-
-\begin{Description}[\OptArg{-t}{transfile}]\setlength{\itemsep}{0cm}
-
- \item[\OptArg{-o stage=}{dir}]
- Include the non-optional staging directory
-
- \item[\Opt{--help, -h}]
- display this help
-
- \item[\Opt{--version, -v}]
- display version
-
-\end{Description}
-
-%-------------------------------------
-
-\section{Environment}
- \item[\Opt{CASTFS_LOGFILE}]
- User selected log file
-
- \item[\Opt{CASTFS_DBGLVL}]
- User specified debug level
-
-%-------------------------------------
-\section{Examples}
-
- \item[\Opt{castfs \$HOME/mnt -o stage=\$HOME/stage}]
- Mounts / on \$HOME/mnt and duplicates all changes in
\$HOME/stage.
-
- \item[\Opt{CASTFS_LOGFILE=\$HOME/tmp/logfile \&\& CASTFS_DBGLVL=5
\&\&}]
- \Opt{castfs \$HOME/mnt -o stage=\$HOME/stage} \\
- Mounts / on \$HOME/mnt and duplicates all changes in
\$HOME/stage.
- Logging file set to \$HOME/tmp/logfile. Debug level=5.
-
-%-------------------------------------
-
-\section{Version}
-
-Version: \Version\ of \Date.
-
-%-------------------------------------
-
-\section{Author}
-\begin{description}
-Author: David Brown\\
-Maintainer: Dale E. Edmons\\
-\end{description}
-
-%-------------------------------------
-
-\section{See Also}
- fusermount, fuse
-
-%-------------------------------------
-
-\LatexManEnd
-
-%-------------------------------------
-
-\end{document}
diff --git a/doc/old/castfs-call-for-testers.html
b/doc/old/castfs-call-for-testers.html
new file mode 100644
index 0000000..1c57107
--- /dev/null
+++ b/doc/old/castfs-call-for-testers.html
@@ -0,0 +1,169 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<html><head><title>[SM-Discuss] Call for Stage Root Sorcery Alpha
Testers</title>
+
+
+
+ <link rel="Index"
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/index.html";>
+ <link rel="made"
href="mailto:sm-discuss%40lists.ibiblio.org?Subject=%5BSM-Discuss%5D%20Call%20for%20Stage%20Root%20Sorcery%20Alpha%20Testers&amp;In-Reply-To=";>
+ <meta name="robots" content="index,nofollow">
+ <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <link rel="Previous"
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014453.html";>
+ <link rel="Next"
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014459.html";></head><body
bgcolor="#ffffff">
+ <h1>[SM-Discuss] Call for Stage Root Sorcery Alpha Testers</h1>
+ <b>David Brown</b>
+ <a
href="mailto:sm-discuss%40lists.ibiblio.org?Subject=%5BSM-Discuss%5D%20Call%20for%20Stage%20Root%20Sorcery%20Alpha%20Testers&amp;In-Reply-To=";
title="[SM-Discuss] Call for Stage Root Sorcery Alpha Testers">dmlb2000 at
gmail.com
+ </a><br>
+ <i>Mon May 15 23:06:30 EDT 2006</i>
+ <p></p><ul>
+ <li>Previous message: <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014453.html";>[SM-Discuss]
Patches in grimoires
+</a></li>
+ <li>Next message: <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014459.html";>[SM-Discuss]
Call for Stage Root Sorcery Alpha Testers
+</a></li>
+ <li> <b>Messages sorted by:</b>
+ <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/date.html#14456";>[
date ]</a>
+ <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/thread.html#14456";>[
thread ]</a>
+ <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/subject.html#14456";>[
subject ]</a>
+ <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/author.html#14456";>[
author ]</a>
+ </li>
+ </ul>
+ <hr>
+<!--beginarticle-->
+<pre>=== Background ===
+Okay for a few months now I've been working on stage root sorcery.
+The idea behind stage root sorcery is to install a package to a stage
+root transparently to the package. Meaning the package doesn't know
+it's installing to a stage root location. Then sorcery can handle
+moving the files back into the system or install root.
+
+=== Why It's Needed? ===
+This feature will fix several bugs currently open in bugzilla slated
+for 1.14. Including fixing shell redirection to create files not being
+tracked and proper config file handling. Also this will allow spells
+to not need to implement and use the INSTALL_ROOT variable. However,
+for the time being they will because we plan on supporting turning off
+stage root.
+
+=== General Info on Use ===
+This feature will only be supported in build api2 spells and there
+will be a way for spell gurus to access the staged files before they
+are put into the system. In order to cast using stage root (once I
+tell you how to set it up) you have to compile and install, ressurrect
+doesn't use it (even though it could I suppose but that may come
+later).
+
+=== Spell Access to Stage Root ===
+With stage root POST_INSTALL will have a new meaning, POST_INSTALL
+will have the sorcery environment and the current working directory
+will be at the root of the stage root. This will allow you to use
+POST_INSTALL to check for file permissions move or remove files that
+you don't want in the install log for the package. This means spells
+could get really nutty and look like debian packages where there's the
+main package then a -dev package that contains all the libs and
+headers, and everything will be compile from source. You can see
+further examples in the gcc set of packages in stage_root grimoire.
+
+=== Additions to Manage Stage Root ===
+There's two things added for users of stage root, the script confmeld
+and the variable STAGED_INSTALL. Configuration files are
+automatically put in a special stage area so they can be merged into
+the system by the user. The script confmeld is there so this can be
+accomplished without doing things manually (even though you can
+manually everythings in /var/state/sorcery/staged_configs). The
+script is assumed to be called as root user, the code for asking for a
+password then recalling itself via su -c isn't in place yet. The
+basic sequence for confmeld is to run find on the directory looking
+for regular files then merging them back into the system with
+install_config_file. The variable STAGED_INSTALL is to turn off the
+stage root feature when using cast. To turn things off simply
+`STAGED_INSTALL=off cast -c &lt;spell&gt;`. Setting STAGED_INSTALL to "off"
+and only "off" will turn off the stage root feature, anything else
+will keep stage root on.
+
+=== What I'm Expecting From Alpha Testers ===
+Some of the things I'm looking for from alpha testers are as follows:
+1) does a cast look okay, try different color configurations?
+2) do things like cast with screen still work well? other features
+from the feature menu?
+3) does confmeld work? does it need additions? look of the output okay?
+4) do install logs, md5sum logs, and archives still look okay?
+
+=== How to Set Stage Root Up ===
+Follow these instructions in order and you should get stage root
+sorcery working.
+PRECONDITIONS: You should have test grimoire and devel sorcery
+currently running on the system. It's recommended to use this in a
+chroot environment first (simply because I'm not too sure about issues
+converting back to normal devel sorcery and test grimoire).
+1) Get Stage Root Sorcery:
+bzr branch <a
href="http://scm.sourcemage.org/smgl/sorcery/stage-root";>http://scm.sourcemage.org/smgl/sorcery/stage-root</a>
+or if Andrew would publish a source tarball somewhere then get that. ;)
+2) Install Stage Root Sorcery:
+nothing about the install is different from any other version of
+sorcery, so if you don't know how to do this you probably shouldn't be
+an alpha tester...
+3) Get Stage Root Grimoire:
+it's in perforce //sgl/grimoires/stage_root
+4) make sure stage_root grimoire is above your test grimoire:
+so something like this in your /etc/sorcery/local/grimoire file.
+GRIMOIRE_DIR[0]=/var/lib/sorcery/codex/stage_root
+GRIMOIRE_DIR[1]=/var/lib/sorcery/codex/test
+GRIMOIRE_DIR[2]=/var/lib/sorcery/codex/z-rejected
+5) Install the New Installwatch
+cast -c installwatch
+POSTCONDITIONS: gcc and g++ versions will have changed so if you like
+you can install the parallel installs of gcc and g++. However, if you
+don't want to do this hold them. I haven't tested the update from
+current install of gcc to parallel so it probably won't be very
+smooth.
+
+Thanks a bunch for any comments.
+
+- David Brown
+</pre>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <hr>
+ <p></p><ul>
+ <!--threads-->
+ <li>Previous message: <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014453.html";>[SM-Discuss]
Patches in grimoires
+</a></li>
+ <li>Next message: <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/014459.html";>[SM-Discuss]
Call for Stage Root Sorcery Alpha Testers
+</a></li>
+ <li> <b>Messages sorted by:</b>
+ <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/date.html#14456";>[
date ]</a>
+ <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/thread.html#14456";>[
thread ]</a>
+ <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/subject.html#14456";>[
subject ]</a>
+ <a
href="https://lists.ibiblio.org/sympa/arc/sm-discuss/2006-May/author.html#14456";>[
author ]</a>
+ </li>
+ </ul>
+
+<hr>
+<a href="http://lists.ibiblio.org/mailman/listinfo/sm-discuss";>More
information about the SM-Discuss
+mailing list</a><br>
+
+</body></html>
\ No newline at end of file
diff --git a/doc/old/castfs-from-David-Brown.eml
b/doc/old/castfs-from-David-Brown.eml
new file mode 100644
index 0000000..562bdd2
--- /dev/null
+++ b/doc/old/castfs-from-David-Brown.eml
@@ -0,0 +1,71 @@
+X-Account-Key: account3
+X-UIDL: 20080320212143s1400a8k7ue001cau
+X-Mozilla-Status: 0011
+X-Mozilla-Status2: 00000000
+X-Mozilla-Keys:

+Received: from imta13.westchester.pa.mail.comcast.net ([76.96.62.38])
+ by sccrmxc14.comcast.net (sccrmxc14) with ESMTP
+ id <20080320212143s14001i4ile>; Thu, 20 Mar 2008 21:21:43 +0000
+X-Originating-IP: [76.96.62.38]
+Received: from muninn.sourcemage.org ([209.245.211.125])
+ by IMTA13.westchester.pa.mail.comcast.net with comcast
+ id 3ZMa1Z00r2itLqR0D00000; Thu, 20 Mar 2008 21:21:43 +0000
+X-Authority-Analysis: v=1.0 c=1 a=p49UnpaW7zK-bSVt0aoA:9
+ a=kO0ISCSe_7IrU9Qf0S3KzgsXsfkA:4 a=si9q_4b84H0A:10 a=JqzK7hVu6n4A:10
+Received: (qmail 19264 invoked by uid 1008); 20 Mar 2008 21:21:34 -0000
+Delivered-To: sourcemage.org-linuxfan AT sourcemage.org
+Received: (qmail 19261 invoked from network); 20 Mar 2008 21:21:34 -0000
+Received: from py-out-1112.google.com (64.233.166.183)
+ by muninn.sourcemage.org with SMTP; 20 Mar 2008 21:21:34 -0000
+Received: by py-out-1112.google.com with SMTP id n24so1231957pyh.26
+ for <linuxfan AT sourcemage.org>; Thu, 20 Mar 2008 14:21:31 -0700 (PDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
+ d=gmail.com; s=beta;
+
h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
+ bh=GrFajDNBUA0Xi5bUu86eRQkVPO5arx8qZO0F7g/qNDs=;
+
b=gmugmNCWXoJe8Ow8FTQ7DTa7CEFxz4Sx9z1nkJ4T/0uPXTH58Fl7oN/iGQ248rGrSdbVle68Q+x/9WuBfz/Mt4pK8yn6H4sLU6bOJqEs1wboYEEzuYjR2GOjaH0SfUordLUCiP6ib0k1dGDdSvXpWBp8CtJU7SAbFueEUKVhj4o=
+DomainKey-Signature: a=rsa-sha1; c=nofws;
+ d=gmail.com; s=beta;
+
h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
+
b=BDjgj+e2lxegZK1X8uRuLSOQAqAm+GpSviEJczgx5Q51kyo3+to7QPCeD9PkomAd8pyO6AxlKWOvQbIpNfvJG75ikGlK2RQpLAylrXbkbC4XjvoHICmyNtZl2HizmWq4GabaSPz9Ru3tQrxRPJDH5r27xu02RUssgeWxOhDPyII=
+Received: by 10.64.91.15 with SMTP id o15mr4757825qbb.28.1206048090874;
+ Thu, 20 Mar 2008 14:21:30 -0700 (PDT)
+Received: by 10.65.150.9 with HTTP; Thu, 20 Mar 2008 14:21:30 -0700 (PDT)
+Message-ID: <9c21eeae0803201421o38a222afqab382b67af861d9 AT mail.gmail.com>
+Date: Thu, 20 Mar 2008 14:21:30 -0700
+From: "David Brown" <dmlb2000 AT gmail.com>
+To: "Dale E. Edmons" <linuxfan AT sourcemage.org>
+Subject: Re: castfs
+In-Reply-To: <47E22C1B.3020900 AT comcast.net>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+References: <47E22C1B.3020900 AT comcast.net>
+
+Its all yours, go for it.
+
+Its a fairly simple design but croaks on the init.d spell iirc seems
+that internally to castfs it forgets about files it encounters
+somehow, not sure why.
+
+Thanks,
+- David Brown
+
+On Thu, Mar 20, 2008 at 2:19 AM, Dale E. Edmons <demaillists AT comcast.net>
wrote:
+> David,
+>
+> Hi. I'm a new SMGL developer. I barely got smgl running
+> when you moved on to other things.
+>
+> I'm volunteering to maintain castfs. Do you have any objections
+> to this? I'm making an effort to get castfs added to SMGL's scm
+> as misc/castfs.
+>
+> Thank you much. castfs seems to be a really neat idea. I hope
+> I'll be able to further it's design.
+>
+> Dale E. Edmons
+> (aka linuxfan)
+>
+
diff --git a/doc/old/castfs.tex b/doc/old/castfs.tex
new file mode 100644
index 0000000..3d4867c
--- /dev/null
+++ b/doc/old/castfs.tex
@@ -0,0 +1,130 @@
+%----------------------------------------------------------
+% castfs.8 manpage adapted by linuxfan
+%
+% edits: 1) copied from latex2man.tex linuxfan
+%----------------------------------------------------------
+
+\documentclass[english]{article}
+%\usepackage[latin1]{inputenc}
+\usepackage{babel}
+\usepackage{verbatim}
+
+%% do we have the `hyperref package?
+\IfFileExists{hyperref.sty}{
+ \usepackage[bookmarksopen,bookmarksnumbered]{hyperref}
+}{}
+
+%% do we have the `fancyhdr' package?
+\IfFileExists{fancyhdr.sty}{
+\usepackage[fancyhdr]{latex2man}
+}{
+%% do we have the `fancyheadings' package?
+\IfFileExists{fancyheadings.sty}{
+\usepackage[fancy]{latex2man}
+}{
+\usepackage[nofancy]{latex2man}
+\message{no fancyhdr or fancyheadings package present, discard it}
+}}
+
+%% do we have the `rcsinfo' package?
+\IfFileExists{rcsinfo.sty}{
+\usepackage[nofancy]{rcsinfo}
+\rcsInfo $Id: latex2man.tex,v 1.186 2007/12/05 15:38:57 vollmer Exp $
+\setDate{\rcsInfoLongDate}
+}{
+\setDate{2008/03/23} %%%% must be manually set, if rcsinfo is not present
+\message{package rcsinfo not present, discard it}
+}
+
+\setVersionWord{Version:} %%% that's the default, no need to set it.
+\setVersion{0.6.0}
+
+%-------------------------------------
+
+\begin{document}
+
+\begin{Name}{8}{man}{linuxfan}{Sorcery Tools}{castfs\\--\\ A staging
filesystem for package/spell installation}
+ castfs: A FUSE filesystem driver useful for staging
+ package installations.
+\end{Name}
+
+%-------------------------------------
+
+\section{Synopsis}
+
+ \Prog{castfs}
+ \Arg{<mount-point>}
+ \Arg{-o stage=<dir>}
+
+%-------------------------------------
+
+\section{Description}
+
+ \Prog{castfs} is a FUSE driver that stages a \Arg{spell}
+ for installation. FUSE support must be built into
+ the kernel and the fuse module inserted
+ (modprobe fuse).
+
+%-------------------------------------
+
+\section{Options}
+
+\begin{Description}[\OptArg{-t}{transfile}]\setlength{\itemsep}{0cm}
+
+ \item[\OptArg{-o stage=}{dir}]
+ Include the non-optional staging directory
+
+ \item[\Opt{--help, -h}]
+ display this help
+
+ \item[\Opt{--version, -v}]
+ display version
+
+\end{Description}
+
+%-------------------------------------
+
+\section{Environment}
+ \item[\Opt{CASTFS_LOGFILE}]
+ User selected log file
+
+ \item[\Opt{CASTFS_DBGLVL}]
+ User specified debug level
+
+%-------------------------------------
+\section{Examples}
+
+ \item[\Opt{castfs \$HOME/mnt -o stage=\$HOME/stage}]
+ Mounts / on \$HOME/mnt and duplicates all changes in
\$HOME/stage.
+
+ \item[\Opt{CASTFS_LOGFILE=\$HOME/tmp/logfile \&\& CASTFS_DBGLVL=5
\&\&}]
+ \Opt{castfs \$HOME/mnt -o stage=\$HOME/stage} \\
+ Mounts / on \$HOME/mnt and duplicates all changes in
\$HOME/stage.
+ Logging file set to \$HOME/tmp/logfile. Debug level=5.
+
+%-------------------------------------
+
+\section{Version}
+
+Version: \Version\ of \Date.
+
+%-------------------------------------
+
+\section{Author}
+\begin{description}
+Author: David Brown\\
+Maintainer: Dale E. Edmons\\
+\end{description}
+
+%-------------------------------------
+
+\section{See Also}
+ fusermount, fuse
+
+%-------------------------------------
+
+\LatexManEnd
+
+%-------------------------------------
+
+\end{document}



  • [SM-Commit] GIT changes to master castfs by Vlad Glagolev (0325298f22ed405280a05a119f5f78834a85633f), Vlad Glagolev, 03/27/2015

Archive powered by MHonArc 2.6.24.

Top of Page