LinuxÀïcylinderÊÇʲô
linuxÀïcylinderÊÇÖ¸Ó²ÅÌÇý¶¯Æ÷µÄÎïÀí´æ´¢½á¹¹ÖеÄÒ»¸ö¿´·¨£¬ËüÊÇÓÉÒ»¸ö»ò¶à¸ö´ÅµÀ×é³ÉµÄÔ²ÖùÐÎÇøÓò£¬Ã¿¸ö´ÅµÀ°üÀ¨¶à¸öÉÈÇø£¬cylinderµÄÖ÷Òª×÷ÓÃÊÇÔÚÓ²ÅÌÇý¶¯Æ÷µÄÑ°Ö·ºÍ»á¼ûÀú³ÌÖÐÌṩһ¸öÂß¼½á¹¹¡£
±¾½Ì³Ì²Ù×÷ϵͳ£ºLinux5.18.14ϵͳ¡¢Dell G3µçÄÔ¡£
ÔÚLinuxÖУ¬cylinder£¨ÖùÃ棩ÊÇÖ¸Ó²ÅÌÇý¶¯Æ÷µÄÎïÀí´æ´¢½á¹¹ÖеÄÒ»¸ö¿´·¨¡£ËüÊÇÓÉÒ»¸ö»ò¶à¸ö´ÅµÀ£¨tracks£©×é³ÉµÄÔ²ÖùÐÎÇøÓò£¬Ã¿¸ö´ÅµÀ°üÀ¨¶à¸öÉÈÇø£¨sectors£©¡£
ÔÚÔçÆÚµÄÓ²ÅÌÇý¶¯Æ÷ÖУ¬Êý¾Ý´æ´¢ÊÇÔÚÅÌƬÍâòµÄ´ÅÐÔÍ¿²ãÉϾÙÐеġ£ÎªÁË×éÖ¯ºÍÖÎÀíÊý¾Ý£¬ÎïÀíÓ²Å̱»»®·ÖΪ¶à¸öͬÐÄÔ²µÄ¹ìµÀ£¬Ã¿¸ö¹ìµÀ½øÒ»²½±»»®·ÖΪ¶à¸öÉÈÇø¡£
¶øÖùÃæÔòÊÇÓÉλÓÚÏàͬ´ÅÍ·£¨head£©Î»ÖõÄÿ¸ö´ÅÅÌÍâòÉϵĴŵÀ×é³É¡£Ò²¾ÍÊÇ˵£¬Î»ÓÚÏàͬ´ÅͷλÖõĸ÷¸ö´ÅµÀ¿ÉÒÔ×é³ÉÒ»¸öÖùÃæ¡£»»¾ä»°Ëµ£¬ÖùÃæÊDZÊÖ±ÓÚ´ÅÅÌÍâòµÄÐéÄâÔ²ÖùÌå¡£
cylinder µÄÖ÷Òª×÷ÓÃÊÇÔÚÓ²ÅÌÇý¶¯Æ÷µÄÑ°Ö·ºÍ»á¼ûÀú³ÌÖÐÌṩһ¸öÂß¼½á¹¹¡£Í¨¹ýʹÓÃÖùÃæºÅ¡¢´ÅÍ·ºÅºÍÉÈÇøºÅÕâÑùµÄ²ÎÊý£¬²Ù×÷ϵͳ¿ÉÒÔ׼ȷµØ¶¨Î»´ÅÅÌÉϵÄÊý¾Ý²¢¾ÙÐжÁÈ¡»òдÈë²Ù×÷¡£
È»¶ø£¬ÐèҪעÖصÄÊÇ£¬Ëæ×ÅÊÖÒÕµÄÉú³¤£¬ÏÖ´úÓ²ÅÌÇý¶¯Æ÷ʹÓÃÁ˸üÖØ´óµÄÑ°Ö·¼Æ»®£¬ÀýÈçÂß¼¿éµØµã£¨Logical Block Addressing£¬LBA£©£¬Ëüƾ֤Âß¼¿éºÅÀ´»á¼ûÊý¾Ý£¬¶ø²»ÔÙÖ±½ÓʹÓÃÖùÃæ¡¢´ÅÍ·ºÍÉÈÇøµÈÎïÀí²ÎÊý¡£
Òò´Ë£¬ÔÚÏÖ´úLinuxϵͳÖУ¬cylinder µÄ¿´·¨ÒѾ²»ÏñÒÑÍùÄÇÑù³£ÓûòÖ±½ÓÌåÏÖÔÚ¶ÔÓ²Å̾ÙÐвÙ×÷µÄ²ãÃæÉÏ¡£²»¹ý£¬ÔÚijЩ³õ¼¶±ðµÄ´ÅÅÌÖÎÀí¹¤¾ß»òÓ²ÅÌÏà¹ØµÄÎĵµÖУ¬ÈÔÈ»¿ÉÄÜ»áÌáµ½ cylinder Õâ¸ö¿´·¨¡£
ÒÔÉϾÍÊÇLinuxÀïcylinderÊÇʲôµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡