![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux & posix
文章平均质量分 97
白錵錵
向往幸福
展开
-
EdgeX 树莓派实践部署
EdgeX 树莓派实践部署原创 2021-02-24 17:58:32 · 2806 阅读 · 8 评论 -
linux chkconfig配置自启动shell
$vim /etc/init.d/temp2file_luncher.sh#!/bin/bash# chkconfig: 2345 66 36# /usr/bin/python#case "$1" in start) echo -n "Start: " su root -c "nohup python /home/pi/Running/temp2fi原创 2015-12-03 19:05:53 · 2239 阅读 · 0 评论 -
mount ntfs read-only.
$ sudo mount /dev/sda5 /mnt mount: warning: /mnt seems to be mounted read-only.sudo apt-get install ntfs-3g原创 2015-11-10 14:24:46 · 2071 阅读 · 0 评论 -
vsftpd配置文件详解
本文出自 “大浪淘沙” 博客,请务必保留此出处http://yuanbin.blog.51cto.com/363003/108262vsftpd配置文件详解 1.默认配置:1>允许匿名用户和本地用户登陆。 anonymous_enable=YES local_enable=YES2>匿名用户使用的登陆名转载 2015-07-12 22:51:33 · 562 阅读 · 0 评论 -
linux find命令
find . -name "libasound.*" -type f -exec cp {} ~/project/libs/sound/ \;find . -name "libasound.*" -type f -exec cp {} ~/project/libs/sound/ \;原创 2014-08-20 10:02:05 · 712 阅读 · 0 评论 -
linux下用valgrind检查程序内存泄漏
问题提出:如果一个较复杂的程序,有内存泄漏,如何检测?在windows下,VC本身带有内存泄漏的检查,程序结束时输出窗口会提示有多少memory leaks. linux下有什么办法呢?1.发现内存泄漏,可以用top或ps。zhouhh@zhh64:~/smscore$ top | grep firefox会持续打印firefox的内存占用状况,可以转载 2015-05-21 15:01:29 · 2410 阅读 · 0 评论 -
linux字符设备驱动开发
//Cdev.h#ifndef _LINUX_CDEV_H#define _LINUX_CDEV_H#ifdef __KERNEL__struct cdev {struct kobject kobj;struct module *owner;const struct file_operations *ops;struct list_head list;dev_t原创 2014-10-11 13:29:54 · 814 阅读 · 0 评论 -
linux 建立设备文件
依照unix的传统,在Linux系统中任何对象(包括设备 )都可以视为文件,在Linux系统中所有的设备文件都放在dev目录下面,建立设备文件通常有两种方法,一个是直接把宿主机上面的拷贝过来(拷贝的时候需要加上dpR参数),另外一种方法就是自己手工用mknod创建(注意这两种方法都需要root权限)。一般情况下我们都是使用第一种方法,但是这里面为了便于大家更深入的理解设备文件,我使用第二种方法转载 2014-09-02 18:18:09 · 972 阅读 · 0 评论 -
DirectFB write surface buffer
#include #include #include #define DFBCHECK(x...) \ { \ DFBResult err = x;原创 2014-08-15 15:52:43 · 999 阅读 · 0 评论 -
Hello ko
/************************************************************************* > File Name: hello.c > Author: baijie > Mail: bai.xjie@gmail.com > Created Time: 2014年08月22日 星期五 03时03分40秒原创 2014-08-25 11:04:20 · 830 阅读 · 0 评论 -
制作自已的Linux操作系统ISO
本文参考自:http://hi.baidu.com/websfx/item/f6a7b2177ddf9325f7625cdb,非常感谢原创 2014-08-17 20:16:07 · 3653 阅读 · 0 评论 -
linux下的串口操作
列出串口改变记录,以此确定对应端口号dmesg | grep tty终端minicom -s原创 2014-07-29 18:45:11 · 754 阅读 · 0 评论 -
windows编译ffmpeg
http://www.mingw.org/原创 2014-06-29 22:45:52 · 1048 阅读 · 0 评论