Subject: install/17081: install on small drive doesn't create /tmp
To: None <gnats-bugs@gnats.netbsd.org>
From: real address is jcline at ieee.org <root@rms1.netbsd.org>
List: netbsd-bugs
Date: 05/27/2002 23:40:07
>Number: 17081
>Category: install
>Synopsis: sysinst does not create /tmp with auto partitioning
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 27 23:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: jcline at ieee.org
>Release: NetBSD 1.5.3_RC2
>Organization:
>Environment:
System: NetBSD rms1 1.5.3_RC2 NetBSD 1.5.3_RC2 (GENERIC) #2: Sat Apr 27 18:25:24 CEST 2002 he@pepperoni.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
My old PC here has a ~1.5gig drive.
When I installed I selected "use entire disk".
For the partitions, I selected the default partitioning scheme:
this created two partitions,
/ about 200 meg?
/usr the rest, 1.4 gig
The install has mostly gone OK (mucho credit to netbsd team as usual).
What I noticed, post-install, was that there was no /tmp.
Not sure if this is a serious problem or not; not sure if pkgs or
system scripts will assume it's there. To prevent any problems
like this, I make a /usr/tmp and symlinked /tmp to /usr/tmp. I
didn't want to make a /tmp which would end up on /, since my / is
so small.
I assume this happens because sysinst with the size of drive I have
choses these two partitions (on larger drives it might make seperate
/var and /tmp and whatnot?). And then it doesn't take any actions
to specifically make a /tmp.
It didn't make a /var either, but not all systems have /var,
so I wouldnt consider that a problem.
>How-To-Repeat:
Fresh install with ~1.5 gig drive, let sysinst chose your partitions.
>Fix:
I think the symlink of /tmp to /usr/tmp is a good solution. This way
the /tmp won't be limited by the smaller size of /.
>Release-Note:
>Audit-Trail:
>Unformatted: