Vitruvian Penguin
knoppix

[knoppix:0613] knx_persistent_home v0.4

Date: Mon, 23 Dec 2002 02:05:14 +0900
X-mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i586-pc-linux-gnu)
柘植です。こんばんは。

knx_persistent_home v0.4がダウンロードできるようです。

Date: 22 Dec 2002 13:31:34 +0000
From: Matthias Schwarze <m_schwarze@xxxxxx>
To: debian-knoppix@xxxxxxxxxxxx
Subject: [debian-knoppix] [ANNOUNCE] knx_persistent_home v0.4

> The next version of knx_persistent_home is available for download at:
> http://www.centernetworx.de/knx_persistent_home_0.4.zip

まず本体がperlスクリプトからシェルスクリプトに変わり個人的には読みやすくな
って喜んでいます。

そのほかにもいろんな改善が行われたようですが、(下記参照)

起動オプション'copyhome'をつけてKnoppixを起動すると、
persistent_homeで作ったホームディレクトリの中身をそっくりramdisk上にコピー
して'.knoppix'をumountする。

'knx_copy_home'というスクリプトを使うと、上記とは逆に、ramdisk上のホームデ
ィレクトリの内容を、既存の'.knoppix'をループバックマウントして、全てコピー
する。

こうしたオプションやスクリプトを追加した背景にはちょっとびっくりしました。

デジカメにホームディレクトリを作って持ち歩いている人達がいるらしくて、
デジカメのバッテリーを節約するために、Knoppixを使う時にはPCに接続したのち
デジカメからPCのramdiskへ、Knoppixを終了させるときはramdiskからデジカメへ
、とホームディレクトリをバックアップ&レストア(逆か)みたいなことをするのに
便利なように、ということらしいです。日本でもそんな使いかたされてるかたいる
のでしょうか?

また今までのバージョンでは /dev/hd?|/dev/sd?だけを対象に'.knoppix'を探して
いたのですが、v0.4ではデフォルトで/mnt以下の全てのディレクトリ上を探すよう
になったみたいです。

knx_persistent_homeで'.knoppix'を作る時には内部的にlosetupコマンドを使って
.knoppixとループデバイス(/dev/loop?)との関連付けをするわけですが、その際に
losetupのencrypt(暗号化)オプションが使えるようになりました。

従来はroot権限で実行する必要がありましたが、一般ユーザーのままでも実行でき
るようになりました。

また、Knoppixにもともと備わっているsaveconfigではデータをフロッピーの中に
しか保存できませんでしたが、もしpersistent_homeで作ったホームディレクトリ
が存在すればそちらに(ホームディレクトリがramdisk上にあるのなら従来通りフロ
ッピーに)保存してくれるように改善したsaveconfigスクリプトも配布ファイルの
中に追加されました。

などなど。

> What's new in version 0.4:
> ==========================
> - Several bugfixes (busy loopdevices & swapfile issues)
>   [Mostly reported by Klemens Hofer - thanks!]
> - The readme now has a french translation 
>   [Many thanks to Florent Beranger!]
> - New bootparameter "copyhome" to copy the persistent home into
>   the ramdisk and umount the persistent home afterwards. So it's
>   no longer persistent - it's more of a kind of preset!
>   [Idea by probono]
> - New script "knx_copy_home" to copy the home directory from ramdisk
>   to an existing persistent home (the counterpart for "copyhome").
>   Background: If you use a digital camera to store your persistent home,
>   you can turn it off (saving your battery) while you work under
>   knoppix. Before you shutdown knoppix, you can turn it back on and
>   start knx_copy_home to actively write your home directory to .knoppix
>   file on the camera. You need the bootparameter "copyhome" for this to
>   work! [Idea by SI Reasoning]
> - The knoppix.sh will now also scan every directory under /mnt for 
>   the .knoppix-file. This way you can mount remote shares by simply
>   mounting them in the preknoppix.sh script.
>   [Inspiration for this by johnye_pt]
> - New option to encrypt the .knoppix file. (Passwords must be at 
>   least 20 characters long!)
> - knx_persistent_home is now directly runable by clicking on it.
> - Fixed: "must-be-root"-problem [Thanks to Chris Liechti for this!]
> - New: (slightly) modified version of Klaus' saveconfig to save 
>   the system configuration directly into the persistent home, if 
>   it exists. (Or behave like the original if no persistent home is
>   used). The texts are unmodified - it still says "[...] floppy".
> - knx_persistent_home now runs under X and in textmode.

-- 
Tsuge Akihide
<Prev in Thread] Current Thread [Next in Thread>