Last active
October 30, 2016 16:15
-
-
Save rogeliodh/354de214e944e2c6faaa0e2ca74ba01a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File fs/dev/console is a character special file while file myfs/dev/console is a character special file | |
File fs/dev/null is a character special file while file myfs/dev/null is a character special file | |
File fs/dev/zero is a character special file while file myfs/dev/zero is a character special file | |
diff -ruN fs/etc/init.d/rcS myfs/etc/init.d/rcS | |
--- fs/etc/init.d/rcS 2016-09-01 00:55:51.000000000 -0500 | |
+++ myfs/etc/init.d/rcS 2016-10-30 09:55:56.000000000 -0600 | |
@@ -38,3 +38,5 @@ | |
/usr/jz_mips/bin/udevd --daemon | |
/usr/jz_mips/bin/udevstart | |
+ | |
+dmesg > /mnt/mmc/dmesg.log | |
diff -ruN fs/etc/udev/scripts/mmc.sh myfs/etc/udev/scripts/mmc.sh | |
--- fs/etc/udev/scripts/mmc.sh 2016-06-15 22:29:44.000000000 -0500 | |
+++ myfs/etc/udev/scripts/mmc.sh 2016-10-30 09:59:51.000000000 -0600 | |
@@ -13,6 +13,7 @@ | |
then | |
ntfs-3g /dev/$1 /mnt/mmc | |
fi | |
+ dmesg > /mnt/mmc/dmesg.2.log | |
elif [ "$ACTION" == "remove" ] | |
then | |
rm /tmp/mmc_add -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment