Source-Changes-D archive

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

Re: CVS commit: src/etc

martin@ wrote:

> On Sat, Sep 08, 2012 at 01:34:37AM +0900, Izumi Tsutsui wrote:
> > Probably we should also remove ipty from MAKEDEV "init" target
> > and also add the above "mount -t ptyfs ..." line into
> > src/distrib/{amd64,i386}/cdroms/etc.rc and
> > src/distrib/sparc64/cdroms/installcd/etc.rc
> > because third party live CDs would use tmpfs based /dev
> > created by init(8) as installcd.
> I am not sure. Since the init created /dev tmpfs is an emergency
> measure, it can't realy rely on the presence of ptyfs. And before we go
> to more magic (like querying presence of compat_bsdpty or something),
> it is probably better to just create some ptys.
> We can, however, use a modified MAKEDEV script for install cdroms (and then
> use ptyfs).

Ok, after some investigation, it looks leaving "ipty" in
the "init" target in MAKEDEV.conf is the only option for netbsd-6.

src/distrib/ramdisks/ramdisk-big/ seems using tmpfs /dev but
src/distrib/ramdisks/ramdisk-*tiny are not (they have MAKEDEVTARGETS),
and they are sharing common src/distrib/ramdisks/common/dot.profile
startup script.

We can still put some test(1) -e against /dev/ptyp0 or /sbin/mount_ptyfs
(or of course we can remove completely obsolete floppy installation)
but it's too late (and no motivation to test) for 6.0 in RC stage...

Izumi Tsutsui

Home | Main Index | Thread Index | Old Index