Question regarding filesystem

Hello,

There was lesson regarding how to create filesystem.
And I run below commands and got below output on Lab terminal:

sudo blkid /dev/vdc

*[sudo] password for bob: *
***/dev/vdc**: UUID="bd98be0d-a5a2-4635-b15d-2eac0898dbe9" TYPE="ext2"*

cat /etc/fstab

*# /etc/fstab: static file system information.*
*#*
*# Use 'blkid' to print the universally unique identifier for a*
*# device; this may be used with UUID= as a more robust way to name devices*
*# that works even if disks are added and removed. See fstab(5).*
*#*
*# <file system> <mount point>   <type>  <options>       <dump>  <pass>*
*/dev/mapper/vagrant--vg-root /               ext4    errors=remount-ro 0       1*
*/dev/mapper/vagrant--vg-swap_1 none            swap    sw              0       0*
*/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0*
*#VAGRANT-BEGIN*
*# The contents below are automatically generated by Vagrant. Do not modify.*
*#VAGRANT-END*

My question is about /dev/vdc. Why first command shows that there is ext2 filesystem is present.
And at the same moment it is not present in /etc/fstab.

I did not do any manipulation with disk, partition or filesytem.

Hi @oleksii.leshchenko

This file contains a list of disks used at startup and the partitions of those disks. If you want your disk to be mounted automatically on startup, you can add it manually or use the disk manager

Regard

yes, it’s clear. Thank you,
but why is the disk not already in the /etc/fstab ?
As I mentioned I did not do any manipulation.

Hi @oleksii.leshchenko ,

You need to add it there manually and on the next restart of your system, he will be mount automatically on startup.