Subject: ls output differences - part 3

From: [email-masked] (Brent Balfanz)
Date: Wed, 24 Apr 1996 09:19:24 -0500

hi all,

I've been busy this morning.  yesterday I posted a problem I experience
with the output of the 'ls' command.  here are a few more details that 
may trigger something in some of you 'pros from dover' (what movie is
that from?).

I trussed the different processes to locate the differences.  here's 
what I found.  when ftp'ing from a sun (solaris 2.4) to the ftp server
(solaris 2.4) the end of the login looks like this:

write(1, " 2 3 0   U s e r   o r a".., 56)      = 56
time()                                          = 830353774
getpid()                                        = 644 [97]
putmsg(3, 0xEFFFEB30, 0xEFFFEB24, 0)            = 0
time()                                          = 830353774
getpid()                                        = 644 [97]
putmsg(3, 0xEFFFEB30, 0xEFFFEB24, 0)            = 0
time()                                          = 830353774
getpid()                                        = 644 [97]
putmsg(3, 0xEFFFEFA0, 0xEFFFEF94, 0)            = 0
umask(02)                                       = 0
sigaction(SIGALRM, 0xEFFFF820, 0xEFFFF920)      = 0
alarm(900)                                      = 0
time()                                          = 830353774
read(0, 0x00058074, 8192)       (sleeping...)

when I ftp in from a friendly university machine (sgi) the end of the login
looks a bit different:

write(1, " 2 3 0   U s e r   o r a".., 56)      = 56
time()                                          = 830353445
getpid()                                        = 637 [97]
putmsg(3, 0xEFFFEB30, 0xEFFFEB24, 0)            = 0
time()                                          = 830353445
getpid()                                        = 637 [97]
putmsg(3, 0xEFFFEB30, 0xEFFFEB24, 0)            = 0
time()                                          = 830353445
getpid()                                        = 637 [97]
putmsg(3, 0xEFFFEFA0, 0xEFFFEF94, 0)            = 0
umask(02)                                       = 0
sigaction(SIGALRM, 0xEFFFF820, 0xEFFFF920)      = 0
alarm(900)                                      = 0
time()                                          = 830353445
read(0, " S Y S T\r\n", 8192)                   = 6
time()                                          = 830353445
getpid()                                        = 637 [97]
putmsg(3, 0xEFFFEF20, 0xEFFFEF14, 0)            = 0
alarm(0)                                        = 900
write(1, " 2 1 5   U N I X   T y p".., 19)      = 19
time()                                          = 830353445
getpid()                                        = 637 [97]
putmsg(3, 0xEFFFEBC0, 0xEFFFEBB4, 0)            = 0
time()                                          = 830353445
getpid()                                        = 637 [97]
putmsg(3, 0xEFFFEBC0, 0xEFFFEBB4, 0)            = 0
sigaction(SIGALRM, 0xEFFFF820, 0xEFFFF920)      = 0
alarm(900)                                      = 0
time()                                          = 830353448
read(0, 0x00058074, 8192)       (sleeping...)

I get the 'SYST' call with the sgi box which didn't show up from the sun box.
I then do an 'ls' from the sun box and I get the 'NLST' call.  from the sgi box
I get a completely differnet call - 'LIST'.  this explains why I am getting
different outputs from the same command _BUT_ why is this happening?  

thanks much for any input anyone can give me on this one.	brent balfanz