This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shadowcopy volume block devices


On May 29 16:20, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
> 
> > Btw., as a sidenote, are you aware that you can access the filesystem
> > underneath the volume shadow copy as well?
> 
> > Try this (note the trailing backslash!):
> 
> >   $ cd /proc/sys/Device/HarddiskVolumeShadowCopy1/
> >   $ ls
> 
> > The only downside is that you can't cd into the root dir of the
> > shadowcopy by using a ".." expression:
> 
> >   $ cd /proc/sys/Device/HarddiskVolumeShadowCopy1/Users
> >   $ cd ..
> >   /proc/sys/Device/HarddiskVolumeShadowCopy1: Not a directory.
> >   $ cd ../
> >   /proc/sys/Device/HarddiskVolumeShadowCopy1: Not a directory.
> 
> > Here the path handling strips off the trailing backslash and what's
> > left is a block device called /proc/sys/Device/HarddiskVolumeShadowCopy1.
> > With that in mind, it's quite usable, though.
> 
> Can this be worked around by a symlink or junction point? (I don't have access
> to SVC-enabled box yet, sorry.)

How do you workaround the usage of ".." with symlink or junction?
If so, you don't use ".." anymore.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]