13
submitted 8 hours ago* (last edited 8 hours ago) by Quail4789@lemmy.ml to c/linux@lemmy.ml

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 8 comments
sorted by: hot top controversial new old
[-] Max_P@lemmy.max-p.me 4 points 8 hours ago

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

[-] Quail4789@lemmy.ml 1 points 8 hours ago

That's the one. Thanks.

[-] wildbus8979@sh.itjust.works 3 points 8 hours ago
[-] Quail4789@lemmy.ml 12 points 8 hours ago* (last edited 8 hours ago)

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.

[-] wildbus8979@sh.itjust.works 1 points 7 hours ago* (last edited 6 hours ago)

You're question wasn't exactly clear, it seemed like you were asked how to create .mount files manually. Not where they are.

[-] warmaster@lemmy.world 2 points 2 hours ago* (last edited 2 hours ago)

man up unhelpful.user

[-] eldavi@lemmy.ml 1 points 8 hours ago

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

[-] warmaster@lemmy.world 1 points 2 hours 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.

this post was submitted on 31 Oct 2024
13 points (100.0% liked)

Linux

47943 readers
1280 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