上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: 转载自http://linux.chinaunix.net/doc/system/2005-02-03/1086.shtml dd 是 Linux/UNIX 下的一个非常有用的命令,作用是用指定大小的块拷贝一个文件,并在拷贝的同时进行指定的转换。 dd 的主要选项:指定数字的地方若以下列字符结尾乘以相应的数字:b=512, c=1, k=1024, w=2, xm=number m if=fi... 阅读全文
posted @ 2011-01-11 01:36 羽落无声 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 方法其实方法很EASY, 1.让IIS支持ASPX,添加Web服务扩展的方法 打开IIS,本地计算机,右击"默认网站"点"所有任务"再点"添加Web服务扩展",这样就有Web服务扩展了,有了这个,那该IIS也就支持aspnet了. 如果有了Web服务扩展还不支持aspnet的话,则,继续下面的方法: 一、先注册asp.net组件: (asp.NET 组件即:.Net Framework )... 阅读全文
posted @ 2011-01-10 22:24 羽落无声 阅读(1090) 评论(0) 推荐(0) 编辑
摘要: 用gcc编译c程序的时候 经常会出现implicit declaration of function '...' 的warning 偶经过这几天的经验,发现主要有2种情况会产生这种warning 1 没有把函数所在的c文件生成.o目标文件2 在函数所在的c文件中定义了,但是没有在与之相关联的.h文件中声明 阅读全文
posted @ 2011-01-10 15:51 羽落无声 阅读(864) 评论(0) 推荐(0) 编辑
摘要: 服务器上安装了ASP.NET v2.0组件,但是在IIS的Web服务扩展中并没有找到ASP.NET v2.050727这项,这导致基于.NET2.0开发的网页都无法正常浏览。 解决方法:打开IIS,转至Web服务扩展中,点击右侧窗口任务下的“添加一个新的Web服务扩展”,在弹出的窗口中,点击添加,然后找到x:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\... 阅读全文
posted @ 2011-01-10 14:03 羽落无声 阅读(2827) 评论(0) 推荐(0) 编辑
摘要: 出现的错误如下: 您无权查看该网页您可能没有权限用您提供的凭据查看此目录或网页。 解决办法: 1、没有设置好首页文件 打开IIS然后依次打开该网站的属性--文档--添加,把需要设置成首页的文件填上去,如index.asp 2、没有允许ASP 打开IIS然后找到“web 服务扩展”,把“Active Server Pages”允许就行了 3、权限设置错误 全部都使用“IUSR_计算机... 阅读全文
posted @ 2011-01-10 13:59 羽落无声 阅读(4636) 评论(0) 推荐(0) 编辑
摘要: 一、定义: struct file结构体定义在/linux/include/linux/fs.h(Linux 2.6.11内核)中,其原型是: 721struct file { 722 /* 723 * fu_list becomes invalid after file_free is called and queued via 724 * fu_rcuhead for RCU freeing... 阅读全文
posted @ 2011-01-09 20:30 羽落无声 阅读(918) 评论(0) 推荐(0) 编辑
摘要: struct file结构体定义在/linux/include/linux/fs.h(Linux 2.6.11内核)中,其原型是:struct file { /* * fu_list becomes invalid after file_free is called and queued via * fu_rcuhead for RCU freeing */ union { struct list... 阅读全文
posted @ 2011-01-09 20:29 羽落无声 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 在Linux2.6内核中一个字符设备用cdev结构来描述,其定义如下:struct cdev { struct kobject kobj; struct module *owner; //所属模块 const struct file_operations *ops; //文件操作结构,在写驱动时,其结构体内的大部分函数要被实现 struct list_head list; dev_t dev; ... 阅读全文
posted @ 2011-01-09 20:27 羽落无声 阅读(5499) 评论(0) 推荐(0) 编辑
摘要: 在 linux 2.6内核中,使用 cdev结构体描述字符设备,cdev 的定义在 linux/cdev.h 中可找到,其定义如下:引用 struct cdev { struct kobject kobj; struct module *owner; const struct file_operations *ops; struct list_head list; dev_t dev; uns... 阅读全文
posted @ 2011-01-09 20:26 羽落无声 阅读(2379) 评论(0) 推荐(0) 编辑
摘要: Linux中的File_operations结构体2008-07-07 12:34File_operations结构体 file_operation就是把系统调用和驱动程序关联起来的关键数据结构。这个结构的每一个成员都对应着一个系统调用。读取file_operation中相应的函数指针,接着把控制权转交给函数,从而完成了Linux设备驱动程序的工作。 在系统内部,I/O设备的存取操作通过特定的入口... 阅读全文
posted @ 2011-01-09 19:36 羽落无声 阅读(7680) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页