I am using ubuntu (ubuntu 16.04.4 LTS with a 4.4.113 kernel) on an embedded device and i see only one entry in fstab
/dev/mmcblk0p7 / ext4 errors=remount-ro,noatime,nodiratime 0 1
when i check the partitions mounted using "mount" command, i see a lot of partitions mounted. Now the concerned partition that got auto mounted somehow is
/dev/mmcblk0p5 on /lib/modules type ext4 (ro,relatime,data=ordered)
I am unable to figure it out that how did it get mounted when there is no entry in /etc/fstab?
Best Answer
Ubuntu 16.04 uses
systemd
which can mount file systems for you. Ubuntu actually no longer uses/etc/fstab
in the traditional way, when the system is bootedsystemd
will check each line in/etc/fstab
and create amount
systemd
service for each entry. You should be able to runsystemctl status *.mount
to view the status of each mountsystemd
is managing.