Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ncar!oddjob!mimsy!jds From: jds@mimsy.UUCP (James DaSilva) Newsgroups: comp.os.minix Subject: Re: Minix 1.2 small problems Message-ID: <11161@mimsy.UUCP> Date: 21 Apr 88 22:05:27 GMT References: <4543@cup.portal.com> <192@ucrmath.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 25 Summary: /tmp hardcoded into the shell In article <192@ucrmath.UUCP> baumann@hope.UUCP (Michael Baumann) writes: >In article <4543@cup.portal.com> Chuck_M_Grandgent@cup.portal.com writes: >>2) I keep running out of room on /dev/ram when unpacking large shell >>archives and linking large programs (am trying to get the UNIX >>version of ARC going). > >As for the shell archives, I don't know. 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. If you haven't already, you may need to increase the data space for sh to handle some shar files. I keep a special version of sh around, 'unsh', that has been chmem'ed to 32k. To Chuck: have you seen the post-1.2 (1.2a?) patch that allows the loading of the ram disk from a hard disk partition? Makes life easier. You can also change your /etc/rc to mount /usr on the hard disk, avioding the use of floppies (after the boot and root load), even without any kernel patches. - Jaime ---------------------------------------------------------------------- usenet: uunet!mimsy!jds James da Silva internet: jds@mimsy.umd.edu "Stand on each other's shoulders, not on each other's toes."