zoukankan      html  css  js  c++  java
  • ubuntu启动时自动挂载windows分区

    这是本人的/etc/fstab文件,其中设置的启动时自动挂载的windows分区,可用df命令查看挂载信息

    开始还需要新建对应的文件夹,如 sudo mkdir /media/WINDOWS,sudo mkdir /media/PROGRAM等

    # /etc/fstab: static file system information.

    #
    # Use 'blkid -o value -s UUID' 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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    /dev/sda9       /               ext4    errors=remount-ro 0       1
    # /boot was on /dev/sda10 during installation
    UUID=c98fafbc-4bed-4e75-8c48-ded2acb7cce6 /boot           ext4    defaults        0       2
    # /home was on /dev/sda12 during installation
    UUID=59b5a521-1871-447e-9771-358e84764f3f /home           ext4    defaults        0       2
    # swap was on /dev/sda11 during installation
    UUID=aa85a9d1-bd57-417b-8f4a-018f19f00005 none            swap    sw              0       0
    /dev/sda1        /media/WINDOWS  vfat     rw,utf8         0     0     
    /dev/sda5        /media/PROGRAM  vfat     rw,utf8         0     0
    /dev/sda6        /media/WINNT    ntfs     rw,utf8         0    0
    /dev/sda7        /media/SOURCE   vfat     rw,utf8         0    0
    /dev/sda8        /media/TOOLS    vfat     rw,utf8         0    0
                                                                    

  • 相关阅读:
    搭建微信公众号,获取用户公开信息
    搭建ES搜索引擎,实时导入mysql数据进行查询
    切换linux的shell
    隐藏CMD窗口,使程序在后台执行
    通过ssh远程查看java版本与在客户端查看不一致
    项目升级tomcat,修复漏洞
    springboot重定向后,https变成http
    【数论】【Polya定理】【枚举约数】【欧拉函数】【Java】poj2154 Color
    【数论】【Polya定理】poj1286 Necklace of Beads
    【置换群】poj3270 Cow Sorting
  • 原文地址:https://www.cnblogs.com/djcsch2001/p/2025863.html
Copyright © 2011-2022 走看看