专题18-FLASH驱动程序设计 第1课-块设备驱动系统架构 块设备是指只能以块为单位进行访问的设备,块大小一般是512个字节的整数倍。常见的块设备包括硬件,SD卡,光盘等。 l insmod simple-blk.ko l ls /dev/simp_blkdev0 l mkfs.ext3 /dev ...
分类:
其他好文 时间:
2019-09-03 13:19:58
阅读次数:
83
示例 tar -cf archive.tar foo bar # 从文件 foo 和 bar 创建归档文件 archive.tar。 tar -tvf archive.tar # 详细列举归档文件 archive.tar中的所有文件。 tar -xf archive.tar # 展开归档文件 arc ...
分类:
其他好文 时间:
2019-09-01 22:14:33
阅读次数:
109
在容器中使用systemctl报Failed to get D-Bus connection: Operation not permitted的错误,则在启动的时候把sys/fs/cgroup映射到docker容器中。 docker run --privileged --name=test --ho ...
分类:
其他好文 时间:
2019-09-01 14:43:36
阅读次数:
98
一、docker启动关闭 1、查看所有正在运行容器 #docker ps 2、查看所有容器 #docker ps -a 3、停止容器 #docker stop containerId //containerId 容器ID 4、启动、重启容器 #docker start containerId #do... ...
分类:
其他好文 时间:
2019-09-01 14:39:17
阅读次数:
74
E. e-Government time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The best programmers of E ...
分类:
编程语言 时间:
2019-09-01 01:08:10
阅读次数:
78
CAP定理和BASE理论 标签(空格分隔): 操作系统 CAP定理 CAP定理: 一个分布式系统最多只能满足一致性 (Consistency), 可用性(Availability)和分区容错性(Partition tolerance)其中的两种. 一致性(Consistency) all nodes ...
分类:
其他好文 时间:
2019-08-31 23:30:13
阅读次数:
84
一. 异常类型 1. Exception Exception主要分为两种:Runtime Exception、Checked(Compile) Exception。 常见的Runtime Exception,有:NullPointerException、ArithmeticException... ...
分类:
编程语言 时间:
2019-08-31 23:07:02
阅读次数:
73
内容描述在同一个tomcat部署多个打包成war包的项目导致启动失败,报错如下: 报错信息 解决方案在项目的的application.properties(yml)文件中配置: spring.jmx.enabled=false ...
分类:
其他好文 时间:
2019-08-30 21:02:27
阅读次数:
139
程序(procedure):不太精确地说,程序就是执行一系列有逻辑、有顺序结构的指令,帮我们达成某个结果。就如我们去餐馆,给服务员说我要牛肉盖浇饭, 她执行了做牛肉盖浇饭这么一个程序,最后我们得到了这么一盘牛肉盖浇饭。它需要去执行,不然它就像一本武功秘籍,放在那里等人翻看。 进程(process): ...
分类:
系统相关 时间:
2019-08-29 23:45:37
阅读次数:
179
Description: You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the ...
分类:
其他好文 时间:
2019-08-29 18:41:33
阅读次数:
142