metadata and contents in loop device
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.
Michael
______________________________________________________________________
Web-hosting solutions for home and business! http://website.yahoo.ca
Quoted 5 lines · Michael Zhu
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?
You can't.
Quoted 8 lines · Michael Zhu
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 <[email protected]>
Signature · 1 line
Perfection is our goal, excellence will be tolerated. -- J. Yahl
Quoted 8 lines · Michael Zhu
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.
Mmmh ... I don't really see the point, but perhaps you should look at stegfs (sorry, don't remember the URL)