1 What: /sys/class/ubi/ 2 Date: July 2006 3 KernelVersion: 2.6.22 4 Contact: Artem Bityutskiy <dedekind@infr 5 Description: 6 The ubi/ class sub-directory b 7 provides general UBI informati 8 and per-UBI volume information 9 10 What: /sys/class/ubi/version 11 Date: July 2006 12 KernelVersion: 2.6.22 13 Contact: Artem Bityutskiy <dedekind@infr 14 Description: 15 This file contains version of 16 format. Currently it is 1, and 17 However, if in the future UBI 18 which cannot be done in a comp 19 version will be added. So this 20 future backward-compatible (bu 21 improvements. 22 23 What: /sys/class/ubiX/ 24 Date: July 2006 25 KernelVersion: 2.6.22 26 Contact: Artem Bityutskiy <dedekind@infr 27 Description: 28 The /sys/class/ubi0, /sys/clas 29 UBI devices (UBI device 0, 1, 30 device information and per UBI 31 device may have many UBI volum 32 33 What: /sys/class/ubi/ubiX/avail_eras 34 Date: July 2006 35 KernelVersion: 2.6.22 36 Contact: Artem Bityutskiy <dedekind@infr 37 Description: 38 Amount of available logical er 39 create a new UBI volume which 40 eraseblocks. 41 42 What: /sys/class/ubi/ubiX/bad_peb_co 43 Date: July 2006 44 KernelVersion: 2.6.22 45 Contact: Artem Bityutskiy <dedekind@infr 46 Description: 47 Count of bad physical eraseblo 48 49 What: /sys/class/ubi/ubiX/bgt_enable 50 Date: July 2006 51 KernelVersion: 2.6.22 52 Contact: Artem Bityutskiy <dedekind@infr 53 Description: 54 Contains ASCII "0\n" if the UB 55 and ASCII "1\n" if it is enabl 56 57 What: /sys/class/ubi/ubiX/dev 58 Date: July 2006 59 KernelVersion: 2.6.22 60 Contact: Artem Bityutskiy <dedekind@infr 61 Description: 62 Major and minor numbers of the 63 to this UBI device (in <major> 64 65 What: /sys/class/ubi/ubiX/eraseblock 66 Date: July 2006 67 KernelVersion: 2.6.22 68 Contact: Artem Bityutskiy <dedekind@infr 69 Description: 70 Maximum logical eraseblock siz 71 volumes may have smaller logic 72 alignment. 73 74 What: /sys/class/ubi/ubiX/max_ec 75 Date: July 2006 76 KernelVersion: 2.6.22 77 Contact: Artem Bityutskiy <dedekind@infr 78 Description: 79 Maximum physical eraseblock er 80 81 What: /sys/class/ubi/ubiX/max_vol_co 82 Date: July 2006 83 KernelVersion: 2.6.22 84 Contact: Artem Bityutskiy <dedekind@infr 85 Description: 86 Maximum number of volumes whic 87 88 What: /sys/class/ubi/ubiX/min_io_siz 89 Date: July 2006 90 KernelVersion: 2.6.22 91 Contact: Artem Bityutskiy <dedekind@infr 92 Description: 93 Minimum input/output unit size 94 in fractions of the contained 95 96 What: /sys/class/ubi/ubiX/mtd_num 97 Date: January 2008 98 KernelVersion: 2.6.25 99 Contact: Artem Bityutskiy <dedekind@infr 100 Description: 101 Number of the underlying MTD d 102 103 What: /sys/class/ubi/ubiX/reserved_f 104 Date: July 2006 105 KernelVersion: 2.6.22 106 Contact: Artem Bityutskiy <dedekind@infr 107 Description: 108 Number of physical eraseblocks 109 110 What: /sys/class/ubi/ubiX/ro_mode 111 Date: April 2016 112 KernelVersion: 4.7 113 Contact: linux-mtd@lists.infradead.org 114 Description: 115 Contains ASCII "1\n" if the re 116 device, and "0\n" if it is cle 117 as read-only when they detect 118 119 What: /sys/class/ubi/ubiX/total_eras 120 Date: July 2006 121 KernelVersion: 2.6.22 122 Contact: Artem Bityutskiy <dedekind@infr 123 Description: 124 Total number of good (not mark 125 the underlying MTD device. 126 127 What: /sys/class/ubi/ubiX/volumes_co 128 Date: July 2006 129 KernelVersion: 2.6.22 130 Contact: Artem Bityutskiy <dedekind@infr 131 Description: 132 Count of volumes on this UBI d 133 134 What: /sys/class/ubi/ubiX/ubiX_Y/ 135 Date: July 2006 136 KernelVersion: 2.6.22 137 Contact: Artem Bityutskiy <dedekind@infr 138 Description: 139 The /sys/class/ubi/ubiX/ubiX_0 140 etc directories describe UBI v 141 0, 1, etc). 142 143 What: /sys/class/ubi/ubiX/ubiX_Y/ali 144 Date: July 2006 145 KernelVersion: 2.6.22 146 Contact: Artem Bityutskiy <dedekind@infr 147 Description: 148 Volume alignment - the value t 149 this volume has to be aligned 150 logical eraseblock size is mul 151 volume logical eraseblock size 152 size aligned to the alignment 153 154 What: /sys/class/ubi/ubiX/ubiX_Y/cor 155 Date: July 2006 156 KernelVersion: 2.6.22 157 Contact: Artem Bityutskiy <dedekind@infr 158 Description: 159 Contains ASCII "0\n" if the UB 160 if it is corrupted (e.g., due 161 162 What: /sys/class/ubi/ubiX/ubiX_Y/dat 163 Date: July 2006 164 KernelVersion: 2.6.22 165 Contact: Artem Bityutskiy <dedekind@infr 166 Description: 167 The amount of data this volume 168 only for static volumes, and f 169 to the total volume size in by 170 171 What: /sys/class/ubi/ubiX/ubiX_Y/dev 172 Date: July 2006 173 KernelVersion: 2.6.22 174 Contact: Artem Bityutskiy <dedekind@infr 175 Description: 176 Major and minor numbers of the 177 to this UBI volume (in <major> 178 179 What: /sys/class/ubi/ubiX/ubiX_Y/nam 180 Date: July 2006 181 KernelVersion: 2.6.22 182 Contact: Artem Bityutskiy <dedekind@infr 183 Description: 184 Volume name. 185 186 What: /sys/class/ubi/ubiX/ubiX_Y/res 187 Date: July 2006 188 KernelVersion: 2.6.22 189 Contact: Artem Bityutskiy <dedekind@infr 190 Description: 191 Count of physical eraseblock r 192 Equivalent to the volume size 193 194 What: /sys/class/ubi/ubiX/ubiX_Y/typ 195 Date: July 2006 196 KernelVersion: 2.6.22 197 Contact: Artem Bityutskiy <dedekind@infr 198 Description: 199 Volume type. Contains ASCII "d 200 "static\n" for static volumes. 201 202 What: /sys/class/ubi/ubiX/ubiX_Y/upd 203 Date: July 2006 204 KernelVersion: 2.6.22 205 Contact: Artem Bityutskiy <dedekind@infr 206 Description: 207 Contains ASCII "0\n" if the up 208 volume, and "1\n" if it is set 209 volume update starts, and clea 210 of the update marker indicates 211 at the moment of the update wa 212 checked using the "corrupted" 213 214 What: /sys/class/ubi/ubiX/ubiX_Y/usa 215 Date: July 2006 216 KernelVersion: 2.6.22 217 Contact: Artem Bityutskiy <dedekind@infr 218 Description: 219 Logical eraseblock size of thi 220 eraseblock size of the device 221 value.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.