文件系统-vfs-sys-proc-ext
google_lover
这个作者很懒,什么都没留下…
展开
-
proc , sys , nfs 文件系统
1.注册和挂载procstart_kernel(init/main.c)-> proc_root_init(fs/proc/root.c)此函数注册了proc文件系统,同时也进行了挂载(但是为什么在有些系统还在启动的时候使用命令"mount -t proc proc /proc" 来手动挂载呢?待解决) proc_init_inodecache(); err = register_filesystem(&proc_fs_type); if (err) return; mnt = kern原创 2015-04-06 19:00:04 · 1041 阅读 · 0 评论 -
tcp/ip 协议栈实现2-socket文件系统
tcp/ip 协议栈实现 2-socket原创 2015-04-05 08:57:59 · 1022 阅读 · 0 评论 -
ramdisk 和 ramfs 文件系统 (initrd 和 initramfs )
ramdisk和ramfs 文件系统原创 2015-04-06 19:05:21 · 1550 阅读 · 0 评论 -
ext2 , jiffs文件系统
ext3 文件系统原创 2015-04-06 19:00:36 · 2622 阅读 · 0 评论 -
文件系统-文件和目录在硬盘上的存储方式
refer to http://blog.csdn.net/engerled/article/details/6234045文件系统指文件存在的物理空间,linux系统中每个分区都是一个文件系统,都有自己的目录层次结构。linux会将这些分属不同分区的、单独的文件系统按一定原创 2011-08-19 11:47:56 · 7985 阅读 · 0 评论 -
nand ubi -2 ubi管理下的SLC nand
一 ubi管理下的SLC nandrefer tohttp://www.linux-mtd.infradead.org/doc/ubi.htmlhttp://www.360doc.com/content/12/0305/19/1317564_192019619.shtml1对于K9K8G08U0A (1GB SLC),2.假如对tiny6410的SLC 1G核心原创 2012-12-06 23:09:17 · 1763 阅读 · 0 评论 -
nand ubi -1 nand基础
micro2440有一个配置是三星K9F2G08U0B--256MB SLCtiny6410有一个配置是三星K9F2G086U0B--256MB SLC,有一个配置是三星K9K8G08U0B--1GB SLC,有一个配置是三星K9GAG08U0E--2GB MLC1.关于nand的ecc,refer to http://www.amobbs.com/thread-5051907原创 2012-12-08 09:51:24 · 2827 阅读 · 0 评论 -
nand ubi -4 kernel和mtd
tiny6410 linux2.6.381.nand驱动nand是作为平台设备,在板子文件mach-mini6410.c调用,系统启动时自动加载进内核static struct platform_device *mini6410_devices[] __initdata = {...&s3c_device_nand,...}static void __init mini6原创 2012-12-16 21:27:14 · 1420 阅读 · 0 评论 -
nand ubi - 5 kernel和ubi
ubi文件系统分析http://download.csdn.net/detail/songqqnew/4919666drivers/mtd/ubi/build.cmtd_devs是ubi卷和mtd分区绑定的数目。mtd_devs初始值=0,每执行一次ubi_mtd_param_parse,mtd_devs+1ubi_mtd_param_parse在内核初期初始化执行pars原创 2012-12-21 19:27:39 · 2871 阅读 · 0 评论 -
reboot从busybox到kernel
busyboxupdatingkernelimx6 linux-3.0.35busybox中reboot命令最终会调用kernel的的如下函数:SYSCALL_DEFINE4(reboot, int, magic1, int, magic2, unsigned int, cmd, void __user *, arg) ----kernel/sys.ckerne原创 2015-01-03 20:06:10 · 1229 阅读 · 0 评论 -
register_chrdev,register_chrdev_region,alloc_chrdev_region---udev class bus driver device
3.4.2. The Older WayIf you dig through much driver code in the 2.6 kernel, you may notice that quite a few char drivers donot use the cdev interface that we have just described. What you are seein原创 2011-09-09 18:28:39 · 5959 阅读 · 0 评论 -
vfs 文件系统
linux下面一切皆文件,可见文件非常重要。而vfs又是linux文件系统的基石。得益于vfs这一层,使得linux易于安装各种实际的文件系统。windows没有vfs就不容易支持各种文件系统。vfs这么重要,早点研究早受益。原创 2015-04-06 18:57:09 · 1213 阅读 · 0 评论