zoukankan      html  css  js  c++  java
  • Linux开机自动挂载Windows分区


    title: Linux开机自动挂载Windows分区
    date: 2017-11-08 22:09:28
    tags: linux
    categories: linux


    教程以archlinux为例。

    查找分区的UUID或LABEL

    使用blkid查看分区的label和uuid信息。

    sudo blkid
    

    返回可能类似下面这样:

    如果你想得到关于分区大小的信息,可以运行

    sudo fdisk --list
    

    修改自动挂载文件

    sudo vim /etc/fstab
    

    你可以使用LABELUUID来定位你要挂载的分区。
    使用man fstab获取文件的详细配置信息。
    下面是我的fstab内容:

    UUID=0008-1C51                            /boot/efi      vfat    defaults,noatime 0 2
    UUID=44a05151-a639-4e64-82ea-320085e7d1ba /              ext4    defaults,noatime,discard 0 1
    tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
    LABEL=OS								  /home/lxp/OS	 ntfs    defaults,noatime 0 0
    LABEL=SSD								  /home/lxp/SSD  ntfs    defaults,noatime 0 0
    UUID=FCF2FA11F2F9D03E					 /home/lxp/E ntfs  defaults,noatime 0 0
    UUID=000FBF060008A44E					/home/lxp/F  ntfs    defaults,noatime 0 0
    UUID=000DB56E000E40C4                  /home/lxp/G   ntfs     defaults,noatime 0 0
    
    转载请保留原文链接及作者
    本文标题:
    文章作者: LepeCoder
    发布时间:
    原始链接:
  • 相关阅读:
    vue 基础 模板
    常见的JS语言错误总汇
    面向对象两大编程思想
    15条你可能不知道的JS高效技巧
    django简介
    ping连通性
    IP地址解释
    web网页请求以及网络联网的一些过程
    HTTP和HTTPS协议
    TCP和UDP
  • 原文地址:https://www.cnblogs.com/lepeCoder/p/7844853.html
Copyright © 2011-2022 走看看