www.delorie.com/archives/browse.cgi | search |
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 <matthias DOT meyer AT gmx DOT li> |
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: | <gtek4k$g0f$2@ger.gmane.org> |
References: | <gtej6j$el8$1 AT ger DOT gmane DOT org> <49FAD442 DOT 5090005 AT gmail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | KNode/0.10.9 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |