从microSD启动后,在BeagleBone Black上运行rsync进程

时间:2014-06-30 10:18:39

标签: rsync boot beagleboneblack

请有人解释一下从SD卡启动过程中BBB上发生了什么,以及为什么每次都有长时间运行的rsync进程? BBB会自动刷新内部eMMC吗?我正在他们的网页上使用官方的Debian图片。

ps aux |的输出grep ...

rsync -aAXv /boot/uboot/ /tmp/boot/ --exclude=MLO --exclude=u-boot.img --exclude=*bak --exclude=flash-eMMC.txt --exclude=flash-eMMC.log

然后是另一个rsync:

rsync -aAXv /bin /boot /dev /etc /home /lib /lost+found /media /mnt /opt /proc /root /run /sbin /selinux /srv /sys /tmp /usr /var /tmp/rootfs/ --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/run/* --exclude=/mnt/* --exclude=/media/* --exclude=/lost+found --exclude=/boot/* --exclude=/lib/modules/*

从顶部输出:

 2566 root      20   0 29840 3064  620 R  23,0  0,6   1:12.21 rsync                                                                                                                                                                                                            
 2564 root      20   0 21604 9424  868 S  20,5  1,9   1:02.67 rsync                                                                                                                                                                                                            
   72 root      20   0     0    0    0 S   2,5  0,0   0:10.37 mmcqd/0                                                                                                                                                                                                          
   75 root      20   0     0    0    0 D   2,2  0,0   0:42.00 mmcqd/1

从mount输出:

/dev/mmcblk0p2 on / type ext4 (rw,noatime,errors=remount-ro,data=ordered)
/dev/mmcblk0p1 on /boot/uboot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/mmcblk1p2 on /tmp/rootfs type ext4 (rw,noatime,data=ordered)

感谢。

1 个答案:

答案 0 :(得分:0)

来自网站(http://beagleboard.org/latest-images

BeagleBone (Runs on BeagleBone Black as well without flashing the eMMC)

    Debian (BeagleBone, BeagleBone Black - 2GB SD) 2014-05-14 - more info - bittorrent - md5: 35877ce21e8ed0eb1bdc6819ad71c317
    Angstrom Distribution (BeagleBone, BeagleBone Black - 4GB SD) 2013-06-20 - more info

BeagleBone Black (eMMC flasher)

    Debian (BeagleBone Black - 2GB eMMC) 2014-05-14 - more info - bittorrent - md5: 74615fb680af8f252c034d3807c9b4ae
    Angstrom Distribution (BeagleBone Black - 2GB eMMC) 2013-09-04 - more info - bittorrent

听起来像BeagleBone图像将在BeagleBone黑色上运行而不会闪烁eMMC。