This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
器件型号:BEAGLEBK
您好!
我有一个使用 Yocto 构建系统构建的 ramdisk rootfs。 除了 rootfs 的大小比我拥有的物理内存小得多外,一切都正常。 没有可用空间将文件复制到 rootfs 中的目录(如/home/root.) 。
我已尝试修改/etc/fstab 以使 rootfs 使用 tmpfs,"df"命令输出不会更改。 使用 tmpfs 手动安装 rootfs 也不会更改/dev/root 的大小。
下面是我在 fstab 中为 rootfs 更改的行:
/dev/root / tmpfs 默认 值为1 1
以下是 df 和 mount 命令的输出:
# df
文件系统 1K 块 已使用%已安装
/dev/root 23795 21071 1496 93%/
devtmpfs 480492 0 480492 0%/dev/dev
tmpfs 516520 32 516488 0%/run
tmpfs 516520 24 516496 0%/var/volatile
#安装
/dev/root 打开/类型 ext4 (rw、relatme、block 有效、delalloc、barrier、user_xattr)
/dev/type devtmpfs 上的 devtmpfs (rw、relatime, size=480492k,nr_inodes=120123,mode=755)
proc on /proc type proc (rw、relatme)
/sys 类型 sysfs 上的 sysfs (rw、relatme)
/run 类型 tmpfs 上的 tmpfs (rw、nosuid、nodev、mode=755)
/var/volatile 上的 tmpfs 类型 tmpfs (rw、relatme)
/dev/pts 上的设备类型设备(RW、相对值、GID=5、MODE = 620、ptmxmode=000)
/dev/root 的可用空间约为24M、但物理内存更多。 但是、tmpfs 能够使用更多内存。
问题:
增加 rootfs (/dev/root)可用于 ramdisk 的可用大小的正确方法是什么?
感谢你的帮助!
您好!
您没有使用德州仪器处理器。 此 E2E 论坛仅支持 TI 器件。 我们不支持一般性问题。 请在网络上的其他地方咨询。
您好!
感谢您的答复、我将询问其他消息来源。