sscott@camdev.UUCP (Steve Scott) (04/12/89)
I have just received the newest version of ELM and I think that it is great! Now, I have two flavors of UNIX (HP/UX and DOMAIN/IX on an Apollo DN3500). The HP/UX version works like a champ (no surprise there, eh, Dave Taylor?) The Apollo version works OK with a minor bug (which can be fixed by running ELM in a vt100 window) The bigger problem is this: 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. Question is: Has anybody turned in fixes or mentioned the proper sources to modify to allow ELM to work properly on Apollos? Any help would appreciated Thank you very much in advance! -- Steve Scott UUCP: {killer|texbell}!camdev!sscott Motorola, Inc. Telephone : 1-817-232-6317
rob@PacBell.COM (Rob Bernardo) (04/12/89)
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