[ruby-core:124811] [Ruby Feature#21878] More file types: DOOR, PORT, WHITEOUT
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/
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/
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-dire...) 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/
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/
participants (4)
-
alanwu (Alan Wu) -
Eregon (Benoit Daloze) -
nobu (Nobuyoshi Nakada) -
trinistr (Alexander Bulancov)