|
|
Subscribe / Log in / New account

listmount() and statmount()

listmount() and statmount()

Posted Nov 16, 2023 9:00 UTC (Thu) by mezcalero (subscriber, #45103)
Parent article: listmount() and statmount()

BTW, one addendum. The reason why systemd considers the mount ID a 32bit entity is simply because the kernel exports it like that. i.e. name_to_handle_at() was the first kernel API to expose the mount ID to userspace in binary form, and it used an "int" for that, see man page. We then adopted that, since that's apparently what the kernel wants us to use.

Lennart


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds