Mon Feb 23 23:12:24 2009 UTC ()
Put back /kern, apparently xen uses it (and probably scripts too).


(ad)
diff -r1.102 -r1.103 src/distrib/utils/sysinst/disks.c

cvs diff -r1.102 -r1.103 src/distrib/utils/sysinst/Attic/disks.c (expand / switch to unified diff)

--- src/distrib/utils/sysinst/Attic/disks.c 2009/02/23 22:51:47 1.102
+++ src/distrib/utils/sysinst/Attic/disks.c 2009/02/23 23:12:24 1.103
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: disks.c,v 1.102 2009/02/23 22:51:47 ad Exp $ */ 1/* $NetBSD: disks.c,v 1.103 2009/02/23 23:12:24 ad Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Piermont Information Systems Inc. 4 * Copyright 1997 Piermont Information Systems Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Written by Philip A. Nelson for Piermont Information Systems Inc. 7 * Written by Philip A. Nelson for Piermont Information Systems Inc.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright 14 * 2. Redistributions in binary form must reproduce the above copyright
@@ -519,27 +519,27 @@ make_fstab(void) @@ -519,27 +519,27 @@ make_fstab(void)
519 dump_freq, fsck_pass); 519 dump_freq, fsck_pass);
520 } 520 }
521 521
522 if (tmp_mfs_size != 0) { 522 if (tmp_mfs_size != 0) {
523 if (swap_dev != -1) 523 if (swap_dev != -1)
524 scripting_fprintf(f, "/dev/%s%c\t\t/tmp\tmfs\trw,-s=%d\n", 524 scripting_fprintf(f, "/dev/%s%c\t\t/tmp\tmfs\trw,-s=%d\n",
525 diskdev, 'a' + swap_dev, tmp_mfs_size); 525 diskdev, 'a' + swap_dev, tmp_mfs_size);
526 else 526 else
527 scripting_fprintf(f, "swap\t\t/tmp\tmfs\trw,-s=%d\n", 527 scripting_fprintf(f, "swap\t\t/tmp\tmfs\trw,-s=%d\n",
528 tmp_mfs_size); 528 tmp_mfs_size);
529 } 529 }
530 530
531 /* Add /kern, /proc and /dev/pts to fstab and make mountpoint. */ 531 /* Add /kern, /proc and /dev/pts to fstab and make mountpoint. */
532 scripting_fprintf(f, "kernfs\t\t/kern\tkernfs\trw,noauto\n"); 532 scripting_fprintf(f, "kernfs\t\t/kern\tkernfs\trw\n");
533 scripting_fprintf(f, "ptyfs\t\t/dev/pts\tptyfs\trw\n"); 533 scripting_fprintf(f, "ptyfs\t\t/dev/pts\tptyfs\trw\n");
534 scripting_fprintf(f, "procfs\t\t/proc\tprocfs\trw\n"); 534 scripting_fprintf(f, "procfs\t\t/proc\tprocfs\trw\n");
535 scripting_fprintf(f, "/dev/cd0a\t\t/cdrom\tcd9660\tro,noauto\n"); 535 scripting_fprintf(f, "/dev/cd0a\t\t/cdrom\tcd9660\tro,noauto\n");
536 make_target_dir("/kern"); 536 make_target_dir("/kern");
537 make_target_dir("/proc"); 537 make_target_dir("/proc");
538 make_target_dir("/dev/pts"); 538 make_target_dir("/dev/pts");
539 make_target_dir("/cdrom"); 539 make_target_dir("/cdrom");
540 540
541 scripting_fprintf(NULL, "EOF\n"); 541 scripting_fprintf(NULL, "EOF\n");
542 542
543#ifndef DEBUG 543#ifndef DEBUG
544 fclose(f); 544 fclose(f);
545 fflush(NULL); 545 fflush(NULL);