LinuxÄÚºËÉ豸ģÐÍ(5)
ÒëÕߣº¹ùÉÙ±¯
2009/12/02
ÔÎÄ£ºlinux/Documentation/driver-model/device.txt
»ù±¾µÄÉ豸Êý¾Ý½á¹¹
~~~~~~~~~~~~~~~~~~
struct device {
struct list_head g_list;
struct list_head node;
struct list_head bus_list;
struct list_head driver_list;
struct list_head intf_list;
struct list_head children;
struct device * parent;
char name[DEVICE_NAME_SIZE];
char bus_id[BUS_ID_SIZE];
spinlock_t lock;
atomic_t refcount;
struct bus_type * bus;
struct driver_dir_entry dir;
u32 class_num;
struct device_driver *driver;
void *driver_data;
void *platform_data;
u32 current_state;
unsigned char *saved_state;
void (*release)(struct device * dev);
};
Óò
~~
g_list: È«¾ÖÉ豸Á´±íÖеĽڵ㡣
node: É豸µÄ¸¸Ç׵ĺ¢×ÓÁ´±íÖеĽڵã(¸¸×Ó¹ØÏµÊÇÊ÷½á¹¹Öеij£ÓùØÏµ)¡£
bus_
Ïà¹ØÎĵµ£º
Filename
£º
[Linux]GNU
×Ô¶¯»¯¹¤¾ß£¨
automake
¹¤¾ßÁ´£©
Version
£º
V1.0
Date
£º
12/01/2009
Author
£º
S.C.Leon <leonsc@126.com>
=====================================================================
GNU
×Ô¶¯»¯¹¤¾ß£¨
automake
¹¤¾ßÁ´£©
Ò»¡¢
Makefile
½éÉÜ
Makefile
ÊÇ ......
QQ:1156316388 Tel:010-51527259
Ò»¡¢Æô¶¯
Èý¸öÃüÁ
1¡¢sqlplux /nolog
2¡¢connect /as sysdba
3¡¢startup
¶þ¡¢¹Ø±Õ
1¡¢shutdown immediate;
[oracle@zhao ......
GTK
----------------------------------------------
GTK(GIMP-The GNU Image Manipulation Program[ͼÐαà¼Èí¼þ]¹¤¾ßÏ䣬GIMP
ToolKit)ÊÇÒ»¸ö¹¦ÄÜÇ¿´ó¶øÇÒ¿ì½ÝµÄ¿ª·ÅÔ´ÂëͼÐο⣬ÓÃÓÚUNIX/LinuxÉϵÄXWindowϵͳ£¬³ÌÐòÔ±¿ÉÒÔÓÃÀ´´´½¨°´Å¥¡¢²Ëµ¥¼°ÆäËüͼÐζÔ
Ïó£¬GTK×î³õÊÇGIMPµÄרÓÿª·¢¿â£¬ºóÀ´· ......
#!/bin/bash
yesterday=`date -d -1days "+%Y%m%d"`
cd /home/www/zdyzlog/
zgrep -P '.*CopyRightId\[A00009042202\].*ʵʱ²ßÂÔ¿ªÊ¼.*' /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz >> /home/www/zdyzlog/zhongduancelivkaishi_$yesterday.txt
zgr ......
radhat 5.2ϰ²×°oracle10g
1¡¢ÏµÍ³ÐèÇó£º
Äڴ棺ÖÁÉÙ512mb£¬ÍƼöÓÃ1g£»
Ó²ÅÌ£º·þÎñÆ÷ÖÁÉÙ60g£»
£¨Ò»°ãÇé¿öÏÂÓ²¼þ¶¼ÄÜ·ûºÏÒªÇó£©
Èí¼þ°ü£ºglibc-2.3.2, libaio-0.3.96
½»»»¿Õ¼ä:
RAM: 0~256MB, SWAP: 3 ±¶ RAM ´óС
RAM: 256~512MB, SWAP: 2 ±¶ RAM ´óС
RAM: >=512MB, SWAP: 10 ......