E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
ino
Linux文件操作学习总结
文件的权限:读、写、执行 文件的相关信息:目录结构、索引节点、文件数据索引节点的stat结构structstat{dev_tst_dev;//文件使用的设备号
ino
_tst_inl;//索引节点号mode_tst_mode
x_yz_
·
2013-10-02 22:00
linux
struct stat结构体示例
prototype,原型structstat{ dev_t st_dev; /*IDofdevicecontainingfile-文件所在设备的ID*/
ino
_t st_
ino
yuesichiu
·
2013-09-21 18:00
解析linux 文件和目录操作的相关函数
structstat{mode_tst_mode;文件类型,文件权限
ino
_tst_
ino
;i节点号dev_tst_dev;dev_tst_rdev;设备文件序号nlink_tst_nlink;链接uid_tst_uid
·
2013-08-15 09:06
关于struct stat
可以获得一个文件的状态信息,而这些信息都放到一个结构体中structstat,其中的成员如下structstat{ mode_t st_mode; //文件对应的模式,文件,目录等
ino
_t
songzhongping
·
2013-08-02 20:00
perl取文件大小 .
0dev设备号驱动器号(C:通常是2,D:通常是3,等等)1
ino
索引节号总是02mode文件的方式无3nlink链接号通常为0;WindowsNT;文件系统允许链接4uid文件所有者的用户ID(UID
B_Dogs881221
·
2013-07-31 13:00
UNIX环境高级编程——文件和目录
*buf); intlstat(constchar*path,structstat*buf);structstat{ dev_tst_dev;/*IDofdevicecontainingfile*/
ino
_tst_
ino
ctthunagchneg
·
2013-07-04 18:00
pwd的实现
#include #include #include #include #include
ino
_tget_inode(char*); voidprintpathto(
ino
_t); voidinum_to_name
buaa_shang
·
2013-06-23 10:00
Hadoop学习二十二:Hadoop-Hdfs INode源码
INode两个子类:INodeDirectory代表文件目录;
INo
zy19982004
·
2013-06-22 09:00
hadoop
struct stat结构体的详解和用法
prototype,原型structstat { dev_t st_dev; /*IDofdevicecontainingfile-文件所在设备的ID*/
ino
_t st_
ino
; /*
amxiaoha
·
2013-06-04 21:19
struct
stat
linux编程学习笔记(九) 获取文件状态与文件映射mmap
intfstat(intfd,structstat*buf); structstat{ dev_t st_dev; /*IDofdevicecontainingfile*/
ino
_t
a8887396
·
2013-06-02 23:00
Linux 文件和目录操作的相关函数 .
1.文件状态数据结构structstat { mode_tst_mode;//文件类型,文件权限
ino
_tst_
ino
;//i节点号 dev_tst_dev; dev_tst_rdev;//
MyArrow
·
2013-05-22 14:00
javascript检测对象中是否存在某个属性判断方法小结
复制代码代码如下:varo={x:1};"x"
ino
;//true,自有属性存在"y"
ino
;//false"toString"
ino
;//true,是一个继承属性2.使用对象的hasOwnProperty
·
2013-05-19 16:44
linux文件系统实现浅析
前些天同事问起linux下
ino
ctthunagchneg
·
2013-05-11 19:00
Linux中link,unlink,close,fclose详解
.*/ unsignedlongst_
ino
;/*Fileserialnumber.*/ unsignedintst_mode;/*Filemode.*/ unsignedintst_
MyArrow
·
2013-05-11 16:00
Linux int lstat(const char *path, struct stat *buf);
buf:是以下结构体的指针structstat{dev_tst_dev;/*文件所在设备的标识*/
ino
_tst_
ino
;/*文件结点号*/mode_tst_mode;/*文件保护模式*/nlink_tst_nl
duola_rain
·
2013-05-03 16:00
stat结构体以及文件状态相关函数
基本的stat结构体的大体组成成员如下: struct stat { mode_t st_mode; //文件类型或文件模式
ino
_t st_
ino
; /
qdlovecsj
·
2013-04-07 21:00
c
Hadoop2013
www.slideshare.net/cloudera/mr-perf)OptimizingMapReducejobperformanceisoftenseenassomethingofablackart.
Ino
cloudeagle_bupt
·
2013-04-01 19:00
linux 目录操作函数
目录结构:structdir{
ino
_td_
ino
;//此目录进入点的
ino
ff_td_off;//目录开头到此目录进入点的位移 signedshortintd_reclen;//d_name
·
2013-03-30 11:00
linux
Linux下如何释放内存
Linux系统的缓存机制是相当先进的,他会针对dentry(用于VFS,加速文件路径名到inode的转换)、BufferCache(针对磁盘块的读写)和PageCache(针对文件
ino
驿落黄昏
·
2013-03-21 16:10
linux
缓存
linux文件系统实现浅析
前些天同事问起linux下
ino
yuanzhangmei1
·
2013-03-15 22:00
sturct stat 结构体中 st_mode 的含义
在中定义的stat结构体内容如下:structstat{ dev_tst_dev;/*IDofdevicecontainingfile*/
ino
_tst_
ino
;/*inodenumber*/ mode_tst_mode
astrotycoon
·
2013-03-15 22:00
Generating Java classes dynamically through Java compiler API
PostedonMarch6,2011byUpendraSomeofthejavacodersaroundtheworldmighthavethoughtofanoptiontobeabletocompileajavasourcefiledynamically.Tomysurprise,almostattheendofJava6(IamexpectingJava7tobeoutsoon…),
Ino
pkuyjxu
·
2013-02-25 12:00
解开 JFFS2 文件系统镜像
mtd-utils里边有mkfs.jffs2和jffs2dump.那个mkfs.jffs2用来把一堆输入文件打成一个JFFS2文件系统的镜像文件,jffs2dump可以显示一个镜像文件里边各个文件的各个
ino
rheostat
·
2013-02-06 09:00
dirent和DIR 结构体 --- 表示文件夹中目录内容信息
struct dirent { #ifndef __USE_FILE_OFFSET64 __
ino
_t d_
ino
; __off_t d_o
ctthunagchneg
·
2013-01-30 09:00
dirent d_type类型
direntd_type类型structdirent{#ifndef__USE_FILE_OFFSET64 __
ino
_td_
ino
; __off_td_off;#else __
ino
64_
buptapple
·
2013-01-28 15:00
linux c 文件操作编程之获取目录信息的结构体dirent
引用头文件#include编辑本段结构体说明structdirent{longd_
ino
;/*inodenumber 索引节点号*/off_td_off;/
yaorongzhen123
·
2013-01-14 09:00
linux 编程--目录相关
一.头文件#include二.结构体structdirent { #ifndef__USE_FILE_OFFSET64 __
ino
_td_
ino
; __off_td_off; #else _
paomadi
·
2013-01-10 21:00
Proc文件系统
cat/proc/meminfo/ 可查看当前内存使用情况内核描述:structproc_dir_entry{ unsignedintlow_
ino
; unsignedshortnamelen;
yuesichiu
·
2012-11-08 09:00
linux c 文件操作
linux C文件操作操作流程文件操作目录操作链接操作 stat索引节点结构体 structstat { dev_tst_dev;
ino
_tst_
ino
; mode_tst_mode; nlink_tst_nlink
kz_ang
·
2012-09-24 16:00
c
linux
struct
proc源码解析(二)--proc数据结构
proc_dir_entry 在proc文件系统中,每个entry的实例是由proc_dir_entry来描述的,其结构如下: structproc_dir_entry{ unsignedintlow_
ino
mcgrady_tracy
·
2012-09-18 11:00
数据结构
linux
struct
Module
File
delete
vfs_stat 函数跟踪
2.6.32vfs_stat函数原型:intvfs_stat(char__user*name,structkstat*stat)structkstat定义位于:include/fs.hstructkstat{ u64
ino
cenziboy
·
2012-09-02 22:00
struct
user
Security
Path
symlink
system IPC
2.key_t类型变量的值由以下3部分(各取部分)拼接而成: ○pathname所指定文件的stat结构的st_dev成员 ○pathname所指定文件的stat结构的st_
ino
成员 ○id
yangzhiloveyou
·
2012-08-25 12:00
perl stat windows 与 UNIX不同
在windowsperl下运行如下程序: substat { my($filename)=@_; my($dev,$
ino
,$mode,$nlink,$uid,$gid,$rdev,$size
liuna915
·
2012-07-28 19:00
windows
unix
File
perl
permissions
filesystems
Users, roles and privileges in Oracle
rolesandprivilegesinOraclePrivilegesAprivilegeisarighttoexecuteanSQLstatementortoaccessanotheruser'sobject.
InO
edwzhang
·
2012-07-04 10:32
ORACLE
linux中link,unlink,close,fclose详解 .
structstat{ dev_t st_dev; /*IDofdevicecontainingfile*/
ino
_t st_
ino
angle0615303
·
2012-06-17 17:00
C语言下,获取文件信息
标准库函数并未提供对应的实现,这个Linux上GCC中struct stat的资料 struct stat { dev_t st_dev; /* device */
ino
_t
qimo601
·
2012-05-08 15:00
C语言
文件大小
Linux中link,unlink,close,fclose详解
structstat{ dev_t st_dev; /*IDofdevicecontainingfile*/
ino
_t st_
ino
CyberRusher
·
2012-04-03 16:00
linux
struct
shell
测试
File
Access
复选框,全选或者全不选
functionselectAll(){varlist=document.getElementById("waveDataListTable").getElementsByTagName("input");for(vari=0;
iNo
txf2004
·
2012-03-26 09:00
复选框
i节点(inode)和文件描述符(file descriptor)的区别和联系
在linux中,内核通过
ino
zdblw
·
2012-03-19 14:00
struct
File
Semaphore
reference
Descriptor
notifications
ln软硬连接的异同之处
*source*target加上参数-s,建立软链接区别:1、软链接可以跨文件系统,比如你要链接一个windows共享文件夹下的某文件至linux里,软链接可以,而硬链接不行,硬的只能在一个分区里2、
ino
xlogin
·
2012-02-14 14:56
windows
source
文件夹
target
源文件
linux inode
===================================理解
ino
fanbird2008
·
2012-02-01 16:00
linux
unix
File
user
table
存储
UBIFS文件系统分析5 - 文件读写
datanode被插入到wanderingtree上,通过
ino
+type+blockno组成的key在
kickxxx
·
2012-01-06 15:00
Linux proc 的文件系统的源码分析
linux的内核版本2.6.18重要的struct:structproc_dir_entry{unsignedintlow_
ino
;unsignedshortnamelen;constchar*name
raintungli
·
2011-11-25 10:00
linux
struct
Module
File
null
delete
Linux proc 的文件系统的源码分析
linux的内核版本 2.6.18 重要的struct: struct proc_dir_entry {unsigned int low_
ino
;unsigned short namelen;const
test_touch
·
2011-11-25 10:00
linux
unix环境高级编程 学习笔记4
[仅作学习笔记,其中可能有误解] 1.文件的属性 stat、fstat、lstat structstat{ mode_tst_mode;//文件类型和权限(如:S_IFEGandS_IRUSR)
ino
_tst_
ino
kangquan2008
·
2011-11-14 19:00
编程
unix
struct
测试
Access
symlink
stat
structstatfinfo;stat(sFileName,&finfo);intsize=finfo.st_size;structstat{mode_tst_mode;//文件对应的模式,文件,目录等
ino
_tst_
ino
nocml
·
2011-11-10 14:00
readdir
dirent的结构体定义如下: structdirent{
ino
_td_no;/*inodenumbe
huangyandong
·
2011-11-07 20:03
职场
readdir
休闲
PNFS中update_layout()情节分析
不知道情景分析的格式怎样写比较容易读,为防止自己忘记,直接把代码贴过来,加注释(当然是自己的理解,可能有错误,欢迎拍砖)intpnfs_update_layout(structinode*
ino
,
zhang_shuai_2011
·
2011-09-26 19:00
server
struct
layout
null
reference
Signal
poj2255Tree Recovery(二叉树的遍历)
已知前中求后,经典模板 #include #include #include #include usingnamespacestd; stringpre,
ino
; intpid; voidpost
bochuan007
·
2011-09-08 03:00
tree
stdstring
linux中的文件有关的结构信息
这个结构体来标示的,每一个文件都对应一个stat结构体:structstat{ dev_tst_dev;/*IDofdevicecontainingfile*/
ino
_tst_
ino
mianjunan
·
2011-08-28 10:00
上一页
4
5
6
7
8
9
10
11
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他