Subject: /cdrom
To: None <tech-install@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-install
Date: 10/26/2007 20:35:53
Is there a good reason to not ship
1) the directory /cdrom
2) an entry for it in fstab (from share/examples/.../*cdrom*)
?
I'm testing the i386pkg CD right now, and funny enough, getting the cdrom
mounted seems the most difficult step to a working system. Which I think
we can overcome easily. The patch appended below does this.
Any objections to commit?
- Hubert
Index: disks.c
===================================================================
RCS file: /cvsroot/src/distrib/utils/sysinst/disks.c,v
retrieving revision 1.96
diff -u -r1.96 disks.c
--- disks.c 18 Jun 2007 16:58:42 -0000 1.96
+++ disks.c 26 Oct 2007 18:35:14 -0000
@@ -501,9 +501,11 @@
scripting_fprintf(f, "kernfs\t\t/kern\tkernfs\trw\n");
scripting_fprintf(f, "ptyfs\t\t/dev/pts\tptyfs\trw\n");
scripting_fprintf(f, "procfs\t\t/proc\tprocfs\trw,noauto\n");
+ scripting_fprintf(f, "/dev/cd0a\t\t/cdrom\tcd9660\tro,noauto\n");
make_target_dir("/kern");
make_target_dir("/proc");
make_target_dir("/dev/pts");
+ make_target_dir("/cdrom");
scripting_fprintf(NULL, "EOF\n");