LinuxÎļþϵͳ֮Îļþ¡¢·ÖÇø´óСÏÞÖÆ
LinuxÎļþϵͳ֮Îļþ¡¢·ÖÇø´óСÏÞÖÆ
ÒÔÏÂΪºìñext3ÎļþϵͳËùÖ§³ÖµÄmax file sizeºÍmax filesystem size£º
¶ÔÎļþϵͳ
µÄÏÞÖÆÈçÏ£º
ext3 Îļþϵͳ£¬ºìñÆóÒµ°æ Linux 3 µÄÎļþϵͳ×î´óÊÇ 2TB£¨ÒÑÑéÖ¤£©£¬ºìñÆóÒµ°æ Linux 4 ºÍ 5 Ìá¸ßµ½ÁË
8TB£¨ÒÑÑéÖ¤£©£¬ºìñÆóÒµ°æ Linux 5 Ö§³ÖÎļþϵͳµÄÀíÂÛÖµÊÇ 16TB¡£
GFSÎļþϵͳ£¬ºìñÆóÒµ°æ Linux 3 µÄÎļþϵͳ×î´óÊÇ 2TB£¬ºìñÆóÒµ°æ Linux 4 ºÍ 5 Ìá¸ßµ½ÁË
16TB£¨ÒÑÑéÖ¤£©£¬ºìñÆóÒµ°æ Linux 4 ºÍ 5 Ö§³ÖÎļþϵͳµÄÀíÂÛÖµÊÇ 8EB¡£
¾ßÌåµÄ×î´óÖ§³ÖÎļþ´óСºÍÎļþϵͳ´óСÓÉblock size¾ö¶¨£º
¸÷ÖÖÎļþϵͳµÄÏÞÖÆ£º
NTFS£¨Windows£©£ºÖ§³Ö×î´ó·ÖÇø2TB£¬×î´óÎļþ2TB
FAT16£¨Windows£©£ºÖ§³Ö×î´ó·ÖÇø2GB£¬×î´óÎļþ2GB
FAT32£¨Windows£©£ºÖ§³Ö×î´ó·ÖÇø128GB(Èç¹ûʹÓôÅÅ̹ÜÀí½øÐзÖÇø£¬×î´óΪ
32GB)£¬×î´óÎļþ4GB
Ext2
×î´óÎļþ´óС: 1TB
×î´óÎļþ¼«ÏÞ: ½öÊÜÎļþϵͳ´óСÏÞÖÆ
×î´ó·ÖÇø/Îļþϵͳ´óС: 4TB
×î´óÎļþÃû³¤¶È: 255 ×Ö·û
ȱʡ×îС/×î´ó¿é´óС: 1024/4096 ×Ö½Ú
ȱʡinode·ÖÅä: ÿ4096×Ö½ÚΪ1
ÔÚÇ¿ÖÆFS¼ì²éÇ°µÄ×î´ó×°ÔØ: 20(¿ÉÅäÖÃ)
Ext3
×î´óÎļþ´óС: 2TB
×î´óÎļþ¼«ÏÞ: ½öÊÜÎļþϵͳ´óСÏÞÖÆ
×î´ó·ÖÇø/Îļþϵͳ´óС: 4TB
×î´óÎļþÃû³¤¶È: 255 ×Ö·û
ȱʡ×îС/×î´ó¿é´óС: 1024/4096 ×Ö½Ú
ȱʡinode·ÖÅä: ÿ4096×Ö½ÚΪ1
ÔÚÇ¿ÖÆFS¼ì²éÇ°µÄ×î´ó×°ÔØ: 20(¿ÉÅäÖÃ)
ReiserFS
×î´óÎļþ´óС: 1TB
×î´óÎļþ¼«ÏÞ: 32kĿ¼,42ÒÚÎļþ
×î´ó·ÖÇø/Îļþϵͳ´óС: 4TB
×î´óÎļþÃû³¤¶È: 255 ×Ö·û
JFS
×îСÎļþϵͳ´óС 16 MB
×î´óÎļþ´óС: ÊÜÌåϵ½á¹¹ÏÞÖÆ
×î´óÎļþ¼«ÏÞ: ÊÜÎļþϵͳ´óСÏÞÖÆ
ȱʡ×îС/×î´ó¿é´óС: 1024/4096 ×Ö½Ú
ȱʡinode·ÖÅä: ¶¯Ì¬
²Î¿¼Îĵµ£º
Red Hat Enterprize Linux Server
Version comparison£º
http://www.redhat.com/rhel/compare/
Ext3 Filesystem£º
http://en.wikipedia.org/wiki/Ext3
תÔØ×Ô£ºhttp://blog.chinaunix.net/u2/61187/showart_1889793.html
Ïà¹ØÎĵµ£º
#include <unistd.h>
int daemon(int nochdir,int noclose)
ÔÚ´´½¨¾«Áé½ø³ÌµÄʱºò,ÍùÍùÐèÒª½«¾«Áé½ø³ÌµÄ¹¤×÷Ŀ¼ÐÞ¸ÄΪ"/"¸ùĿ¼
²¢ÇÒ½«±ê×¼ÊäÈë,Êä³öºÍ´íÎóÊä³öÖض¨Ïòµ½/dev/null
daemonµÄ×÷ÓþÍÊǵ±²ÎÊýnochdirΪ0ʱ,½«¸ùĿ¼ÐÞ¸ÄΪ¹¤×÷Ŀ¼
nocloseΪ0ʱ,×öÊäÈë,Êä³öÒÔ¼°´íÎóÊä³öÖض¨Ïòµ½/dev/null
Ö´ ......
Linuxϵͳµ÷ÓÃ-- unlinkº¯ÊýÏê½â
¹¦ÄÜÃèÊö£º
´ÓÎļþϵͳÖÐɾ³ýÒ»¸öÃû³Æ¡£Èç¹ûÃû³ÆÊÇÎļþµÄ×îºóÒ»¸öÁ¬½Ó£¬²¢ÇÒûÓÐÆäËü½ø³Ì½«Îļþ´ò¿ª£¬Ãû³Æ¶ÔÓ¦µÄÎļþ»áʵ¼Ê±»É¾³ý¡£
Ó÷¨£º
#include
int unlink(const char *pathname);
²ÎÊý£º
pathname£ºÖ¸ÏòÐè½â³ýÁ¬½ÓµÄÎļþÃû¡£
·µ»Ø˵Ã÷£º
³É¹¦Ö´ÐÐʱ£¬·µ»Ø0¡£Ê§°Ü· ......
LinuxÎļþϵͳÉè¼ÆÁËÈýÀàµÄCacheÒÔÓÃÀ´Ö§³Ö¶àÀàÐ͵ÄÎļþϵͳ¡£
Ò»¡¢ VFSË÷Òý½Úµã»º´æ Inode Cache
VFSË÷Òý½ÚµãÊÇÒ»¸öHash±í£¬Ëü²»¶ÏµØ¶ÁÈ¡¡£VFSÌṩµÄË÷Òý½Úµã»º´æ¿ÉÒÔ¼Ó¿ì¶ÔÎļþϵͳµÄ´æÈ¡¡£Ã¿´Î´ÓË÷Òý½Úµã»º´æÖжÁÈ¡Ò»¸öVFSË÷Òý½Úµã£¬ÕâÑùϵͳ¾Í¿ÉÒÔ½ÚÊ¡¶ÁÈ¡ÎïÀíÉ豸µÄ´æÈ¡Ê ......
¶ÔÓÚ²»Í¬µÄLinuxÄں˰汾£¬´ËÁбí¿ÉÄܲ»Í¬£¬»ùÓÚºóÏò¼æÈÝÐÔ£¬Ëæ×ÅLinuxÄں˰汾ºÅµÄÔö¼Ó£¬´ËÁбí¿ÉÄÜ»á±ä³¤¡£´ËÁбíΪ2.6.24-16Äں˰汾ÓÚ/usr/include/asm/unistd_32.hÖÐÁгöµÄ324¸öϵͳµ÷Óúš£
#define __NR_restart_syscall 0
#define __NR_exit 1
#define __NR_fork 2
#define __NR_read 3
#define ......
Description of the "runinfo" format
-----------------------------------
Purpose of the "runinfo" files
------------------------------
"runinfo" files found in the source tree allow the "rtai-load" script
(see rtai-core/scripts/rtai-load) to retrieve the information it needs
to execute a RTAI ......