-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 38891 b: refs/heads/master c: fefd26b h: refs/heads/master i: 38889: f77e288 38887: 7948cab v: v3
- Loading branch information
Linus Torvalds
committed
Oct 4, 2006
1 parent
ddcd6a7
commit 6bcfc50
Showing
577 changed files
with
64,067 additions
and
67,492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 038b0a6d8d32db934bba6a24e74e76e4e327a94f | ||
refs/heads/master: fefd26b3b8597a11a422d950c0d4424ff33a70ad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
eCryptfs: A stacked cryptographic filesystem for Linux | ||
|
||
eCryptfs is free software. Please see the file COPYING for details. | ||
For documentation, please see the files in the doc/ subdirectory. For | ||
building and installation instructions please see the INSTALL file. | ||
|
||
Maintainer: Phillip Hellewell | ||
Lead developer: Michael A. Halcrow <mhalcrow@us.ibm.com> | ||
Developers: Michael C. Thompson | ||
Kent Yoder | ||
Web Site: http://ecryptfs.sf.net | ||
|
||
This software is currently undergoing development. Make sure to | ||
maintain a backup copy of any data you write into eCryptfs. | ||
|
||
eCryptfs requires the userspace tools downloadable from the | ||
SourceForge site: | ||
|
||
http://sourceforge.net/projects/ecryptfs/ | ||
|
||
Userspace requirements include: | ||
- David Howells' userspace keyring headers and libraries (version | ||
1.0 or higher), obtainable from | ||
http://people.redhat.com/~dhowells/keyutils/ | ||
- Libgcrypt | ||
|
||
|
||
NOTES | ||
|
||
In the beta/experimental releases of eCryptfs, when you upgrade | ||
eCryptfs, you should copy the files to an unencrypted location and | ||
then copy the files back into the new eCryptfs mount to migrate the | ||
files. | ||
|
||
|
||
MOUNT-WIDE PASSPHRASE | ||
|
||
Create a new directory into which eCryptfs will write its encrypted | ||
files (i.e., /root/crypt). Then, create the mount point directory | ||
(i.e., /mnt/crypt). Now it's time to mount eCryptfs: | ||
|
||
mount -t ecryptfs /root/crypt /mnt/crypt | ||
|
||
You should be prompted for a passphrase and a salt (the salt may be | ||
blank). | ||
|
||
Try writing a new file: | ||
|
||
echo "Hello, World" > /mnt/crypt/hello.txt | ||
|
||
The operation will complete. Notice that there is a new file in | ||
/root/crypt that is at least 12288 bytes in size (depending on your | ||
host page size). This is the encrypted underlying file for what you | ||
just wrote. To test reading, from start to finish, you need to clear | ||
the user session keyring: | ||
|
||
keyctl clear @u | ||
|
||
Then umount /mnt/crypt and mount again per the instructions given | ||
above. | ||
|
||
cat /mnt/crypt/hello.txt | ||
|
||
|
||
NOTES | ||
|
||
eCryptfs version 0.1 should only be mounted on (1) empty directories | ||
or (2) directories containing files only created by eCryptfs. If you | ||
mount a directory that has pre-existing files not created by eCryptfs, | ||
then behavior is undefined. Do not run eCryptfs in higher verbosity | ||
levels unless you are doing so for the sole purpose of debugging or | ||
development, since secret values will be written out to the system log | ||
in that case. | ||
|
||
|
||
Mike Halcrow | ||
mhalcrow@us.ibm.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Global File System | ||
------------------ | ||
|
||
http://sources.redhat.com/cluster/ | ||
|
||
GFS is a cluster file system. It allows a cluster of computers to | ||
simultaneously use a block device that is shared between them (with FC, | ||
iSCSI, NBD, etc). GFS reads and writes to the block device like a local | ||
file system, but also uses a lock module to allow the computers coordinate | ||
their I/O so file system consistency is maintained. One of the nifty | ||
features of GFS is perfect consistency -- changes made to the file system | ||
on one machine show up immediately on all other machines in the cluster. | ||
|
||
GFS uses interchangable inter-node locking mechanisms. Different lock | ||
modules can plug into GFS and each file system selects the appropriate | ||
lock module at mount time. Lock modules include: | ||
|
||
lock_nolock -- allows gfs to be used as a local file system | ||
|
||
lock_dlm -- uses a distributed lock manager (dlm) for inter-node locking | ||
The dlm is found at linux/fs/dlm/ | ||
|
||
In addition to interfacing with an external locking manager, a gfs lock | ||
module is responsible for interacting with external cluster management | ||
systems. Lock_dlm depends on user space cluster management systems found | ||
at the URL above. | ||
|
||
To use gfs as a local file system, no external clustering systems are | ||
needed, simply: | ||
|
||
$ mkfs -t gfs2 -p lock_nolock -j 1 /dev/block_device | ||
$ mount -t gfs2 /dev/block_device /dir | ||
|
||
GFS2 is not on-disk compatible with previous versions of GFS. | ||
|
||
The following man pages can be found at the URL above: | ||
gfs2_fsck to repair a filesystem | ||
gfs2_grow to expand a filesystem online | ||
gfs2_jadd to add journals to a filesystem online | ||
gfs2_tool to manipulate, examine and tune a filesystem | ||
gfs2_quota to examine and change quota values in a filesystem | ||
mount.gfs2 to help mount(8) mount a filesystem | ||
mkfs.gfs2 to make a filesystem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.