MESSAGE
| DATE | 2005-03-16 |
| FROM | From: "Inker, Evan"
|
| SUBJECT | Subject: [hangout] Knoppix 3.8 and UnionFS. Wow. Just Wow.
|
From owner-hangouts-destenys-at-mrbrklyn.com Wed Mar 16 15:06:18 2005 X-UIDL: 6=O!!n/`!!$%6"!ml;"! Received: from www2.mrbrklyn.com (localhost [127.0.0.1]) by mrbrklyn.com (8.12.11/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id j2GK6IZB022826 for ; Wed, 16 Mar 2005 15:06:18 -0500 Received: (from mdom-at-localhost) by www2.mrbrklyn.com (8.12.11/8.12.3/Submit) id j2GK6HLZ022825 for hangouts-destenys; Wed, 16 Mar 2005 15:06:17 -0500 X-Authentication-Warning: www2.mrbrklyn.com: mdom set sender to owner-hangouts-at-www2.mrbrklyn.com using -f Received: from mail57.messagelabs.com (mail57.messagelabs.com [195.245.230.115]) by mrbrklyn.com (8.12.11/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id j2GK6GFu022820 for ; Wed, 16 Mar 2005 15:06:16 -0500 X-VirusChecked: Checked X-Env-Sender: EInker-at-gam.com X-Msg-Ref: server-5.tower-57.messagelabs.com!1111003597!44632521!1 X-StarScan-Version: 5.4.11; banners=-,-,- X-Originating-IP: [193.202.231.225] Received: (qmail 27760 invoked from network); 16 Mar 2005 20:06:37 -0000 Received: from unknown (HELO w2gw-ldn02.gam.com) (193.202.231.225) by server-5.tower-57.messagelabs.com with SMTP; 16 Mar 2005 20:06:37 -0000 Received: from ntas-ldn15.gam.com (unverified) by w2gw-ldn02.gam.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Wed, 16 Mar 2005 20:06:37 +0000 Received: by ntas-ldn15.gam.com with Internet Mail Service (5.5.2653.19) id <13M42QCK>; Wed, 16 Mar 2005 20:06:37 -0000 Message-ID: <386AEEE1B7BAC34CB4DDF394C2349278D6EC4C-at-w2cs-nyk02.gam.com> From: "Inker, Evan" To: hangout-at-nylxs.com Subject: [hangout] Knoppix 3.8 and UnionFS. Wow. Just Wow. Date: Wed, 16 Mar 2005 20:04:04 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C52A63.4E0F4680" Sender: owner-hangouts-at-mrbrklyn.com Precedence: bulk Reply-To: "Inker, Evan" List: New Yorker GNU Linux Scene Admin: To unsubscribe send unsubscribe name-at-domian.com in the body to hangout-request-at-www2.mrbrklyn.com X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on www2.mrbrklyn.com X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,HTML_10_20, HTML_MESSAGE autolearn=no version=3.0.0 X-Spam-Level: X-Keywords: X-UID: 38020 Status: RO Content-Length: 13549 Lines: 293
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.
------_=_NextPart_001_01C52A63.4E0F4680 Content-Type: text/plain
Knoppix 3.8 and UnionFS. Wow. Just Wow.
by Kyle Rankin Mar. 14, 2005 URL: http://www.heise.de/english/newsticker/news/56987
Klaus has released the latest version of Knoppix, 3.8, to the crowd at CeBIT 2005. This version includes the normal round of updates including the 2.6.11 kernel by default, KDE 3.3.2, and Firefox and Thunderbird instead of Mozilla. The exciting news, however, is the addition of UnionFS . UnionFS stacks your Knoppix ramdisk on top of the read-only filesystem on the CD, the effect being that you can apt-get install, and otherwise modify all of the files on the system as though they were all writeable. Here I'll go over why I think this is going to change Knoppix in a major way.
One of the struggles with using Knoppix day-to-day as a portable distribution has always been the fact that the majority of the CD was read-only. You had a nice ramdisk sandbox that let you write within the /home directory, and tinker in /etc if you changed some of the symlinks. If you wanted persistence, there was a nice script that created a small filesystem on writeable media like a usb thumbdrive and used it to store your home directory.
The Problem
The problem, of course, is that you couldn't install new programs with this method. All of /usr is read-only. Over time various methods have been introduced to try to hack around this by redirecting binaries into the /home directory and changing various system paths. The live software installer that came with previous versions of Knoppix is one example, and klik is another. These worked okay, depending on the program, but in some cases relied on hacks such as using scripts to search and replace file paths within binaries.
The Solution
Enter UnionFS. With this system, basically every segment of the filesystem is read-write. UnionFS keeps track of which files you have modified (which are modified and stored within the ramdisk) and which are unmodified, all on the fly. When you access a file in the filesystem that has been modified, UnionFS points you to the copy in ramdisk instead of the copy on the CD-ROM. This means that if you, say, want to install the enlightenment window manager all you would need to do is:
knoppix-at-2[knoppix]$ sudo apt-get update knoppix-at-2[knoppix]$ sudo apt-get install enlightenment
You can install programs just like with Debian. They all get installed to their regular locations, and if you check out the /ramdisk directory on the CD, you will see a mirror of the root directory structure (or at least the directories that have been modified) and can see all of the files that you have changed. You can even use your favorite graphical packaging program (if you have one) to install packages.
This also means that if you set up a persistent home directory, you can potentially back up all of these changes and restore them at boot. In fact, Knoppix 3.8 already has a modified persistent home script that does just this (although it's still a beta feature so expect to see bugs here and there). Knoppix can even detect when you have done this on a drive when it boots, and will let you choose what features to restore from this image (if any). If you let it time out, Knoppix does the safe thing and doesn't load any of the settings.
The latest persistence script also automates the process of setting up an AES256-encrypted home directory, so if you are concerned about the security of your persistent image you can enable this option, type in a passcode, and Knoppix does the rest.
I really think UnionFS is going to take Knoppix to a whole new level of ubiquitous computing. You can truly use the CD just like any other installed CD, and with the prices of usb thumbdrives continuing to drop, you can basically install anything you would like. Major changes, such as replacing KDE with Gnome, probably will still work better if you do a full remaster, but I expect all of the Knoppix-based live CDs (if they are smart) will incorporate this technology into future releases.
Can you tell that I'm excited about this? Like I said, currently it seems to be a bit buggy (on a few of my machines I seem to get some instability after I restore from an image), but I imagine that sort of thing will be ironed out once the "download version" of Knoppix 3.8 hits http://www.knoppix.org .
Kyle Rankin is a system administrator for The Green Sheet, Inc., the current president of the North Bay Linux Users Group , and the author of Knoppix Hacks .
**************************************************************************** This message contains confidential information and is intended only for the individual or entity named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as an invitation or offer to buy or sell any securities or related financial instruments. GAM operates in many jurisdictions and is regulated or licensed in those jurisdictions as required. ****************************************************************************
------_=_NextPart_001_01C52A63.4E0F4680 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Message
=
Knoppix 3.8 and UnionFS. Wow. Just Wow.by href=3D"http://www.oreillynet.com/pub/au/1849">Kyle Rankin Mar. 14,= 2005 URL: href=3D"http://www.heise.de/english/newsticker/news/56987">http://www.heise= .de/english/newsticker/news/56987
Klaus has released the latest version of Knoppix, 3.8, to the crowd at C= eBIT=20 2005. This version includes the normal round of updates including the 2.6.1= 1=20 kernel by default, KDE 3.3.2, and Firefox and Thunderbird instead of Mozill= a.=20 The exciting news, however, is the addition of href=3D"http://www.fsl.cs.sunysb.edu/project-unionfs.html">UnionFS. Uni= onFS=20 stacks your Knoppix ramdisk on top of the read-only filesystem on the CD, t= he=20 effect being that you can apt-get install, and otherwise modify all of the = files=20 on the system as though they were all writeable. Here I'll go over why I th= ink=20 this is going to change Knoppix in a major way.=20
One of the struggles with using Knoppix day-to-day as a portable distrib= ution=20 has always been the fact that the majority of the CD was read-only. You had= a=20 nice ramdisk sandbox that let you write within the /home directory, and tin= ker=20 in /etc if you changed some of the symlinks. If you wanted persistence, the= re=20 was a nice script that created a small filesystem on writeable media like a= usb=20 thumbdrive and used it to store your home directory.=20
The Problem
The problem, of course, is that you couldn't install new programs with t= his=20 method. All of /usr is read-only. Over time various methods have been intro= duced=20 to try to hack around this by redirecting binaries into the /home directory= and=20 changing various system paths. The live software installer that came with= previous versions of Knoppix is one example, and href=3D"http://klik.sf.net/">klik is another. These worked okay, depend= ing on=20 the program, but in some cases relied on hacks such as using scripts to sea= rch=20 and replace file paths within binaries.=20
The Solution
Enter UnionFS. With this system, basically every segment of the filesyst= em is=20 read-write. UnionFS keeps track of which files you have modified (which are= modified and stored within the ramdisk) and which are unmodified, all on t= he=20 fly. When you access a file in the filesystem that has been modified, Union= FS=20 points you to the copy in ramdisk instead of the copy on the CD-ROM. This m= eans=20 that if you, say, want to install the href=3D"http://www.enlightenment.org/">enlightenment window manager all= you=20 would need to do is:=20
knoppix-at-2[knoppix]$ sudo apt-get=20 update knoppix-at-2[knoppix]$ sudo apt-get install=20 enlightenment
You can install programs just like with Debian. They all get installed t= o=20 their regular locations, and if you check out the /ramdisk directory on the= CD,=20 you will see a mirror of the root directory structure (or at least the=20 directories that have been modified) and can see all of the files that you = have=20 changed. You can even use your favorite graphical packaging program (if you= have=20 one) to install packages.=20
This also means that if you set up a persistent home directory, you can= potentially back up all of these changes and restore them at boot. In fact= ,=20 Knoppix 3.8 already has a modified persistent home script that does just th= is=20 (although it's still a beta feature so expect to see bugs here and there).= Knoppix can even detect when you have done this on a drive when it boots, = and=20 will let you choose what features to restore from this image (if any). If y= ou=20 let it time out, Knoppix does the safe thing and doesn't load any of the=20 settings.=20
The latest persistence script also automates the process of setting up a= n=20 AES256-encrypted home directory, so if you are concerned about the security= of=20 your persistent image you can enable this option, type in a passcode, and= Knoppix does the rest.=20
I really think UnionFS is going to take Knoppix to a whole new level of= ubiquitous computing. You can truly use the CD just like any other install= ed CD,=20 and with the prices of usb thumbdrives continuing to drop, you can basicall= y=20 install anything you would like. Major changes, such as replacing KDE with= Gnome, probably will still work better if you do a full remaster, but I ex= pect=20 all of the Knoppix-based live CDs (if they are smart) will incorporate this= technology into future releases.=20
Can you tell that I'm excited about this? Like I said, currently it seem= s to=20 be a bit buggy (on a few of my machines I seem to get some instability afte= r I=20 restore from an image), but I imagine that sort of thing will be ironed out= once=20 the "download version" of Knoppix 3.8 hits href=3D"http://www.knoppix.org/">http://www.knoppix.org.=20
Kyle Rankin is = a=20 system administrator for The Green Sheet, Inc., the current president of th= e href=3D"http://nblug.org/">North Bay Linux Users Group, and the author = of href=3D"http://www.oreilly.com/catalog/knoppixhks">Knoppix Hacks.=20
***************************************************************************= *
This message contains confidential information and is intended only
for the individual or entity named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the contents of this
message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version.
This message is provided for informational purposes and should not
be construed as an invitation or offer to buy or sell any securities or
related financial instruments.
GAM operates in many jurisdictions and is
regulated or licensed in those jurisdictions as required.
***************************************************************************= *
------_=_NextPart_001_01C52A63.4E0F4680-- ____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|