Opened 3 months ago

Closed 3 months ago

#19121 closed bug (invalid)

Missing sys/sysparams.h with major, minor, makedev

Reported by: monni Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

major() and minor() functions/macros are used with stat() by RocksDB to test if two file paths point to same physical location on same disk.

Supported by many POSIX-compatible operating systems.

Change History (1)

comment:1 by waddlesplash, 3 months ago

Resolution: invalid
Status: newclosed

These aren't actually in POSIX, nor is the sysparams header. We don't define device IDs internally this way, so there wouldn't be a point in adding them.

Note: See TracTickets for help on using tickets.