V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
luofeiyu
V2EX  ›  问与答

这个 cp 命令为何就无法正确使用了呢?

  •  
  •   luofeiyu · 2016-06-04 20:57:12 +08:00 · 2251 次点击
    这是一个创建于 2854 天前的主题,其中的信息可能已经有所发展或是发生改变。

    mount -o bind,rw / /tmp/root
    mont /dev/sda /mnt/material
    cp /tmp/root/* /mnt/material -a
    很多类似这样的信息: cp: can't create symlink '/mnt/material/var': Operation not permitted.

    上面几句话的真实用途:
    最近在使用 OpenWRT ,但每每因为软件安装的过多空间太小而发愁,就试想着把系统 /overlay 挂载到 U 盘. 参见:
    http://blog.sina.com.cn/s/blog_7b9016170102vhr9.html

    2 条回复    2016-06-04 22:57:00 +08:00
    happyz90
        1
    happyz90  
       2016-06-04 21:16:12 +08:00 via Android
    u 盘估计是 fat32 的吧?没法 link
    luofeiyu
        2
    luofeiyu  
    OP
       2016-06-04 22:57:00 +08:00
    谢谢您, mkfs.ext3 /dev/sda
    问题解决。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2762 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:06 · PVG 20:06 · LAX 05:06 · JFK 08:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.