Linux 挂载 新磁盘

来源:互联网 发布:省市区县json数据 编辑:程序博客网 时间:2024/06/06 04:22
打开 /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># / was on /dev/sda1 during installationUUID=c40c57c1-2660-4f1e-857a-a4f414005db5 /               ext4    errors=remount-ro 0       1# swap was on /dev/sda5 during installationUUID=fe915436-913a-43fa-80cd-267b16d899d1 none            swap    sw              0       0/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0UUID=e32af934-4e59-4605-8457-7982ca2f2cde   /mnt/sec_dis    ext4    defaults    0   0#UUID=a57718b9-6fbd-4580-b59d-6768d15e2090  /mnt/thi_dis    ext4    defaults    0   0有固定的格式,挂载新的磁盘,在这个文件修改后,重启启动系统,新磁盘对应的文件目录有存在了。
0 0
原创粉丝点击