🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.software
1 messages
1 total messages Started by Kennedy Lemke Thu, 21 Jan 1993 23:09
Problems with "open" and "pwd" commands
#1636
Author: Kennedy Lemke
Date: Thu, 21 Jan 1993 23:09
52 lines
2510 bytes
Hello.  Two problems since our upgrade to 3.0:

Problem #1: The "open" command.  We use an automount entry for
home directories that looks like this:

	/usr/etc/autonfsmount -tm 10 -tl 43200 -a /private /u userhomes

"userhomes" is an nis map (yes, the nexts are running yp) that maps
user names to hostname/directory paths.  All user accounts, regardless
of which disk they actually live on, can be accessed from any of our
machines by accessing "/u/username".  This has worked (and is still
working) just fine.  The problem occurs under version 3.0 with the
"open" command.  For example:

	[158]aslan--> open .bashrc
	open: can't stat file: /auto4000143/.bashrc
	[159]aslan--> open /u/lemke/.bashrc	<---THIS ONE WORKS
	[160]aslan--> 

So you can't use the "open" command to access a directory in
your home directory without specifying an absolute pathname
that starts with "/u".  Under 2.{1,2}, the "open" command worked
fine.  If you're in your home directory and you say "pwd", what
returns is something like "/private/auto4000143".  The "open"
command clearly appears to be leaving off the "/private" part
of the pathname when trying to open file.  Anyone know why?

Problem #2: using "bash" version 1.12, "pwd" (which is not aliased
to anything) gives strange behavior.  Sometimes it says the "right"
thing; other times it returns an empty line.  For example:

	[140]aslan--> pwd
	/private/auto4000143
	[141]aslan--> pwd

	[142]aslan--> pwd

	[143]aslan--> pwd
	/private/auto4000143
	[144]aslan-->

Anyone know why?  Thank you.

				Kennedy Lemke
    ,    ,     ___  ______	Computer Systems Manager
   /|   /|     /      /     /	Postmaster && Domain administrator &&
  / |  / |    /      /     /	News administrator && Network adminstrator
 /  | /  |   /      /     /	Matsushita Information Technology Laboratory
/   |/   | _/_     /     /____	182 Nassau Street, Third Floor

Work Phone: (609) 497-4600	Princeton, New Jersey  08542
Fax Phone:  (609) 497-4013	Email: lemke@MITL.COM
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads