Re: what is ptyfsoldnodes?
Ted Spradley <[email protected]> Mon, 9 Feb 2026 13:16:41 -0600
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Organization | 97% Talent Free |
| Message-ID | <[email protected]> |
On Mon, 9 Feb 2026 08:11:05 +0100 Martin Husemann <[email protected]> wrote: > Old pty dev nodes is a hack that we use on some install media to save > space, but that is not considered to be safe during normal multi-user > usage. > > They are called /dev/ttyp0 .. /dev/ttypN and /dev/ptyp0 .. /dev/ptypN > usually and you can just remove them if you have a ptyfs mounted on > /dev/pts. You can check the latter by looking at the output of the > mount command and/or checking /etc/fstab for a line like: > > ptyfs /dev/pts ptyfs rw I do have /dev/pts mounted and I don't have /dev/ttyp* or /dev/ptyp* so I guess I'm good, right? Script started on Mon Feb 9 12:59:59 2026 netop$ ll /dev/*typ* ls: /dev/*typ*: No such file or directory netop$ cat /etc/fstab # NetBSD /etc/fstab # See /usr/share/examples/fstab/ for more examples. NAME=NetBSD / ffs rw,noatime,log 1 1 kernfs /kern kernfs rw ptyfs /dev/pts ptyfs rw procfs /proc procfs rw tmpfs /var/shm tmpfs rw,-m1777,-sram%25 tmpfs /tmp tmpfs rw,-m1777,-sram%25 netop$ mount^M /dev/dk1 on / type ffs (log, noatime, local) kernfs on /kern type kernfs (local) ptyfs on /dev/pts type ptyfs (local) procfs on /proc type procfs (local) tmpfs on /var/shm type tmpfs (local) tmpfs on /tmp type tmpfs (local) netop$ Script done on Mon Feb 9 13:01:20 2026 > If you are running with /dev on a ram disk created at boottime by init > this postinstall warning might re-occcur after the next boot (and there > is no clean solution currently for this kind of setup). The mount command > output will tell you if /dev is a tmpfs. /dev/ is not a tmpfs, so I guess I don't need to do anything. -- Ted Spradley <[email protected]>