NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/46812 CVS commit: src/distrib/sparc/miniroot



The following reply was made to PR install/46812; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: install-manager%NetBSD.org@localhost, isaki%pastel-flower.jp@localhost,
        tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: PR/46812 CVS commit: src/distrib/sparc/miniroot
Date: Sun, 19 Aug 2012 02:29:57 +0900

 I wrote:
 >  
 >  Have you tried install iso?
 >  Doesn't "all" target for miniroot create all pty devices?
 >  
 >  I think the problem is
 >  >> MAKEDEVTARGETS= floppy
 >  line in src/distrib/sparc/ramdisk/Makefile for bootfs/instfs,
 >  so the correct fix is to change opty to ipty in "floppy" entry
 >  in etc/etc.sparc/MAKEDEV, even for install ISO.
 >  
 >  I'm afraid we also have to check and add "ipty" to
 >  "floppy" or "ramdisk" targets in all MD etc/etc.${MACHINE}/MAKEDEV.conf
 >  (and distrib/sun[23]/miniroot/Makefile etc.)
 
 Sorry, I was completely wrong.
 
 I missed following description in etc/MAKEDEV.tmpl:
 >> #   pty*    set of 16 master and slave pseudo terminals
 >> #   opty    first 16 ptys, to save inodes on install media
 >> #   ipty    first 2 ptys, for install media use only
 
 The essencial changes were pty[0123] removal from "all" target
 in etc/MAKEDEV.tmpl, and actually sparc install iso uses miniroot,
 so ipty is required in distrib/sparc/miniroot/Makefile.inc.
 
 (BTW amd64 and i386 (and some other ports) have "ipty" in "all_md"
  target in etc/etc.${MACHINE}/MAKEDEV.conf so I wonder if "all_md"
  should include "ipty" or not)
 
 For sun2 and sun3 miniroot, it doesn't have sysinst so if openpty(3)
 is required by only sysinst they don't pty devices either.
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index