Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 21:10:30 +1000
From:      Stephen McKay <smckay@internode.on.net>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        Robert Watson <rwatson@freebsd.org>, current@freebsd.org, Stephen McKay <smckay@internode.on.net>
Subject:   Re: HEADS UP: pts code committed 
Message-ID:  <200601311110.k0VBAUYX008920@dungeon.home>
In-Reply-To: <20060130142955.fewnc3omossgoo0w@netchild.homeip.net> from Alexander Leidinger at "Mon, 30 Jan 2006 14:29:55 %2B0100"
References:  <20060126022854.GA16323@ci0.org> <20060126020818.K97024@fledge.watson.org> <200601281231.k0SCVhtc011525@dungeon.home> <20060128215112.W95776@fledge.watson.org> <200601301102.k0UB2L0q006713@dungeon.home> <20060130142955.fewnc3omossgoo0w@netchild.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 30th January 2006, Alexander Leidinger wrote:

>Stephen McKay <smckay@internode.on.net> wrote:
>
>> I had a quick look on a Solaris 8 machine and found only legacy pty devices
>> in /dev.  In /devices, they lump pts and pty nodes into /devices/pseudo
>> with a lot of other stuff.  Very messy.  So I don't think the new FreeBSD
>> /dev/ptynnn behaviour is the same as Solaris after all.
>
>% uname -a
>SunOS xantia 5.10 Generic_118844-27 i86pc i386 i86pc
>
>% ll /dev/pt*
>lrwxrwxrwx   1 root     root          31 Sep 27 17:26 /dev/ptmajor ->
>../devices/pseudo/ptm@0:ptmajor
>lrwxrwxrwx   1 root     root          29 Sep 27 17:26 /dev/ptmx ->
>../devices/pseudo/clone@0:ptm
>lrwxrwxrwx   1 root     root          29 Sep 27 17:26 /dev/ptyp0 ->
>../devices/pseudo/ptc@0:ptyp0
>lrwxrwxrwx   1 root     root          29 Sep 27 17:26 /dev/ptyp1 ->
>../devices/pseudo/ptc@0:ptyp1
>
>[...]
>
>lrwxrwxrwx   1 root     root          29 Sep 27 17:28 /dev/ptyrd ->
>../devices/pseudo/ptc@0:ptyrd
>lrwxrwxrwx   1 root     root          29 Sep 27 17:28 /dev/ptyre ->
>../devices/pseudo/ptc@0:ptyre
>lrwxrwxrwx   1 root     root          29 Sep 27 17:28 /dev/ptyrf ->
>../devices/pseudo/ptc@0:ptyrf

These look like legacy names to me (ptyp0, ptyrd, etc).  I only have
access to a Solaris 8 machine, but from memory it looks the same as
your Solaris 10 machine.

Anyway, it's not terribly important whether or not Solaris is the same
as FreeBSD for the master devices.  The important part (/dev/pts/nnn)
is the same everywhere.

Stephen.

PS I just checked and the commit is in already.  I suppose the discussion
is done now. :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601311110.k0VBAUYX008920>