Opened 13 months ago

Last modified 11 months ago

#67140 assigned enhancement

util-linux: Add findmnt

Reported by: seamusdemora (Seamus) Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
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 (5)

comment:1 Changed 13 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 13 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 13 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 13 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 11 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
Note: See TracTickets for help on using tickets.