Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken Terminal (Client Side)



the terminal and it just comes up and says "process complete" when you
launch it. You can't do anything. Did I really mess things up here or
what. Anyone have any idea how to fix this or is it even possible? Any
suggestions would be a great help. Thanks.

It sounds like the hardlink between tcsh anc csh has got lost
again...this seems to occur from time to time for some reason. To check,
set the shell to something else, I suggest zsh. If you get a proper
shell, check out the size of the other shell binaries ( ls -l /bin/tcsh
for example). You;ll probably find the size is 0. If so the solution is
to remake the hardlink from csh, or copy a working version from another
machine.

If this is the problem, then a reboot should also fix it. For
some reason, occasionally the system doesn't set up hard links
properly upon reboot, so you've probably got more hard links
broken than just the shells in /bin.

This is due to the fact that "hard links" in HFS+ are not really
hard links. For more info, see:

http://www.mit.edu/people/wsanchez/papers/USENIX_2000/

Since HFS+ can't implement true hard links, the kernel fakes
out the upper layers of the OS. If you use
/Developer/Tools/GetFileInfo on those zero-length files in /bin,
you should find their type/creator set to "hlnk/hfs+". On a
functional system, these files have no type/creator set.

-------------------------------------------------------------
Leon Towns-von Stauber http://www.occam.com/leonvs/
Amazon.com, UNIX Systems Engineer <email@hidden>
"We have not come to save you, but you will not die in vain!"
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Broken Terminal (Client Side) (From: Michael Maibaum <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.