this post was submitted on 31 Oct 2024
18 points (95.0% liked)

Linux

47952 readers
1486 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Since systemd parses fstab and generate .mount files to mount the drives at boot, I figure I might be able to get them somehow without manually converting my fstab to mount files.

edit: they're in /run/systemd/generator/*.mount

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 14 hours ago

Off topic: Why would one need to access these generated files?

[–] [email protected] 7 points 1 day ago (1 children)

They should be in /run/systemd along the rest of generated units.

[–] [email protected] 1 points 1 day ago

That's the one. Thanks.

[–] [email protected] 1 points 1 day ago (1 children)

does "get them" mean file systems access to the drives?

[–] [email protected] 2 points 1 day ago

How do get the .mount files

Get = obtain / fetch

So, you are indeed correct in your assumption: in order to obtain the files, he would need to make use of the file system.

However, OP has already received the answer he was looking for. Thanks anyways for trying to help him.

[–] [email protected] -5 points 1 day ago (1 children)
[–] [email protected] 19 points 1 day ago* (last edited 1 day ago) (1 children)

you're trying to RTFM me but you don't even know which manual might contain this information. It's man 8 systemd-fstab-generator. I know because I read it before I asked the question.