- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/filesystems/btrfs-progs.xml
r34a6571 r90025d31 7 7 <!ENTITY btrfs-progs-download-http "&kernel-dl;/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v&btrfs-progs-version;.tar.xz"> 8 8 <!ENTITY btrfs-progs-download-ftp " "> 9 <!ENTITY btrfs-progs-md5sum " 8ca78d6e62179ef177597422e27a58fc">9 <!ENTITY btrfs-progs-md5sum "0472036ca5ef729374c673e1d867476e"> 10 10 <!ENTITY btrfs-progs-size "2.1 MB"> 11 <!ENTITY btrfs-progs-buildsize " 54 MB (up to 2.7 GB are used duringtests)">12 <!ENTITY btrfs-progs-time "0.2 SBU (add 5.9 SBU for tests, but will be longer on slow disks)">11 <!ENTITY btrfs-progs-buildsize "97 MB (add 2.7 GB for tests)"> 12 <!ENTITY btrfs-progs-time "0.2 SBU (add 6.3 SBU for tests)"> 13 13 ]> 14 14 … … 17 17 18 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 19 20 <date>$Date$</date> 20 21 </sect1info> … … 34 35 </para> 35 36 36 &lfs1 10a_checked;37 &lfs10_checked; 37 38 38 39 <bridgehead renderas="sect3">Package Information</bridgehead> … … 85 86 <bridgehead renderas="sect4">Optional</bridgehead> 86 87 <para role="optional"> 87 <xref linkend="lvm2"/> (<command>dmsetup</command> is used in tests) and 88 <xref linkend="lvm2"/> (<command>dmsetup</command> is used in tests), 89 <xref linkend="python2"/> (python bindings), and 88 90 <xref linkend="reiserfs"/> (for tests) 89 91 </para> … … 105 107 <*/M> Btrfs filesystem support [CONFIG_BTRFS_FS]</literal></screen> 106 108 107 <para> 108 In addition to the above and to the options required for 109 <xref linkend="lvm2"/> and <xref linkend="reiserfs"/>, the following 110 options must be enabled for running tests: 111 </para> 112 113 <screen><literal>File systems ---> 114 [*] Btrfs POSIX Access Control Lists [CONFIG_BTRFS_FS_POSIX_ACL] 115 [*] ReiserFS extended attributes [CONFIG_REISERFS_FS_XATTR] 116 [*] ReiserFS POSIX Access Control Lists [CONFIG_REISERFS_FS_POSIX_ACL]</literal></screen> 109 <note> 110 <para> 111 CONFIG_BTRFS_FS_POSIX_ACL and 112 CONFIG_REISERFS_FS_XATTR are required for some tests. 113 Other Btrfs options in the kernel are optional. 114 </para> 115 </note> 117 116 118 117 <indexterm zone="btrfs-progs btrfs-progs-kernel"> … … 130 129 </para> 131 130 132 <screen><userinput>./configure --prefix=/usr && 131 <screen><userinput>./configure --prefix=/usr \ 132 --bindir=/bin \ 133 --libdir=/lib \ 134 --with-pkgconfigdir=/usr/lib/pkgconfig && 133 135 make</userinput></screen> 134 136 … … 140 142 </para> 141 143 </note> 142 <!-- Keeping this for now, but it seems that calling "make test" is 143 simpler and does the same thing --> 144 <para> 145 Before running tests, build a support program: 146 </para> 147 148 <screen remap="test"><userinput>make fssum</userinput></screen> 144 145 <para> 146 Before running tests, build a support program and 147 disable several that fail: 148 </para> 149 150 <screen remap="test"><userinput>make fssum && 151 152 sed -i '/found/s/^/: #/' tests/convert-tests.sh && 153 154 mv tests/convert-tests/010-reiserfs-basic/test.sh{,.broken} && 155 mv tests/convert-tests/011-reiserfs-delete-all-rollback/test.sh{,.broken} && 156 mv tests/convert-tests/012-reiserfs-large-hole-extent/test.sh{,.broken} && 157 mv tests/convert-tests/013-reiserfs-common-inode-flags/test.sh{,.broken} && 158 mv tests/convert-tests/014-reiserfs-tail-handling/test.sh{,.broken} && 159 mv tests/fuzz-tests/003-multi-check-unmounted/test.sh{,.broken}</userinput></screen> 149 160 150 161 <para> … … 154 165 155 166 <screen role="root" remap="test"><userinput>pushd tests 156 ./fsck-tests.sh 157 ./mkfs-tests.sh 158 ./cli-tests.sh 159 ./convert-tests.sh 160 ./misc-tests.sh 161 ./fuzz-tests.sh 167 ./fsck-tests.sh <!-- 43 tests 6m14s --> 168 ./mkfs-tests.sh <!-- 20 tests 2m48s --> 169 ./cli-tests.sh <!-- 12 tests 0m51s --> 170 ./convert-tests.sh <!-- 16 tests 13m36s --> 171 ./misc-tests.sh <!-- 38 tests 3m18s --> 172 ./fuzz-tests.sh <!-- 8 tests 1m11s --> 162 173 popd</userinput></screen> 163 174 164 <!-- Template for failed test removal:165 <para>166 To test the results, first disable one test that fails and prevents167 the other ones to run:168 </para>169 170 <screen remap="test"><userinput>mv tests/fsck-tests/012-leaf-corruption/test.sh{,.broken}</userinput></screen>171 Substitute your test failure with the one above.172 <para>173 To test the results, run (as the174 <systemitem class="username">root</systemitem> user):175 </para>176 177 <screen role="root" remap="test"><userinput>make -j1 -k test</userinput></screen>178 -->179 <note>180 <para>181 If the above mentioned kernel options are not enabled, some tests182 fail, and prevent all the remaining tests to run, because the test183 disk image is not cleanly unmounted.184 </para>185 </note>186 <!--187 <para>188 Two tests fail for unknown reasons in the189 <command>test-libbtrfsutil</command> section. Tests take a very long190 time, and it may be interesting to run only part of them. Running tests191 only in one directory can be done with192 <command>make TEST=<DIR> test</command>.193 </para>194 -->195 175 <para> 196 176 Install the package as the <systemitem … … 198 178 </para> 199 179 200 <screen role="root"><userinput>make install</userinput></screen> 180 <screen role="root"><userinput>make install && 181 182 ln -sfv ../../lib/$(readlink /lib/libbtrfs.so) /usr/lib/libbtrfs.so && 183 ln -sfv ../../lib/$(readlink /lib/libbtrfsutil.so) /usr/lib/libbtrfsutil.so && 184 rm -fv /lib/libbtrfs.{a,so} /lib/libbtrfsutil.{a,so} && 185 mv -v /bin/{mkfs,fsck}.btrfs /sbin</userinput></screen> 201 186 202 187 </sect2> … … 209 194 is needed if the recommended dependencies are not installed. 210 195 </para> 211 <!-- not anymore in the commands 196 212 197 <para> 213 198 <command>mv tests/{cli,convert,misc,fuzz}-tests/ ...</command>: Disables … … 224 209 library entries. 225 210 </para> 226 --> 211 227 212 </sect2> 228 213 … … 267 252 <listitem> 268 253 <para> 269 is the main interface into btrfs filesystem operations 254 is the main interface into btrfs filesystem operations. 270 255 </para> 271 256 <indexterm zone="btrfs-progs btrfs-prog"> … … 279 264 <listitem> 280 265 <para> 281 converts from an ext2/3/4 or reiserfs filesystem to btrfs266 converts from an ext2/3/4 filesystem to btrfs. 282 267 </para> 283 268 <indexterm zone="btrfs-progs btrfs-convert"> … … 291 276 <listitem> 292 277 <para> 293 is a filter to find btrfs root 278 is a filter to find btrfs root. 294 279 </para> 295 280 <indexterm zone="btrfs-progs btrfs-find-root"> … … 303 288 <listitem> 304 289 <para> 305 maps btrfs logical extent to physical extent 290 maps btrfs logical extent to physical extent. 306 291 </para> 307 292 <indexterm zone="btrfs-progs btrfs-map-logical"> … … 315 300 <listitem> 316 301 <para> 317 overwrites the primary superblock with a backup copy 302 overwrites the primary superblock with a backup copy. 318 303 </para> 319 304 <indexterm zone="btrfs-progs btrfs-select-super"> … … 327 312 <listitem> 328 313 <para> 329 tunes various filesystem parameters 314 tunes various filesystem parameters. 330 315 </para> 331 316 <indexterm zone="btrfs-progs btrfstune"> … … 339 324 <listitem> 340 325 <para> 341 does nothing, but is present for consistency with fstab 326 does nothing, but is present for consistency with fstab. 342 327 </para> 343 328 <indexterm zone="btrfs-progs fsck.btrfs"> … … 351 336 <listitem> 352 337 <para> 353 creates a btrfs file system 338 creates a btrfs file system. 354 339 </para> 355 340 <indexterm zone="btrfs-progs mkfs.btrfs">
Note:
See TracChangeset
for help on using the changeset viewer.