重装系统前备份fstab
❯ cat /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 installation
UUID=62879db8-86af-4abe-ae06-702c1f30da0b / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
UUID=0306dcfd-65f9-4406-b667-af44ff491b61 /usrlocal ext4 defaults 0 2
UUID=780cd855-8dec-409a-be1b-2540b2e64f67 /data/logs ext4 defaults 0 2
UUID=000721E5000905AC /media/john/work ntfs defaults 0 2
UUID=000894CA000E9B00 /media/john/soft ntfs defaults 0 2
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 在鹅厂做java开发是什么体验
· 百万级群聊的设计实践
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战
· 永远不要相信用户的输入:从 SQL 注入攻防看输入验证的重要性
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析