강좌 & 팁
i.mx6 보드에 이미지를 빌드하고 올리는 과정에서
아래와 같이 메시지를 뿌리는 경우가 있다.
Freeing init memory: 216K
starting pid 1366, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
udevd (1375): /proc/1375/oom_adj is deprecated, please use /proc/1375/oom_score_adj instead.
Synthesizing initial hotplug events
Setting the hostname to freescale
Mounting filesystems
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
해결 방법은 /etc/rc.d/rc.conf 파일을 열어
TMPFS_SIZE="512k" 을 TMPFS_SIZE="4m"
이렇게 수정해주면 된다.