[122] in arla-drinkers

home help back first fref pref prev next nref lref last post

Arla 0.8 and .@sys

daemon@ATHENA.MIT.EDU (David Morrison)
Mon Jul 20 18:46:20 1998

From arla-drinkers-request@sundance.stacken.kth.se Mon Jul 20 22:46:19 1998
Return-Path: <arla-drinkers-request@sundance.stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 5124 invoked from network); 20 Jul 1998 22:46:17 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 20 Jul 1998 22:46:17 -0000
Received: from bnl.gov (bnl.gov [130.199.128.163])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id AAA07264
	for <arla-drinkers@stacken.kth.se>; Tue, 21 Jul 1998 00:41:16 +0200 (MET DST)
Received: from bnl.gov (morrison.rhic.bnl.gov [130.199.80.17])
	by bnl.gov (8.8.8/8.8.8) with ESMTP id SAA21438;
	Mon, 20 Jul 1998 18:41:15 -0400 (EDT)
Sender: dave@bnl.gov
Message-ID: <35B3C4AF.C0872951@bnl.gov>
Date: Mon, 20 Jul 1998 18:29:03 -0400
From: David Morrison <dave@bnl.gov>
Organization: Brookhaven National Laboratory
X-Mailer: Mozilla 4.5b1 [en] (X11; I; Linux 2.1.109 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "arla-drinkers@stacken.kth.se" <arla-drinkers@stacken.kth.se>
CC: Kyle Pope <pope@mail.phy.ornl.gov>
Subject: Arla 0.8 and .@sys
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dear drinkers,

I have a RedHat5.1 system, kernel 2.1.109, and have just installed arla-0.8. 
Nearly everything seems to be working just fine, with one odd exception.  In
several places in my directory hierarchy, I use symbolic links to ".@sys" as a
way of handling a variety of platforms without cluttering up a directory with a
bunch of visible sysname'ed links.  This works fine when using Transarc AFS
clients.  However, the "." in front of "@sys" seems to be throwing arla off the
scent.  In perusing the code, it looks like the problem may be caused by
`cm_lookup' in inter.c near line 457 which reads

      if (strcmp(name, "@sys") == 0)
	 name = arlasysname;

Any component of a filename which reads _exactly_ "@sys" will be translated to
sysname properly, but any extra chars (like the "." I like to put in front of
"@sys") foils the translation.  A colleague wrote a routine to translate the
first occurrence of "@sys" to sysname whatever other chars appear in name, but
it didn't seem to completely solve the problem.  In any case, I don't know
absolutely for sure that this piece of code is the source of the problem I'm
seeing and besides I think a proper solution should handle more perverse uses of
"@sys" in filenames.

I'm willing to look into this a bit further if this is the right track to
pursue.  I'd also be happy to pass along the mods we made if someone else would
prefer to check into it.

Thanks,
Dave
 
-- 
David Morrison  Brookhaven National Laboratory  phone: 516-344-5840
                Physics Department, Bldg 510 C    fax: 516-344-3253
		          Upton, NY 11973-5000  email: dave@bnl.gov

home help back first fref pref prev next nref lref last post