[1036] in SIPB_Linux_Development

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

Re: patch to linux-login to attach

daemon@ATHENA.MIT.EDU (Salvatore Valente)
Sat Aug 5 04:35:42 1995

Date: Sat, 5 Aug 1995 04:35:20 -0400
To: ddaniel@vigor.jpl.nasa.gov
Cc: linux-dev@MIT.EDU
In-Reply-To: <9508030004.AA01608@yugo.jpl.nasa.gov> (message from Daniel Bromberg on Wed, 02 Aug 1995 17:04:18 PDT)
From: Salvatore Valente <svalente@MIT.EDU>


Hi.

Upon further investigation, your patch to the Linux Athena tty login
is not the best solution.

Theoretically, login runs "attach" whenever it determines that your
homedir is a remote filesystem, even if the remote filesystem is all
ready mounted.  The problem is that login never correctly determines
that your homedir is a remote filesystem.  I believe that the actual
bug is cleverly hidden in this procedure:

	int isremotedir (char *dir)
	{
	    return (FALSE);
	}

This was a shortcut I took when I was adding Athena support to the
Linux login.  I'm sure I intended to go back and fix it at some point.

I will fix this so that login can tell when a directory is a remote
directory, and it shouldn't be necessary to ever explicitly call
aklog.

Sorry, and thanks for the bug report and patch.

Have a nice day.
-Sal.

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