/cdrom

Hubert Feyrer <[email protected]>
Newsgroups gmane.os.netbsd.devel.installation
Message-ID <[email protected]>
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");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.