Source-Changes-D archive

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

Re: CVS commit: src/etc

In article <>,
Izumi Tsutsui  <> wrote:
>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.
>I guess only /dev/console (and some "std" devices) are required
>and nothing relys on ptyfs to get single user prompt, so
>administrators can invoke MAKEDEV(8) or mount_ptyfs(8) by hand
>on the prompt for emergency ops if necessary.
>(actually previous sparc64.iso failed in sysinst, not bootstrap)
>tmpfs /dev created by init(8) is also useful on systems
>using "read only root" environment, and such systems already
>have customized fstab(5) (or rc script like installcd) so
>it's quite easy to add ptyfs into such files.
>> We can, however, use a modified MAKEDEV script for install cdroms (and then
>> use ptyfs).
>MAKEDEV is a generated file so I'm afraid it is a bit annoying
>to sync modified version with standard one.

but MAKEDEV can just run mkdir /dev/pts, the rest can be done in rc scripts.
Hell, the rc script can run mkdir -p /dev/pts before mounting.


Home | Main Index | Thread Index | Old Index