免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1089 | 回复: 0
打印 上一主题 下一主题

基础知识 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-17 16:39 |只看该作者 |倒序浏览

                                                                做了这么多年unix相关的东西,竟然没搞明白下面这些东西,至少与以前的理解是不一样的:
/sbin  The single-user bin directory contains essential commands used in the booting process. These commands are available when /usr/bin is not mounted. It contains many system administration commands and utilities.
/usr   The mount point for the /usr file system. The name "usr" is an acronym for Unix System Resources.
In-Memory System Directories(在Solaris上)
/dev/fdA directory containing special files relating to current file descriptors in use by the system./devicesThe primary directory for physical device names./etc/mnttabA memory-based file, in its own file system, which contains details of currently mounted file systems./etc/svc/volatileA directory that contains log files and reference files relating to the current state of system services./procThis directory stores current process-related information. Every process has its own subdirectory in /proc./system/contractA
file system used for creating, controlling, and observing contracts,
which are relationships between processes and system resources. These
process contracts are used by the Service Management Facility (SMF) to
track the processes that compose a service. /system/objectThis directory, used primarily for DTrace activity, describes the state of all modules currently loaded by the kernel./tmpA memory-resident directory for temporary files. Be careful storing files in /tmp; this directory is cleared during the boot sequence./var/runThis directory contains lock files, special files, and reference files for a variety of system processes and services.
A hard link cannot span file systems; it can only point to another file located within its file system.
An advantage of a symbolic link over a hard link is that you can create
a symbolic link to a file that does not yet exist. You cannot create a
hard link unless the source file already exists.
Another advantage of symbolic links over hard links is that a symbolic
link can link directories or files, whereas a hard link can link only
files.
Never run the fsck
command on a mounted file system. This could leave the file system in
an unstable state and could result in the loss of data. Because the / (root), /usr, and /var file systems cannot be unmounted, these file systems should only have fsck run on them while in single-user mode.
Reboot the system immediately after running the fsck on these mounted file systems.
目录lost+found的作用:文件系统发生损坏,需要用fsck(1M)进行检查时,fsck会把损坏的文件放到这个目录中。
               
               
               
               
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/24393/showart_233616.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP