aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/install.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-07-16 11:45:48 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-07-16 11:45:48 +0000
commit26fdf9e1de539bbb7db39cc6fa071579f683a229 (patch)
tree30c77ffc4e96cafc61f5962950fb86025d95e823 /usr.sbin/sysinstall/install.c
parentb3848628ff02185ddaa0f02b4c1fa914cbc97a28 (diff)
downloadsrc-26fdf9e1de539bbb7db39cc6fa071579f683a229.tar.gz
src-26fdf9e1de539bbb7db39cc6fa071579f683a229.zip
ln /compat to /usr/compat on initial installation; this will
prevent the later addition of compat libs from overflowing /
Notes
Notes: svn path=/head/; revision=27451
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r--usr.sbin/sysinstall/install.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 9aeafbcd4e02..7ff38db36670 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: install.c,v 1.191 1997/06/21 15:45:09 jkh Exp $
+ * $Id: install.c,v 1.192 1997/07/16 05:22:40 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -793,6 +793,10 @@ installFixup(dialogMenuItem *self)
Mkdir("/var/db");
creat("/var/db/mountdtab", 0644);
+ /* BOGON #4: /compat created by default in root fs */
+ Mkdir(/usr/compat");
+ vsystem("ln -s /usr/compat /compat");
+
/* Now run all the mtree stuff to fix things up */
vsystem("mtree -deU -f /etc/mtree/BSD.root.dist -p /");
vsystem("mtree -deU -f /etc/mtree/BSD.var.dist -p /var");