<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 2:27 PM, freeman <span dir="ltr"><<a href="mailto:freeman.zhang1992@gmail.com" target="_blank">freeman.zhang1992@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
<div> 2014-02-20 15:31, Rishi Agrawal
:<br>
<blockquote type="cite">
<div dir="ltr"><div class="">Hi,<br>
<br>
I went through your readme. Some questions.<br>
<div class="gmail_extra"><br>
</div>
</div><div class=""><div class="gmail_extra">1. How are you encrypting the files?
Is it done by the encryptfs or you are doing it in your
module.<br>
<br>
</div>
<div class="gmail_extra">2. How can the user selectively
encrypt the files in the system.<br>
</div>
<div class="gmail_extra"><br clear="all">
<br>
-- <br>
Regards,<br>
Rishi Agrawal<br>
</div>
</div></div>
</blockquote>
Hi Rishi,<br>
<br>
Sorry about the fuzziness.<br>
<br>
#1 I plan to do the encryption in my module, but encrypting <br>
functions aren't added to it yet. As I mentioned in readme,<br>
module now just simply pass-through operations to the original <br>
file system.<br>
<br>
#2 It seems that the user cannot select specific file to encrypt<br>
inside one directory :-( . However he may specify a directory <br>
then we can encrypt all the file inside it. Namely, the
granularity<br>
is directory, not file. Besides, subdirectory is not supported at
<br>
present. <br>
<br></div></div></blockquote><div><br></div><div>Why does it even matter - inode vs directory? Is it because you store the encryption metadata in the dirent and not the inode?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div>
Regards <br><span class="HOEnZb"><font color="#888888">
Freeman<br>
<br>
<h2><span style="margin-right:15px;vertical-align:bottom"><br>
</span></h2>
</font></span></div>
</div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Sandeep.<br><br><br><br><br><br> <br>“To learn is to change. Education is a process that changes the learner.”
</div></div>