This is the preliminary
homepage for a FreeBSD live-FS project.
List of features:
- Automatic XFree86 configuration
- Automatic search for swap space
- Automatic search for mountable partitions to create a swapfile
- Automatic mounting of a ramdisk so everything appears writable
- Finding reasonable default sizes for swapfiles and ramdisk
- Automatic saving and restoring of changed files
- A mostly non-interactive configuration facility
for the boot process
- Transparent decompression
How can I get it?
The project consists of multiple files. They aren't yet linked
together properly, and there's still a lot missing (see below).
- init.csh
Put this shellscript into your rc file. It does XFree86 configuration,
swap initialization and restoring of changed files.
- saveconfig.csh
Put this in your rc.shutdown, it is responsible for (you guessed it)
saving the configuration and changed files,
unmounting the ramdisk, and cleaning up.
- configure-x11.c
A very tiny C program. It is called by the init.csh script. Put the
compiled program somewhere in the path.
If someone knows a way to do it in shellscript, please tell me.
- portbuild.csh
It takes a file with a list of ports in it, and builds them.
- portlist
A sample portlist for the portbuild.csh script.
- default_theme
This is the default theme I will give Fluxbox for the ISO image.
- compress.csh
This shellscript walks a directory hierarchy and compresses
all executables it finds.
You can also download all of the above files in one single
tarball.
Warning: Large parts of this
code are UNTESTED!
Use at your own risk!
Updates:
- 2003-12-24
Fixed a tiny, but stupid bug in init.csh: The script would otherwise
append the new configuration to eventually existing ones from
previous sessions.
- 2004-01-09
compress.csh: Implemented transparent decompression.
Coming soon:
- Kernel config file
- Patches for the kernel (if required; I hope not)
- More scripts
- ISO image
- Completely non-interactive boot process configuration
- A way to delete the created swapfiles (hopefully)
- A cleaned up version of the code
(these were my very first shellscripts)
- Documentation
- A script to handle the entire build process automatically
License
All of this is of course released under the terms of the
FreeBSD license.
Comments?
(No HTML e-Mail please)