/tmp

Chris Rende car at trux.UUCP
Thu Mar 22 07:31:55 AEST 1990


Nixdorf Targon M35/50 TOS 3.2 -> Pyramid 9810 OSx 4.0

In order to lighten my ROOT disk usage I'd like to symlink /usr/tmp to /tmp.
(I have no other free disk space or partitions to use).
This creates a problem when the system is in single-user mode because
/usr isn't mounted.

Of the "normal things" that get done during single-user mode, what do I
need to be aware of if I don't have a valid /tmp?

I'm considering the idea of adding two lines to my inittab that do the
following:
1) When the system enters multi-user mode "symlink /usr/tmp to /tmp"
2) When the system returns to single-user mode "mkdir /tmp"

I.e.,:

t1:2:wait:rm -rf /tmp; ln -s /usr/tmp /tmp
t2:s:wait:rm -rf /tmp; mkdir /tmp; chmod a+rwx /tmp

Is this a workable solution?

car.
-- 
Christopher A. Rende           Central Cartage (Nixdorf/Pyramid/SysVR2/BSD4.3)
uunet!edsews!rphroy!trux!car   Multics,DTSS,Unix,Shortwave,Scanners,StarTrek
 trux!car at uunet.uu.net         Minix 1.2,PC/XT,Mac+,TRS-80 Model I,1802 ELF
       "I don't ever remember forgetting anything." - Chris Rende



More information about the Comp.sys.pyramid mailing list