Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!decwrl!purdue!gatech!bbn!rochester!udel!mmdf From: frank@morgan.com (Frank Wortner) Newsgroups: comp.os.minix Subject: Re: Minix 1.2 small problems Message-ID: <2234@louie.udel.EDU> Date: 22 Apr 88 17:03:41 GMT Sender: mmdf@udel.EDU Lines: 24 James DaSilva writes: >>The shell has the /tmp directory hard-coded into the source that deals with >>'here' files. grep for it. A quick fix for you would be to change it to >>put the temp file in '.' since you have a hard disk. A better fix would be >>to add a -T option to sh, to match cc and asld. My solution to the lack of /tmp space on the ram disk is to make a partition on the hard disk and mount it as /tmp. I think this is a better solution since "sh" is certainly not the only program that creates files in /tmp. Looking for all portential users of /tmp and adding a -T option to each one is not my idea of a good time. Of course, once I've done this, I'll have to remember to use "-T." Moving /tmp to a device with more space is (to my mind) a simpler and more general solution. The only non-obvious problem with my solution is that /etc/update opens /tmp. It does this to keep the inode in core, thereby reducing the amount of time to access this often-accessed directory. You can safely comment out the code that does this. Recompile and install the new update, and now mount /tmp in safety. :-) Regards, Frank ...!uunet!mstan!frank frank@morgan.com