this post was submitted on 31 Oct 2024
21 points (95.7% liked)

Linux

48313 readers
855 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 11 comments
sorted by: hot top controversial new old
[–] Max_P@lemmy.max-p.me 7 points 3 weeks ago (1 children)

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

[–] Quail4789@lemmy.ml 1 points 3 weeks ago

That's the one. Thanks.

[–] WhyAUsername_1@lemmy.world 2 points 3 weeks ago (1 children)

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

[–] Quail4789@lemmy.ml 1 points 2 weeks ago

I want to version control some of my drives

[–] eldavi@lemmy.ml 1 points 3 weeks ago (1 children)

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

[–] warmaster@lemmy.world 2 points 3 weeks 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.

[–] wildbus8979@sh.itjust.works -5 points 3 weeks ago (1 children)
[–] Quail4789@lemmy.ml 22 points 3 weeks ago* (last edited 3 weeks 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.