On 2002-01-22T13:02:01, Michael Zhu <mylinuxk@yahoo.ca> said: > Hello, everyone, in my loop device I want to use > different keys to en/decrypt the file contents and the > metadata of directories/file names information. But > how can I differentiate these two types of data in the > loop device? The loop device just cares about the > block. But the metadata of directories/file names > information is just the file system information. Any > idea about this? Thanks in advance. You can't. Not without a special filesystem, which stored both kinds of data on different block devices. Have fun writing one ;-) What is the intended use of this? Sincerely, Lars Marowsky-Brée <lmb@suse.de> -- Perfection is our goal, excellence will be tolerated. -- J. Yahl - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/