Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!ames!amdahl!pacbell!pbhyf!rob From: rob@PacBell.COM (Rob Bernardo) Newsgroups: comp.mail.elm Subject: Re: Need help with ELM on Apollo Message-ID: <5004@pbhyf.PacBell.COM> Date: 12 Apr 89 05:39:41 GMT References: <183@camdev.UUCP> Reply-To: rob@PacBell.COM (Rob Bernardo) Distribution: na Organization: Pacific * Bell, San Ramon, CA Lines: 18 In article <183@camdev.UUCP> sscott@camdev.UUCP (Steve Scott) writes: +The Apollo distributed file system references everything by a system root +(//). So, for example, home directories are of the sort //{node}/users/foo, +etc. Now, ELM when finding a person's home directory (from /etc/passwd, +I presume :-)), strips the initial / leaving /{node}/users/foo, which +does NOT exist in the file system. Something else must be going on because ELM does get the user's home directory from /etc/passwd, via a call to getpwuid(3), but does not strip off the "extra" /. Elm uses the home diretory as-is taken from the structure returned by getpwuid(3). Could it be on Apollo that getpwuid(3) removes the "extra" leading '/', or that /etc/passwd only has a single '/'? -- Rob Bernardo, Pacific Bell UNIX/C Reusable Code Library Email: ...![backbone]!pacbell!pbhyf!rob OR rob@pbhyf.PacBell.COM Office: (415) 823-2417 Room 4E850O San Ramon Valley Administrative Center Residence: (415) 827-4301 R Bar JB, Concord, California