delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/11/13:08:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <cygwin AT cygwin DOT com>
References: <8881AD4AE397468EA9277BFB94782F18 AT phoenix> <4A0849F3 DOT 4090502 AT cygwin DOT com> <D489D5BD70C7418B83FFFB206EF81C29 AT phoenix> <4A0852A1 DOT 6050604 AT cygwin DOT com>
Subject: RE: Mount of VSS volumes (//?/GLOBALROOT/...) does not work
Date: Mon, 11 May 2009 13:09:27 -0400
Message-ID: <5F6283A8965E432A89BC3CD6B980DAAB@phoenix>
MIME-Version: 1.0
In-Reply-To: <4A0852A1.6050604@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> -----Original Message-----
> From: Larry Hall (Cygwin)
> Sent: Monday, May 11, 2009 12:30
> Subject: Re: Mount of VSS volumes (//?/GLOBALROOT/...) does not work
> 
> Jason Pyeron wrote:
> >> -----Original Message-----
> >> From: cygwin-owner at cygwin dot com
> >> [mail to cygwin-owner at cygwin dot com] On Behalf Of Larry Hall 
> >> (Cygwin)
> >> Sent: Monday, May 11, 2009 11:53
> >> To: cygwin at cygwin.com
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>  Or, better yet, 
> just eliminate all these unneeded headers so there's no issue.

Sorry, I ignored the list addresses, I always try to remove peoples' addresses.
(any suggestions for outlok 2003?)

> > 
> > Hmm, could I get a primmer on where to look to understand 
> more. I.E. 
> > which sources/functions.
> 
>
<http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc?rev=1.546&conten
t-type=text/x-cvsweb-markup&cvsroot=src>

Here is the question I am going with: If the path starts with \\?\ don't strip
the trailing slash, can this be cost effective or only cost more in that case?

So going through that so far, please correct me as needed, this is what I see:

In path_prefix_p we strip the trailing slash

Near the end on the path_conv::check we examine if it is s/^(.:)$/$1\\/



> 
> >>>>> seems the ability to mount a shadow volume as a dos drive is 
> >>>>> sufficient for this kind of problem, isn't it?
> >>>>>
> >>>> I agree.
> >>> The dosdev.exe is no longer downloadable from Microsoft.
> >> <http://blogs.msdn.com/adioltean/archive/2005/10/04/477164.aspx>
> >>
> >> Sounds like if one couldn't find the prebuilt tool somewhere that 
> >> it's not that hard to write one.
> > 
> > And maybe add it as a feature to mount....
> 
> I'm not sure if the idea of adding functionality to 'mount' 
> that creates junctions of DOS devices in the Windows world 
> makes sense to me.  This seems like Windows-world 
> functionality, since all of Windows would see the result and 
> be able to take advantage of it.  I'm guessing that your idea 
> is to make this usage as seamless and simple as possible in 
> Cygwin, which I can understand.  

Not only that, but it is more of the only things that are likely to interact
with it are cygwin processes, why leave cygwin to do it.

> But in my admittedly short 
> time thinking about the idea, I'm personally hesitant to say 
> this is obviously the right way to go.  But I could be wrong 
> and I don't think this should stop you or someone else from 
> proposing specifics with a patch to 'mount' as it possible 
> that I've missed a nice solution that addresses my concern.
> 

Going to look into it.

> -- 
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 216 Dalton Rd.                          (508) 893-9889 - FAX
> Holliston, MA 01746
> 
> _____________________________________________________________________
> 
> A: Yes.
>  > Q: Are you sure?
>  >> A: Because it reverses the logical flow of conversation.
>  >>> Q: Why is top posting annoying in email?
> 
> --
> 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/
> 




--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019