bibs mendez writes:
>Thanks Joe. I'm a bit confused now. I played around the program before 
>and after encryption and this is what i got:
>
># disk usage before unmount
>809M    test/crypt
>809M    test/raw-crypt
>1.6G    test/
>1.6G    total
>
>
># disk usage after unmount
>4.0K    test/crypt
>809M    test/raw-crypt
>809M    test/
>809M    total
>
>I added a movie file into crypt then unmount it. Thats why I said it is 
>increasing/decreasing. Please correct me if im wrong.

How did you measure disk usage?  The du command (for instance)
recursively descends all the directories and looks at the sizes of the
files in them; if you've got a directory mounted through encfs it'll
get the same file size reported as if the data were really in the
directory even though it's not.

So it goes something like this:
    du  -> file:  how big are you?
    file  -> encfs:  how big am I?
    (encfs:  hmm, let's go look at the encrypted data and see how big a
     number I should answer)
    encfs -> file:  here's how big you are
    file -> du: here's how big I am

Try using df on the partition containing test/crypt -- it looks at
actual disk blocks allocated (and bypasses the file system, so it
won't be fooled); you shouldn't see any increase in size mounted vs
unmounted.

The data up above would, naively, imply that mounting that file system
caused over 800MB to be written!  How long does the mount take?

>Joe Pfeiffer wrote:
>> bibs mendez writes:
>>   
>>> Hi guys first time subscriber here :-)
>>>
>>> I have an external usb HD i split formatted to ntfs & ext3 of equal 
>>> size. For the latter i intend to store movie files. Whats the best 
>>> approach to encrypt this ext3 partition? I mean the basic encfs command 
>>> requires 2 parameters e.g. the crypted and mount directories so i reckon 
>>> if the mount dir grows to a big size does the crypted dir grows as
>>> well?
>>>     
>>
>> No, it doesn't.  The unencrypted directory never actually has anything
>> in it; any attempts to read and write it get passed through to the
>> encrypted directory where all the data actually lives.
>>
>>   
>>> I'm thinking something like:
>>>
>>> encfs ~/.crypt /absolute/path/to/ext3/usb/hd
>>>     
>>
>> This will keep all the data on your home directory and leave your usb
>> drive empty; it'll just "look" like that's where the files are.
>>
>>   
>>> I have about over 80Gb of movie files and growing and my /home folder is 
>>> limited in size. I dont know if this is sensible solution or make encfs 
>>> parameters pointing to the usb HD.  Please advise.
>>>     
>>
>> Make the parameters point to the usb hd.
>>
>>   
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to