当我试图挂载我的UBIFS文件时,我得到了这个错误:
mount -o remount,rw /config
UBIFS error (pid 1265): ubifs_parse_options: unrecognized mount option "relatime" or
missing value 我的文章的内容是:
root@drgos:~# cat /etc/fstab
# WARNING: this is an auto generated file, please use uci to set static filesystems
/dev/ubi0_0 /config ubifs ro 0 0 当我输入挂载时,结果是:
root@drgos:~# mount
rootfs on / type rootfs (rw)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/ubi0_0 on /config type ubifs (ro,relatime)
none on /proc/bus/usb type usbfs (rw,relatime) 我不明白为什么我有选择相对而言,因为那是不存在在我的fstab!
我使用的是BusyBox v1.11.2 (2014-01-13 09:35:41 CET)多调用二进制。
发布于 2014-01-14 20:55:18
这些选项取决于Linux内核版本。相对论性是一个通用的安装选项。相对论性是较新的Linux内核的默认设置。其他文件系统可能会悄然忽略未知的选项,而ubifs正在失败。你可以试试mount -o remount,rw,noatime,norelatime /config。mount命令显示/config目录是用相对论性挂载的;这是busybox挂载applet收集的信息。
这个信息是用getmntent_r()函数收集的。如果busybox是动态链接的,那么'C‘库可能会将此信息作为*mnt_opts*字符串的一部分提供。
mount -o remount,rw,noatime,norelatime /config的想法是尝试并遍历这些信息,这样UbiFs就会对其挂载选项感到满意。另一种方法是简单地umount,然后再手动地重复mount。
umount /config
mount -t ubifs /dev/ubi0_0 /config这样就不会检索以前的挂载信息。
https://stackoverflow.com/questions/21089480
复制相似问题