文件操作 - fstab
返回文件管理
返回主菜单
删除本文件
文件: /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). # # systemd generates mount units based on this file, see systemd.mount(5). # Please run 'systemctl daemon-reload' after making changes here. # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda1 during installation UUID=4bc8b296-a8bb-4656-9e40-ec41780aa7bf / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=00a3f2a2-b798-4aff-9e96-a8d7ea82a9be none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 //10.1.0.41/ShareFiles /mnt/ShareFiles cifs credentials=/etc/.sharefolder-credentials,vers=2.0,rw,iocharset=utf8 0 0 # Sistema de arquivo em Memoria RAM - Usado para cache do NGINX tmpfs /dev/shm/nginx-cache tmpfs defaults,size=700M 0 0
修改文件时间
将文件时间修改为当前时间的前一年
删除文件