Project

General

Profile

Actions

Feature #21878

open

More file types: DOOR, PORT, WHITEOUT

Feature #21878: More file types: DOOR, PORT, WHITEOUT

Added by nobu (Nobuyoshi Nakada) 10 days ago. Updated 10 days ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:124811]

Description

I found recent Python supports these file types:
S_ISDOOR
S_ISPORT
S_ISWHT
even they return False always.

What about supporting them in Ruby?

GH-16167

Updated by nobu (Nobuyoshi Nakada) 10 days ago Actions #1

  • Description updated (diff)

Updated by Eregon (Benoit Daloze) 10 days ago Actions #2 [ruby-core:124813]

Is there any OS/platform supporting those?

Updated by trinistr (Alexander Bulancov) 10 days ago ยท Edited Actions #3 [ruby-core:124816]

Doors are a thing on Solaris.
Event ports are also reportedly a Solaris thing, but all references seem to be about the Python feature. S_ISPORT macro doesn't exist on my Linux system.
Whiteouts are used for unionfs-like file systems, but SO claims that official Linux FSs don't use this type.

Update: event ports are mentioned in Solaris docs, but that documentation is broken.

Updated by alanwu (Alan Wu) 10 days ago 1Actions #4 [ruby-core:124818]

Solaris mentioned, so I'm bringing up illumos. Ruby has an OpenIndiana port, so this could be tested there :P

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

Actions

Also available in: PDF Atom