This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: howto obtain the used space of "/cygdrive/c/System Volume Information"
- From: Matthias Meyer <matthias dot meyer at gmx dot li>
- To: cygwin at cygwin dot com
- Date: Fri, 01 May 2009 12:49:52 +0200
- Subject: Re: howto obtain the used space of "/cygdrive/c/System Volume Information"
- References: <gtej6j$el8$1@ger.gmane.org> <49FAD442.5090005@gmail.com>
Dave Korn wrote:
> Matthias Meyer wrote:
>> Hi,
>>
>> I backup Windows XP as well as Windows Vista by using rsyncd.
>> Thats working fine.
>> But I have a difference between the used space in source and destination.
>> Some of this differences are justified in my exclusions of pagefile.sys
>> and hiberfile.sys.
>> Another part, I am sure, by "System Volume Information".
>>
>> How to obtain the used space of "/cygdrive/c/System Volume Information"?
>> du returns:
>> du: cannot read directory `/cygdrive/c/System Volume Information':
>> Permission denied
>
> I very seriously recommend never going anywhere near that directory nor
> touching it in any way.
>
>
>
>
>
>
>
>
>
>
> Still here? OK, if you absolutely have to know, the simplest way is to
> give
> yourself read access through the security tab in the explorer properties
> (may
> need to take ownership to do that). Then clear the properties dialog and
> bring it up again; this time, explorer will be able to size the folder.
> Immediately delete the access perms you gave yourself and pray you didn't
> break anything critical.
>
> cheers,
> DaveK
chmod u+rx "/cygdrive/c/System Volume Information"
du -h --max-depth=0 "/cygdrive/c/System Volume Information"
chmod u-rx "/cygdrive/c/System Volume Information"
Thanks
Matthias
--
Don't Panic
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/