On Wed, Apr 23, 2008 at 12:12 PM, Daniel Bauer
On Wednesday 23 April 2008 14.43:31, Greg Freemyer wrote:
On Wed, Apr 23, 2008 at 5:15 AM, Daniel Bauer
wrote: Hi,
I added a new user and gave him an encrypted home dir on a separate, free partition. Now there is a huge .img file there (in the size I gave to the encrypted home dir) that is almost as big as the whole partition, but if I look at the partition's properties (or kdiskfree), it says, only 4% of that partition is used...
Because of this I suspect that the .img file physically isn't stored on the partition I wanted it to be?
How can I find out, where that .img file really is stored physically?
If I look in Konqueror it shows me the following tree:
- myPartition (9.7 GB) - newuser-dir - newuser.img (9.5 GB) - newuser.key
thanks and regards
Daniel
Daniel,
I'd guess that your .img file is sparse. ie. only portions of the file that actually contain data are allocated.
Greg
Hi Greg,
I still don't understand... I tried to copy this .img file to the same partition, and it copied until I stoped it (after 4 GB). Then with this partly copied file the properties of the partition showed a 50% used space.
If the original .img would have been on that partition then there shouldn't be space for a second copy of it, I think.
So, if there is somebody here who can tell me how I can set up an encrypted home directory within this separate partition, it would make me happy...
regards
Daniel
I suggest you try to understand what a sparse file is and why a 4GB sparse file is only occupying a small fraction of that space. http://en.wikipedia.org/wiki/Sparse_file has some info. Googling "sparse file" will give you lots more reading. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org