最近准备通过UUID的方式挂载硬盘,但是我发现一个奇怪的现象:就是我在/etc/fstab里面写入硬盘UUID实现自动挂载,可是重启后/etc/fastab里的内容被清空
root@OpenWrt:/# cd /etc
root@OpenWrt:/etc# ls
TZ                    fstab                 ppp
banner                group                 preinit
banner.failsafe       hosts                 profile
board.d               hotplug-preinit.json  protocols
board.json            hotplug.d             rc.button
config                hotplug.json          rc.common
crontabs              init.d                rc.d
device_info           inittab               rc.local
diag.sh               modules-boot.d        resolv.conf
dnsmasq.conf          modules.d             services
dnsmasq.time          mtab                  shadow
dropbear              openwrt_release       shells
e2fsck.conf           openwrt_version       sysctl.conf
ethers                opkg                  sysupgrade.conf
filesystems           opkg.conf             uci-defaults
firewall.user         passwd
root@OpenWrt:/etc# vi fstab 
UUID="3E60240A6023C80B" /mnt/neizhi/sda1  ntfs defaults 0 2
保存退出后重启,再vi /etc/fstab 里面被清空了,也没有实现UUID自动挂载功能,这什么情况?
离线
我也不太清楚
离线
到什么地方查看根文件系统呢?
离线