€•ÅdŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ%/translations/zh_CN/filesystems/ubifs”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/zh_TW/filesystems/ubifs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/it_IT/filesystems/ubifs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/ja_JP/filesystems/ubifs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/ko_KR/filesystems/ubifs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/pt_BR/filesystems/ubifs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/sp_SP/filesystems/ubifs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³Œ?/var/lib/git/docbuild/linux/Documentation/filesystems/ubifs.rst”h´KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒUBI File System”h]”hŒUBI File System”…””}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Introduction”h]”hŒ Introduction”…””}”(hhàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÝh²hh³hÇh´KubhŒ paragraph”“”)”}”(hXÅUBIFS file-system stands for UBI File System. UBI stands for "Unsorted Block Images". UBIFS is a flash file system, which means it is designed to work with flash devices. It is important to understand, that UBIFS is completely different to any traditional file-system in Linux, like Ext2, XFS, JFS, etc. UBIFS represents a separate class of file-systems which work with MTD devices, not block devices. The other Linux file-system of this class is JFFS2.”h]”hXÉUBIFS file-system stands for UBI File System. UBI stands for “Unsorted Block Imagesâ€. UBIFS is a flash file system, which means it is designed to work with flash devices. It is important to understand, that UBIFS is completely different to any traditional file-system in Linux, like Ext2, XFS, JFS, etc. UBIFS represents a separate class of file-systems which work with MTD devices, not block devices. The other Linux file-system of this class is JFFS2.”…””}”(hhðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K hhÝh²hubhï)”}”(hŒSTo make it more clear, here is a small comparison of MTD devices and block devices.”h]”hŒSTo make it more clear, here is a small comparison of MTD devices and block devices.”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhhÝh²hubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒ¯1 MTD devices represent flash devices and they consist of eraseblocks of rather large size, typically about 128KiB. Block devices consist of small blocks, typically 512 bytes.”h]”(hŒterm”“”)”}”(hŒH1 MTD devices represent flash devices and they consist of eraseblocks of”h]”hŒH1 MTD devices represent flash devices and they consist of eraseblocks of”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´KhjubhŒ definition”“”)”}”(hhh]”hï)”}”(hŒfrather large size, typically about 128KiB. Block devices consist of small blocks, typically 512 bytes.”h]”hŒfrather large size, typically about 128KiB. Block devices consist of small blocks, typically 512 bytes.”…””}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khj)ubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Khjubj)”}”(hŒõ2 MTD devices support 3 main operations - read from some offset within an eraseblock, write to some offset within an eraseblock, and erase a whole eraseblock. Block devices support 2 main operations - read a whole block and write a whole block.”h]”(j)”}”(hŒI2 MTD devices support 3 main operations - read from some offset within an”h]”hŒI2 MTD devices support 3 main operations - read from some offset within an”…””}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´KhjFubj()”}”(hhh]”hï)”}”(hŒ«eraseblock, write to some offset within an eraseblock, and erase a whole eraseblock. Block devices support 2 main operations - read a whole block and write a whole block.”h]”hŒ«eraseblock, write to some offset within an eraseblock, and erase a whole eraseblock. Block devices support 2 main operations - read a whole block and write a whole block.”…””}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhjXubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hjFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Khjh²hubj)”}”(hŒ{3 The whole eraseblock has to be erased before it becomes possible to re-write its contents. Blocks may be just re-written.”h]”(j)”}”(hŒE3 The whole eraseblock has to be erased before it becomes possible to”h]”hŒE3 The whole eraseblock has to be erased before it becomes possible to”…””}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Khjuubj()”}”(hhh]”hï)”}”(hŒ5re-write its contents. Blocks may be just re-written.”h]”hŒ5re-write its contents. Blocks may be just re-written.”…””}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khj‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hjuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Khjh²hubj)”}”(hŒ¼4 Eraseblocks become worn out after some number of erase cycles - typically 100K-1G for SLC NAND and NOR flashes, and 1K-10K for MLC NAND flashes. Blocks do not have the wear-out property.”h]”(j)”}”(hŒA4 Eraseblocks become worn out after some number of erase cycles -”h]”hŒA4 Eraseblocks become worn out after some number of erase cycles -”…””}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Khj¤ubj()”}”(hhh]”hï)”}”(hŒztypically 100K-1G for SLC NAND and NOR flashes, and 1K-10K for MLC NAND flashes. Blocks do not have the wear-out property.”h]”hŒztypically 100K-1G for SLC NAND and NOR flashes, and 1K-10K for MLC NAND flashes. Blocks do not have the wear-out property.”…””}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hj¤ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Khjh²hubj)”}”(hŒã5 Eraseblocks may become bad (only on NAND flashes) and software should deal with this. Blocks on hard drives typically do not become bad, because hardware has mechanisms to substitute bad blocks, at least in modern LBA disks. ”h]”(j)”}”(hŒG5 Eraseblocks may become bad (only on NAND flashes) and software should”h]”hŒG5 Eraseblocks may become bad (only on NAND flashes) and software should”…””}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´K$hjÓubj()”}”(hhh]”hï)”}”(hŒšdeal with this. Blocks on hard drives typically do not become bad, because hardware has mechanisms to substitute bad blocks, at least in modern LBA disks.”h]”hŒšdeal with this. Blocks on hard drives typically do not become bad, because hardware has mechanisms to substitute bad blocks, at least in modern LBA disks.”…””}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K"hjåubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hjÓubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´K$hjh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hhÝh²hh³hÇh´Nubhï)”}”(hŒSIt should be quite obvious why UBIFS is very different to traditional file-systems.”h]”hŒSIt should be quite obvious why UBIFS is very different to traditional file-systems.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K&hhÝh²hubhï)”}”(hXõUBIFS works on top of UBI. UBI is a separate software layer which may be found in drivers/mtd/ubi. UBI is basically a volume management and wear-leveling layer. It provides so called UBI volumes which is a higher level abstraction than a MTD device. The programming model of UBI devices is very similar to MTD devices - they still consist of large eraseblocks, they have read/write/erase operations, but UBI devices are devoid of limitations like wear and bad blocks (items 4 and 5 in the above list).”h]”hXõUBIFS works on top of UBI. UBI is a separate software layer which may be found in drivers/mtd/ubi. UBI is basically a volume management and wear-leveling layer. It provides so called UBI volumes which is a higher level abstraction than a MTD device. The programming model of UBI devices is very similar to MTD devices - they still consist of large eraseblocks, they have read/write/erase operations, but UBI devices are devoid of limitations like wear and bad blocks (items 4 and 5 in the above list).”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K)hhÝh²hubhï)”}”(hŒ˜In a sense, UBIFS is a next generation of JFFS2 file-system, but it is very different and incompatible to JFFS2. The following are the main differences.”h]”hŒ˜In a sense, UBIFS is a next generation of JFFS2 file-system, but it is very different and incompatible to JFFS2. The following are the main differences.”…””}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K1hhÝh²hubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒXJFFS2 works on top of MTD devices, UBIFS depends on UBI and works on top of UBI volumes.”h]”hï)”}”(hŒXJFFS2 works on top of MTD devices, UBIFS depends on UBI and works on top of UBI volumes.”h]”hŒXJFFS2 works on top of MTD devices, UBIFS depends on UBI and works on top of UBI volumes.”…””}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K5hj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1j7hj4h²hh³hÇh´Nubj8)”}”(hŒöJFFS2 does not have on-media index and has to build it while mounting, which requires full media scan. UBIFS maintains the FS indexing information on the flash media and does not require full media scan, so it mounts many times faster than JFFS2.”h]”hï)”}”(hŒöJFFS2 does not have on-media index and has to build it while mounting, which requires full media scan. UBIFS maintains the FS indexing information on the flash media and does not require full media scan, so it mounts many times faster than JFFS2.”h]”hŒöJFFS2 does not have on-media index and has to build it while mounting, which requires full media scan. UBIFS maintains the FS indexing information on the flash media and does not require full media scan, so it mounts many times faster than JFFS2.”…””}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K7hjQubah}”(h]”h ]”h"]”h$]”h&]”uh1j7hj4h²hh³hÇh´Nubj8)”}”(hŒpJFFS2 is a write-through file-system, while UBIFS supports write-back, which makes UBIFS much faster on writes. ”h]”hï)”}”(hŒoJFFS2 is a write-through file-system, while UBIFS supports write-back, which makes UBIFS much faster on writes.”h]”hŒoJFFS2 is a write-through file-system, while UBIFS supports write-back, which makes UBIFS much faster on writes.”…””}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K;hjiubah}”(h]”h ]”h"]”h$]”h&]”uh1j7hj4h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1j2h³hÇh´K5hhÝh²hubhï)”}”(hŒzSimilarly to JFFS2, UBIFS supports on-the-fly compression which makes it possible to fit quite a lot of data to the flash.”h]”hŒzSimilarly to JFFS2, UBIFS supports on-the-fly compression which makes it possible to fit quite a lot of data to the flash.”…””}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K>hhÝh²hubhï)”}”(hŒíSimilarly to JFFS2, UBIFS is tolerant of unclean reboots and power-cuts. It does not need stuff like fsck.ext2. UBIFS automatically replays its journal and recovers from crashes, ensuring that the on-flash data structures are consistent.”h]”hŒíSimilarly to JFFS2, UBIFS is tolerant of unclean reboots and power-cuts. It does not need stuff like fsck.ext2. UBIFS automatically replays its journal and recovers from crashes, ensuring that the on-flash data structures are consistent.”…””}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KAhhÝh²hubhï)”}”(hX™UBIFS scales logarithmically (most of the data structures it uses are trees), so the mount time and memory consumption do not linearly depend on the flash size, like in case of JFFS2. This is because UBIFS maintains the FS index on the flash media. However, UBIFS depends on UBI, which scales linearly. So overall UBI/UBIFS stack scales linearly. Nevertheless, UBI/UBIFS scales considerably better than JFFS2.”h]”hX™UBIFS scales logarithmically (most of the data structures it uses are trees), so the mount time and memory consumption do not linearly depend on the flash size, like in case of JFFS2. This is because UBIFS maintains the FS index on the flash media. However, UBIFS depends on UBI, which scales linearly. So overall UBI/UBIFS stack scales linearly. Nevertheless, UBI/UBIFS scales considerably better than JFFS2.”…””}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KFhhÝh²hubhï)”}”(hŒòThe authors of UBIFS believe, that it is possible to develop UBI2 which would scale logarithmically as well. UBI2 would support the same API as UBI, but it would be binary incompatible to UBI. So UBIFS would not need to be changed to use UBI2”h]”hŒòThe authors of UBIFS believe, that it is possible to develop UBI2 which would scale logarithmically as well. UBI2 would support the same API as UBI, but it would be binary incompatible to UBI. So UBIFS would not need to be changed to use UBI2”…””}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KMhhÝh²hubeh}”(h]”Œ introduction”ah ]”h"]”Œ introduction”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Mount options”h]”hŒ Mount options”…””}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÉh²hh³hÇh´KTubhï)”}”(hŒ(*) == default.”h]”hŒ(*) == default.”…””}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KVhjÉh²hubhŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jòhjïubjó)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K7uh1jòhjïubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hï)”}”(hŒ bulk_read”h]”hŒ bulk_read”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KYhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hhh]”hï)”}”(hŒRread more in one go to take advantage of flash media that read faster sequentially”h]”hŒRread more in one go to take advantage of flash media that read faster sequentially”…””}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KYhj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hhh]”(j)”}”(hhh]”hï)”}”(hŒno_bulk_read (*)”h]”hŒno_bulk_read (*)”…””}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K[hjKubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjHubj)”}”(hhh]”hï)”}”(hŒdo not bulk-read”h]”hŒdo not bulk-read”…””}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K[hjbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hhh]”(j)”}”(hhh]”hï)”}”(hŒno_chk_data_crc (*)”h]”hŒno_chk_data_crc (*)”…””}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K\hj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hhh]”hï)”}”(hŒÞskip checking of CRCs on data nodes in order to improve read performance. Use this option only if the flash media is highly reliable. The effect of this option is that corruption of the contents of a file can go unnoticed.”h]”hŒÞskip checking of CRCs on data nodes in order to improve read performance. Use this option only if the flash media is highly reliable. The effect of this option is that corruption of the contents of a file can go unnoticed.”…””}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K\hj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hhh]”(j)”}”(hhh]”hï)”}”(hŒ chk_data_crc”h]”hŒ chk_data_crc”…””}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kahj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¶ubj)”}”(hhh]”hï)”}”(hŒ'do not skip checking CRCs on data nodes”h]”hŒ'do not skip checking CRCs on data nodes”…””}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KahjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hhh]”(j)”}”(hhh]”hï)”}”(hŒ compr=none”h]”hŒ compr=none”…””}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kbhjðubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjíubj)”}”(hhh]”hï)”}”(hŒ0override default compressor and set it to "none"”h]”hŒ4override default compressor and set it to “none—…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kbhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjíubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hhh]”(j)”}”(hhh]”hï)”}”(hŒ compr=lzo”h]”hŒ compr=lzo”…””}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kchj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj$ubj)”}”(hhh]”hï)”}”(hŒ/override default compressor and set it to "lzo"”h]”hŒ3override default compressor and set it to “lzo—…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kchj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hhh]”(j)”}”(hhh]”hï)”}”(hŒ compr=zlib”h]”hŒ compr=zlib”…””}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kdhj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj[ubj)”}”(hhh]”hï)”}”(hŒ0override default compressor and set it to "zlib"”h]”hŒ4override default compressor and set it to “zlib—…””}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kdhjuubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hhh]”(j)”}”(hhh]”hï)”}”(hŒ auth_key=”h]”hŒ auth_key=”…””}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kehj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj’ubj)”}”(hhh]”hï)”}”(hŒ¼specify the key used for authenticating the filesystem. Passing this option makes authentication mandatory. The passed key must be present in the kernel keyring and must be of type 'logon'”h]”hŒÀspecify the key used for authenticating the filesystem. Passing this option makes authentication mandatory. The passed key must be present in the kernel keyring and must be of type ‘logon’”…””}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kehj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj’ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hhh]”(j)”}”(hhh]”hï)”}”(hŒauth_hash_name=”h]”hŒauth_hash_name=”…””}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KihjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÉubj)”}”(hhh]”hï)”}”(hŒ…The hash algorithm used for authentication. Used for both hashing and for creating HMACs. Typical values include "sha256" or "sha512"”h]”hŒThe hash algorithm used for authentication. Used for both hashing and for creating HMACs. Typical values include “sha256†or “sha512—…””}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kihjãubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÉubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjïubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jíhjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhjÉh²hh³hÇh´Nubeh}”(h]”Œ mount-options”ah ]”h"]”Œ mount options”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KTubhÉ)”}”(hhh]”(hÎ)”}”(hŒQuick usage instructions”h]”hŒQuick usage instructions”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´Kpubhï)”}”(hŒ£The UBI volume to mount is specified using "ubiX_Y" or "ubiX:NAME" syntax, where "X" is UBI device number, "Y" is UBI volume number, and "NAME" is UBI volume name.”h]”hŒ·The UBI volume to mount is specified using “ubiX_Y†or “ubiX:NAME†syntax, where “X†is UBI device number, “Y†is UBI volume number, and “NAME†is UBI volume name.”…””}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Krhjh²hubhï)”}”(hŒ.Mount volume 0 on UBI device 0 to /mnt/ubifs::”h]”hŒ-Mount volume 0 on UBI device 0 to /mnt/ubifs:”…””}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kvhjh²hubhŒ literal_block”“”)”}”(hŒ"$ mount -t ubifs ubi0_0 /mnt/ubifs”h]”hŒ"$ mount -t ubifs ubi0_0 /mnt/ubifs”…””}”hjJsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jHh³hÇh´Kxhjh²hubhï)”}”(hŒOMount "rootfs" volume of UBI device 0 to /mnt/ubifs ("rootfs" is volume name)::”h]”hŒVMount “rootfs†volume of UBI device 0 to /mnt/ubifs (“rootfs†is volume name):”…””}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kzhjh²hubjI)”}”(hŒ'$ mount -t ubifs ubi0:rootfs /mnt/ubifs”h]”hŒ'$ mount -t ubifs ubi0:rootfs /mnt/ubifs”…””}”hjfsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jHh³hÇh´K}hjh²hubhï)”}”(hŒ•The following is an example of the kernel boot arguments to attach mtd0 to UBI and mount volume "rootfs": ubi.mtd=0 root=ubi0:rootfs rootfstype=ubifs”h]”hŒ™The following is an example of the kernel boot arguments to attach mtd0 to UBI and mount volume “rootfsâ€: ubi.mtd=0 root=ubi0:rootfs rootfstype=ubifs”…””}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khjh²hubeh}”(h]”Œquick-usage-instructions”ah ]”h"]”Œquick usage instructions”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KpubhÉ)”}”(hhh]”(hÎ)”}”(hŒ References”h]”hŒ References”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjŠh²hh³hÇh´K„ubhï)”}”(hŒ6UBIFS documentation and FAQ/HOWTO at the MTD web site:”h]”hŒ6UBIFS documentation and FAQ/HOWTO at the MTD web site:”…””}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K†hjŠh²hubj3)”}”(hhh]”(j8)”}”(hŒ1http://www.linux-mtd.infradead.org/doc/ubifs.html”h]”hï)”}”(hj®h]”hŒ reference”“”)”}”(hj®h]”hŒ1http://www.linux-mtd.infradead.org/doc/ubifs.html”…””}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j®uh1j³hj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kˆhj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1j7hj©h²hh³hÇh´Nubj8)”}”(hŒ1http://www.linux-mtd.infradead.org/faq/ubifs.html”h]”hï)”}”(hjÑh]”j´)”}”(hjÑh]”hŒ1http://www.linux-mtd.infradead.org/faq/ubifs.html”…””}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jÑuh1j³hjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K‰hjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1j7hj©h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j‡Œ-”uh1j2h³hÇh´KˆhjŠh²hubeh}”(h]”Œ references”ah ]”h"]”Œ references”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K„ubeh}”(h]”Œubi-file-system”ah ]”h"]”Œubi file system”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÍNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”jŒfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j)Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jjjÆjÃjjj‡j„jüjùuŒ nametypes”}”(j‰jƉj‰j‡‰jü‰uh}”(jhÊjÃhÝjjÉj„jjùjŠuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.