ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:124811] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT
@ 2026-02-13  7:29 nobu (Nobuyoshi Nakada) via ruby-core
  2026-02-13 13:22 ` [ruby-core:124813] " Eregon (Benoit Daloze) via ruby-core
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2026-02-13  7:29 UTC (permalink / raw)
  To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)

Issue #21878 has been reported by nobu (Nobuyoshi Nakada).

----------------------------------------
Feature #21878: More file types: DOOR, PORT, WHITEOUT
https://bugs.ruby-lang.org/issues/21878

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
----------------------------------------
I found recent Python supports these file types:
[S_ISDOOR](https://docs.python.org/3.14/library/stat.html#stat.S_ISDOOR)
[S_ISPORT](https://docs.python.org/3.14/library/stat.html#stat.S_ISPORT)
[S_ISWHT](https://docs.python.org/3.14/library/stat.html#stat.S_ISWHT)
even they [return `False` always](https://github.com/python/cpython/blob/3.14/Lib/stat.py#L78-L88).

What about supporting them in Ruby?



-- 
https://bugs.ruby-lang.org/
______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:124813] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT
  2026-02-13  7:29 [ruby-core:124811] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT nobu (Nobuyoshi Nakada) via ruby-core
@ 2026-02-13 13:22 ` Eregon (Benoit Daloze) via ruby-core
  2026-02-13 14:46 ` [ruby-core:124816] " trinistr (Alexander Bulancov) via ruby-core
  2026-02-13 17:05 ` [ruby-core:124818] " alanwu (Alan Wu) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: Eregon (Benoit Daloze) via ruby-core @ 2026-02-13 13:22 UTC (permalink / raw)
  To: ruby-core; +Cc: Eregon (Benoit Daloze)

Issue #21878 has been updated by Eregon (Benoit Daloze).


Is there any OS/platform supporting those?

----------------------------------------
Feature #21878: More file types: DOOR, PORT, WHITEOUT
https://bugs.ruby-lang.org/issues/21878#change-116433

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
----------------------------------------
I found recent Python supports these file types:
[S_ISDOOR](https://docs.python.org/3.14/library/stat.html#stat.S_ISDOOR)
[S_ISPORT](https://docs.python.org/3.14/library/stat.html#stat.S_ISPORT)
[S_ISWHT](https://docs.python.org/3.14/library/stat.html#stat.S_ISWHT)
even they [return `False` always](https://github.com/python/cpython/blob/3.14/Lib/stat.py#L78-L88).

What about supporting them in Ruby?

[GH-16167](https://github.com/ruby/ruby/pull/16167)



-- 
https://bugs.ruby-lang.org/
______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:124816] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT
  2026-02-13  7:29 [ruby-core:124811] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT nobu (Nobuyoshi Nakada) via ruby-core
  2026-02-13 13:22 ` [ruby-core:124813] " Eregon (Benoit Daloze) via ruby-core
@ 2026-02-13 14:46 ` trinistr (Alexander Bulancov) via ruby-core
  2026-02-13 17:05 ` [ruby-core:124818] " alanwu (Alan Wu) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: trinistr (Alexander Bulancov) via ruby-core @ 2026-02-13 14:46 UTC (permalink / raw)
  To: ruby-core; +Cc: trinistr (Alexander Bulancov)

Issue #21878 has been updated by trinistr (Alexander Bulancov).


[Doors](https://en.wikipedia.org/wiki/Doors_(computing)) are a thing on Solaris.
Event ports are also [reportedly](https://runebook.dev/en/docs/python/library/stat/stat.S_ISPORT) a Solaris thing, but all references seem to be about the Python feature. `S_ISPORT` macro doesn't exist on my Linux system.
[Whiteouts](https://docs.kernel.org/filesystems/overlayfs.html#whiteouts-and-opaque-directories) are used for unionfs-like file systems, but [SO claims](https://stackoverflow.com/a/62582243) that official Linux FSs don't use this type.

----------------------------------------
Feature #21878: More file types: DOOR, PORT, WHITEOUT
https://bugs.ruby-lang.org/issues/21878#change-116436

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
----------------------------------------
I found recent Python supports these file types:
[S_ISDOOR](https://docs.python.org/3.14/library/stat.html#stat.S_ISDOOR)
[S_ISPORT](https://docs.python.org/3.14/library/stat.html#stat.S_ISPORT)
[S_ISWHT](https://docs.python.org/3.14/library/stat.html#stat.S_ISWHT)
even they [return `False` always](https://github.com/python/cpython/blob/3.14/Lib/stat.py#L78-L88).

What about supporting them in Ruby?

[GH-16167](https://github.com/ruby/ruby/pull/16167)



-- 
https://bugs.ruby-lang.org/
______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:124818] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT
  2026-02-13  7:29 [ruby-core:124811] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT nobu (Nobuyoshi Nakada) via ruby-core
  2026-02-13 13:22 ` [ruby-core:124813] " Eregon (Benoit Daloze) via ruby-core
  2026-02-13 14:46 ` [ruby-core:124816] " trinistr (Alexander Bulancov) via ruby-core
@ 2026-02-13 17:05 ` alanwu (Alan Wu) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: alanwu (Alan Wu) via ruby-core @ 2026-02-13 17:05 UTC (permalink / raw)
  To: ruby-core; +Cc: alanwu (Alan Wu)

Issue #21878 has been updated by alanwu (Alan Wu).


Solaris mentioned, so I'm bringing up illumos. Ruby has an [OpenIndiana](https://www.ruby-lang.org/en/documentation/installation/#openindiana) port, so this could be tested there :P

https://illumos.org/man/3C/door_create


----------------------------------------
Feature #21878: More file types: DOOR, PORT, WHITEOUT
https://bugs.ruby-lang.org/issues/21878#change-116439

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
----------------------------------------
I found recent Python supports these file types:
[S_ISDOOR](https://docs.python.org/3.14/library/stat.html#stat.S_ISDOOR)
[S_ISPORT](https://docs.python.org/3.14/library/stat.html#stat.S_ISPORT)
[S_ISWHT](https://docs.python.org/3.14/library/stat.html#stat.S_ISWHT)
even they [return `False` always](https://github.com/python/cpython/blob/3.14/Lib/stat.py#L78-L88).

What about supporting them in Ruby?

[GH-16167](https://github.com/ruby/ruby/pull/16167)



-- 
https://bugs.ruby-lang.org/
______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-13 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-13  7:29 [ruby-core:124811] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT nobu (Nobuyoshi Nakada) via ruby-core
2026-02-13 13:22 ` [ruby-core:124813] " Eregon (Benoit Daloze) via ruby-core
2026-02-13 14:46 ` [ruby-core:124816] " trinistr (Alexander Bulancov) via ruby-core
2026-02-13 17:05 ` [ruby-core:124818] " alanwu (Alan Wu) via ruby-core

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).