X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_12,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Matthias Meyer Subject: Re: howto obtain the used space of "/cygdrive/c/System Volume Information" Date: Fri, 01 May 2009 12:49:52 +0200 Lines: 49 Message-ID: References: <49FAD442 DOT 5090005 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/