• Mount rootfs on Linux startup


    1。 When Linux starts, after a series of initialization, the mount root file is requiredsystemTo prepare for the last init process, mount the root filesystemThere are several ways: 1) DocumentssystemIt already exists on a partition of the hard disk (or similar device). The kernel directly mounts it according to the command line parameters (root = […]

  • Placing games from scratch (16) — prop system (1) prop dictionary


      Prop system is one of the core systems of the game. Common business functions include “character backpack”, “prop store”, “monster drop”, etc. all rely on prop system. Before realizing these functions, the first problem to be solved is to define what props will be in our game world and how to classify these props? […]

  • Add new hard disk, partition and format under Linux system


    Preparatory knowledge   Before we addHard diskBefore, you should first understand LinuxsystemThe naming method of hard disk and partition.Under Linux, IDE devices are named after HD. The first ide device is HDA and the second is HDB. And so onWe generallya main boardThere are two IDE interfaces on the, and a total of four IDE devices […]

  • Which Apple devices can upgrade OS X El Capitan system


    Apple released the latest version of OS X El Capitan system at the WWDC 2015 developer conference. A netizen raised a question: which Apple devices can upgrade OS X El Capitan system? For this problem, the following editor will give you a detailed introduction! In Apple’s latest OS X El Capitan system, Safari browser will […]

  • Executing this command on a Linux laptop can cause the device to permanently brick


    Last month, a user posted a question on arch Linux forum, why is his notebook running a simple“rm -rf -no-preserve-root /”After the command, there was no way to start it. Students with Linux foundation should know that it is stupid to run this command, but generally it will not produce any destructive results of hardware. […]

  • Does Apple computer support win10? A summary of Apple’s windows 10 devices


    Today, apple officially announced a new version of boot camp 6, a dual system startup tool, and officially added support for Microsoft Windows 10. So, which Apple computer models support the installation and use of the win10 system? In response to this problem, this article introduces the summary of the devices that Apple supports win10. […]

  • Some methods of obtaining device information using phonegap


    device.nameName of the device device.phonegap Phonegap version device.platform Type of equipment device.uuid Unique identification number of equipment device.version Version of the operating system running device Is assigned to a window object <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <title>My Device</title> <script type=”text/javascript” charset=”UTF-8″ src=”cordova.js”></script> <script type=”text/javascript” charset=”UTF-8″> function onLoad() { document.addEventListener(“deviceready”, onDeviceReady, false); } function onDeviceReady() { var myDiv = […]

  • What’s the use of the device pop-up option in the taskbar before unplugging the U disk?


    Do you click on the device in the taskbar before pulling out the external storage devices such as U disk and mobile hard disk?“Eject” Options, and then operate on them? Only in order to avoid data errors, or the device can not recognize, read and write and other issues. In fact, USB devices are all […]