Opened 18 months ago

Closed 2 weeks ago

#67140 closed enhancement (wontfix)

util-linux: Add findmnt

Reported by: seamusdemora (Seamus) Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: util-linux

Description

findmnt is a very useful utility, but it's not included in the util-linux port. It would be really nice if it were possible to add it.

Change History (7)

comment:1 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: findmnt removed
Summary: Add `findmnt` to util-linux portutil-linux: Add findmnt
Type: updateenhancement

comment:2 Changed 18 months ago by raimue (Rainer Müller)

The upstream project for util-linux does not provide all tools for all platforms. I would assume that findmnt relies on platform-specific APIs to read the list of mounts and therefore it is likely not supported on macOS at all.

comment:3 Changed 18 months ago by seamusdemora (Seamus)

@Rainer: "I would assume..." What does that mean? Are you rejecting the request based on that assumption?

comment:4 Changed 18 months ago by kurthindenburg (Kurt Hindenburg)

findmt currently doesn't build for me on Ventura. I'm not sure the code is portalbe enough to work on macOS.

comment:5 Changed 16 months ago by kurthindenburg (Kurt Hindenburg)

I doubt this will happen; my machine doesn't have mntent.h and I'd assume others don't as well.

configure: WARNING: mntent.h header file not found; not building libmount
configure: WARNING: libmount disabled; not building libmount_mountfd_support
configure: WARNING: libmount disabled; not building findmnt

comment:6 Changed 2 weeks ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:7 in reply to:  5 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: assignedclosed

As far as I can tell it is not possible to build findmnt on macOS so I will close this ticket. If you want findmnt on macOS, you'll have to work with the developers of util-linux to make it macOS-compatible first.

Note: See TracTickets for help on using tickets.