Skip to content

Where are my mount points defined?

Hello, this might be a stupid question but I can't find anything with Google on this...
I installed Arch via Archboot. My /etc/fstab is empty (only comments), there doesn't seem to be anything related in /etc/systemd/system, /run/systemd/system, or /usr/lib/systemd/system and journalctl just says
[...] systemd[1]: Mounting /home...
[...] kernel: EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[...] systemd[1]: Mounted /home.

So... where are my mount points defined?

1 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
5adive

Author

19
posts
91
comments
6
media
View profile

8 comments

whats

systemctl cat home.mount

look like? have a SourcePath= ?

2 points

It has no SourcePath. But it has a comment saying something about "/run/systemd/generator.late/home.mount". Is this where the mount points are set or is this also generated on start?
Mount points set during setup appear to be in /run/systemd/generator.late/ while mount points set in /etc/fstab are in /run/systemd/generator/

This got even more confusing...

1 points

In systemd. It mounts all the kernel filesystem's and also sine of the partitions (if they match some well defined UUIDs).

/etc/systemd is just a directory for me though. So is /usr/lib/systemd.

1 points

In systemd

But where? There has to be some text file I can edit.

/ I know I can just make a new entry in fstab to change a mount point. But where are they defined NOW?

1 points

Define whatever you want in fstab (or .mount-units). Both take precedence over what is automatically defined.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.