Re: Re: [OpenAFS-announce] OpenAFS 1.4 Release Candidate 1 now available

Jeffrey Altman <[email protected]> Fri, 02 Sep 2005 10:28:39 -0400
Newsgroups gmane.comp.file-systems.openafs.devel.win32
Organization Secure Endpoints Inc.
Message-ID <[email protected]>
Ted Anderson wrote:
>>Enhanced Integration in Heterogeneous Environments
>>AFS UNC paths are now supported, eliminating reliance on mapped drive
>>letters and allowing for true worldwide path usage and cross platform
>>filesystem links.
> 
> 
> I've been using the 1.3 Windows client for a while and I've never been
> able to get this to work with "fs" commands.  I just assummed the
> feature implementation wasn't fully complete, but seeing this
> announcement, I decided to look into it some more.  I found that the
> problem is that back and forward slashes are not equivalent.  For example:
> 
> [...gpfs/src]% fs lv $dst/ota
> fs: Invalid argument; it is possible that //afs/k56/proj/dst/ota is not
> in AFS.

//AFS/cell/path is not a valid UNC.   UNCs have the form
\\server\share\path.   You are running into a restriction of Windows;
not AFS.

> [...gpfs/src]% fs lv `cygpath -w $dst/ota`
> Volume status for vid = 536873465 named proj.dst.ota
> Current disk quota is 1000000
> Current blocks used are 478232
> The partition has 6572312 blocks available out of 29390844
> 
> [...gpfs/src]% cygpath -w $dst/ota
> \\afs\k56\proj\dst\ota
> 
> With other applications on my Windows 2000 machine I don't have this
> problem.  Specifically, in cmd:
> 
> dir "//aladdin/lan-c/winnt/system32/drivers/etc"
> dir "\\aladdin\lan-c\winnt\system32\drivers\etc"
> dir "c:\winnt\system32\drivers\etc"
> dir "c:/winnt/system32/drivers/etc"
> 
> All display the directory equally well.
> 
> Would it be possible for AFS commands to recognize UNC paths with either
> forward or backslashes?

Maybe, but not in 1.4.  It is hard enough distinguishing between the UNC
path and the Unix afs representation as it is.

JPSoftware's 4NT version 7 will be including OpenAFS support and will
allow you to use

	fs lv /afs/k56/proj/dst/ota

and it will call fs with \\afs\k56\proj\dst\ota,

Jeffrey Altman
jaltman.vcf (text/x-vcard, 293 B)
begin:vcard
fn:Jeffrey Altman
n:Altman;Jeffrey
org:Secure Endpoints Inc.
adr:;;255 W 94TH ST PHB;NEW YORK;NY;10025;United States
email;internet:[email protected]
title:President
tel;work:+1 212 769-9018
x-mozilla-html:TRUE
url:http://www.secure-endpoints.com
version:2.1
end:vcard
smime.p7s (application/x-pkcs7-signature, 3.2 KB) - not displayed