> 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- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/