Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个知道如何解析fstab文件的python包?也许类似于getmntent(3)in linux。
fstab
getmntent(3)
linux
诚然,用 python(或awk(1)等)来理解这一点并不难,但我想知道那个轮子是否已经被发明了。
awk(1)
一个简单的谷歌搜索会给你这个:
https://launchpad.net/python-fstab