OpenEdv-开源电子网

 找回密码
 立即注册
查看: 341|回复: 0

mount squashfs时报错: 操作不被允许

[复制链接]

1

主题

1

帖子

0

精华

新手入门

积分
6
金钱
6
注册时间
2023-12-12
在线时间
1 小时
发表于 2023-12-12 10:12:46 | 显示全部楼层 |阅读模式
1金钱
我用mksquashfs制作了test.squashfs,在x86 Ubuntu上mount -t squashfs test.squashfs /opt/mount/sysroot 是可以挂载的,但是在RV1126上挂载时提示Operation is not permitted.
已经检查过内核,内核已配置squashfs 4.0 support 和 overlay support ,不知道是否和时间戳有关。
···
[root@MiWiFi-RB08-srv:~]# mount -t squashfs -o loop /sdcard/tmp/test.img /sdcard/sysroot/
mount: /sdcard/sysroot/: mount failed: Operation not permitted.

[root@MiWiFi-RB08-srv:~]# file /sdcard/tmp/test.img
/sdcard/tmp/test.img: Squashfs filesystem, little endian, version 4.0, 1179112 bytes, 20 inodes, blocksize: 131072 bytes, created: Mon Dec 11 13:58:39 2023
[root@MiWiFi-RB08-srv:~]# date
Thu Jan  1 18:58:24 CST 1970

···

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-5-16 10:16

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表