Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Кіріспе
Apple компаниясының жеке файлдық жүйесі, Mac OS X 10.6 нұсқасынан бұрын қолданылған.
Proprietary file system by Apple
the Apple file system used prior to Mac OS X 10.6
Иерархиялық файлдық жүйе (HFS) – Apple Inc. компаниясы Mac OS жүйесінде жұмыс істейтін компьютерлерде пайдалану үшін әзірлеген жеке файлдық жүйе. Алғашқыда дискеталар мен қатты дискілерде қолдануға арналған, сондай-ақ CD-ROM сияқты тек оқуға арналған құралдарда да кездеседі. HFS сонымен қатар Mac OS Standard (немесе HFS Standard) деп те аталады, ал оның ізбасары HFS Plus – Mac OS Extended (немесе HFS Extended) деп аталады. Mac OS X 10.6 нұсқасы енгізілгеннен кейін Apple HFS дискілерін форматтау немесе жазу мүмкіндігін тоқтатты, олар macOS 10.15 нұсқасына дейін тек оқу режимінде қолжетімді болды. macOS 10.15 нұсқасынан бастап HFS дискілерін оқу мүмкін емес.
Hierarchical File System (HFS) is a proprietary file system developed by Apple Inc. for use in computer systems running Mac OS. Originally designed for use on floppy and hard disks, it can also be found on read only media such as CD ROMs. HFS is also referred to as Mac OS Standard (or HFS Standard), while its successor, HFS Plus, is also called Mac OS Extended (or HFS Extended). With the introduction of Mac OS X 10.6, Apple dropped support for formatting or writing HFS disks and images, which remained supported as read only volumes until macOS 10.15. Starting with macOS 10.15, HFS disks can no longer be read.
Тарих
Apple компаниясы HFS-ті 1985 жылдың қыркүйегінде Macintosh үшін алғашқы Apple қатты дискілерін қолдау үшін енгізді, бұл Macintosh файлдық жүйесін (MFS) алмастырды. MFS бастапқы файлдық жүйе болған және Macintosh компьютерімен бір жарым жыл бұрын пайда болған еді. HFS Apple-дің иерархиялық файлдық жүйесі бар алғашқы операциялық жүйесіне, сәтсіз аяқталған Apple III үшін жасалған SOS-қа көп сүйенді. Бұл жүйе сондай-ақ Apple IIe және Apple Lisa-дағы иерархиялық файлдық жүйелерінің негізі болды. HFS-ті Патрик Диркс және Билл Бруффи жасады. Ол MFS-пен бірқатар дизайндық ерекшеліктерді бөлісті, олар сол кездегі басқа файлдық жүйелерде (мысалы, DOS-тың FAT жүйесі) болмады. Файлдарда бірнеше «бұршақ» болуы мүмкін (әдетте дерек және ресурс бұршағы), бұл файлдың негізгі деректерін, локализациялау қажет болуы мүмкін иконалар сияқты ресурстардан бөлек сақтауға мүмкіндік берді. Файлдар файл атауларының орнына бірегей файл ID-мен анықталды, ал файл атаулары 31 таңбаға дейін болуы мүмкін еді. Дегенмен, MFS өте кішкентай және баяу құрылғыларда, атап айтқанда дискеталарда пайдалану үшін оңтайландырылған, сондықтан HFS үлкен құрылғылардың, әсіресе қатты дискілердің пайда болуымен туындаған өнімділік мәселелерін шешу үшін енгізілді. Басты мәселе - папканың мазмұнын көрсетуге қажетті уақыт еді. MFS жүйесінде барлық файлдар мен каталогтар туралы ақпарат бір файлда сақталды, оны жүйе белгілі бір папкадағы файлдардың тізімін құру үшін іздеуге мәжбүр болды. Бұл бірнеше жүз килобайт сақтау және шамамен жүз файл бар жүйеде жақсы жұмыс істеді, бірақ жүйе мегабайтқа және мыңдаған файлға жеткенде өнімділік тез төмендеді. Шешім - MFS каталог құрылымын үлкен файлдық жүйелерге қолайлырақ құрылыммен алмастыру болды. HFS жазық кесте құрылымын B-ағаш құрылымын пайдаланатын Каталог файлымен алмастырды, оны өлшеміне қарамастан өте жылдам іздеуге болады. HFS сондай-ақ әртүрлі құрылымдарды үлкен сандарды сақтауға мүмкіндік беретіндей етіп қайта жобалады, 16 биттік бүтін сандар көбінесе 32 биттік сандармен алмастырылды. Қызығы, бұл «өлшейтпе» файлдар каталогында болған жоқ, бұл HFS-ті әр логикалық дискіде 65 535 файлмен шектейді. HFS - бұл меншік файлдық жүйе форматы, ол жақсы құжатталған; әдетте HFS форматталған дискілерге қазіргі көптеген операциялық жүйелерден қол жеткізуге болады. Apple компаниясы HFS-ті 1985 жылдың қыркүйегінде Macintosh үшін алғашқы 20 МБ қатты дискіні ұсынған кезде қажеттілік тудырды, онда ол «Hard Disk 20» патч-файлын пайдалана отырып, жүктеу кезінде MFS дискетасынан RAM-ге жүктелді. Алайда, HFS 1986 жылдың қаңтар айында Macintosh Plus-пен бірге пайда болған 128К ROM-ға енгізілгенге дейін кеңінен танымал болған жоқ. Macintosh үшін 800 КБ дискеталық дискінің ішінде де HFS қолданылды. HFS-тің енгізілуі Apple компаниясының Macintosh компьютерінің моделін артта қалдырған алғашқы жетістігі болды: HFS кодын жүктеуге жеткілікті жады болмаған және дереу тоқтатылған бастапқы 128К Macintosh. 1998 жылы Apple HFS Plus-ті HFS-тегі дискілік кеңістікті тиімсіз бөлуді шешу және басқа да жақсартуларды енгізу үшін ұсынды. HFS Plus әлі де Mac OS-тің қазіргі нұсқаларында қолдау көрсетіледі, бірақ Mac OS X-тен бастап HFS томын жүктеу үшін пайдалануға болмайды, ал Mac OS X 10.6 (Snow Leopard) нұсқасынан бастап HFS томдары тек оқу режимінде жұмыс істейді және оларды құруға немесе жаңартуға болмайды. MacOS Sierra (10.12) нұсқасында Apple компаниясының шығарылым жазбаларында «HFS Standard файлдық жүйесі енді қолдау көрсетілмейді» делінген. Алайда, тек HFS Standard-ті оқу мүмкіндігі macOS 10.15 шығарылымына дейін сақталды, бұл классикалық HFS Standard үшін 35 жылдық ресми қолдаудың аяқталуын білдірді.
Apple introduced HFS in September 1985, specifically to support Apple's first hard disk drive for the Macintosh, replacing the Macintosh File System (MFS), the original file system which had been introduced over a year and a half earlier with the first Macintosh computer. HFS drew heavily upon Apple's first operating system with a hierarchical file system, SOS for the failed Apple III, which also served as the basis for hierarchical file systems on the Apple IIe and Apple Lisa. HFS was developed by Patrick Dirks and Bill Bruffey. It shared a number of design features with MFS that were not available in other file systems of the time (such as DOS's FAT). Files could have multiple forks (normally a data and a resource fork), which allowed the main data of the file to be stored separately from resources such as icons that might need to be localized. Files were referenced with unique file IDs rather than file names, and file names could be up to 31 characters long. However, MFS had been optimized to be used on very small and slow media, namely floppy disks, so HFS was introduced to overcome some of the performance problems that arrived with the introduction of larger media, notably hard drives. The main concern was the time needed to display the contents of a folder. Under MFS all of the file and directory listing information was stored in a single file, which the system had to search to build a list of the files stored in a particular folder. This worked well with a system with a few hundred kilobytes of storage and perhaps a hundred files, but as the systems grew into megabytes and thousands of files, the performance degraded rapidly. The solution was to replace MFS's directory structure with one more suitable to larger file systems. HFS replaced the flat table structure with the Catalog File which uses a B tree structure that could be searched very quickly regardless of size. HFS also redesigned various structures to be able to hold larger numbers, 16 bit integers being replaced by 32 bit almost universally. Oddly, one of the few places this "upsizing" did not take place was the file directory itself, which limits HFS to a total of 65,535 files on each logical disk. While HFS is a proprietary file system format, it is well documented; there are usually solutions available to access HFS formatted disks from most modern operating systems. Apple introduced HFS out of necessity with its first 20 MB hard disk offering for the Macintosh in September 1985, where it was loaded into RAM from a MFS floppy disk on boot using a patch file ("Hard Disk 20"). However, HFS was not widely introduced until it was included in the 128K ROM that debuted with the Macintosh Plus in January 1986 along with the larger 800 KB floppy disk drive for the Macintosh that also used HFS. The introduction of HFS was the first advancement by Apple to leave a Macintosh computer model behind: the original 128K Macintosh, which lacked sufficient memory to load the HFS code and was promptly discontinued. In 1998, Apple introduced HFS Plus to address inefficient allocation of disk space in HFS and to add other improvements. HFS Plus is still supported by current versions of Mac OS, but starting with Mac OS X, an HFS volume cannot be used for booting, and beginning with Mac OS X 10.6 (Snow Leopard), HFS volumes are read only and cannot be created or updated. In macOS Sierra (10.12), Apple's release notes state that "The HFS Standard filesystem is no longer supported." However, read only HFS Standard support continued to work until the release of macOS 10.15, ending official support for classic HFS Standard after 35 years.