Fstab file in fedora coreos

Hi Team,

I recently started learning basics in fedora Cores. I installed fedora cores in a VM and added a new HDD desk, created fileystem. I wanted to use this new partition for /var/lib/docker folder. I did not find fstab file to make entry of new mount point. How to make new mount point permanent.

Thanks,
Kasim Shaik.

We don’t ship one by default, but you can just make it if you want.

You can also use systemd .mount units.

@walters, can you guide me how to prepare it by using system.mount units.

Can i create /etc/fstab file and make an entry, will it work ?

Thanks,
kasim Shaik

Hi Team,

Could anybody help me in how to write .mount file ? what is the location for .mount file?

Thanks,
Kasim Shaik.

Mount units are documented at systemd.mount.

The location is the same as all other systemd units, see systemd.unit.