cat /etc/fstab 查看磁盘挂载
Posted 闭关苦炼内功
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cat /etc/fstab 查看磁盘挂载相关的知识,希望对你有一定的参考价值。
cat /etc/fstab
查看磁盘挂载
[root@localhost ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Wed Jan 13 08:48:39 2021
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/centos-root / ext4 defaults 1 1
UUID=xxx-xxx-xxx-xxx-xxx /boot ext4 defaults 1 2
UUID=xx-xx /boot/efi vfat umask=0077,shortname=winnt 0 2
/dev/mapper/centos-home /home ext4 defaults 1 2
/dev/mapper/centos-swap none swap defaults 0 0
[root@localhost ~]#
编辑后,重新加载系统
systemctl daemon-reload
以上是关于cat /etc/fstab 查看磁盘挂载的主要内容,如果未能解决你的问题,请参考以下文章