Warning, /utilities/kfloppy/doc/index.docbook is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" ?> 0002 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [ 0003 <!ENTITY kappname "&kfloppy;"> 0004 <!ENTITY package "kdeutils"> 0005 <!ENTITY % English "INCLUDE" > <!-- change language only here --> 0006 <!ENTITY % addindex "IGNORE"> 0007 <!ENTITY BSD "<trademark>BSD</trademark>"> 0008 <!ENTITY Minix "<trademark>Minix</trademark>"> 0009 ]> 0010 <!-- ### TODO Is BSD a trademark or a registrated trademark ? --> 0011 <!-- ### TODO Is Minix a trademark or a registrated trademark ? --> 0012 0013 <!-- ### TODO Unify use of "disk", "floppy", "diskette", "floppy disk" (and "floppy drive") --> 0014 0015 <book id="kfloppy" lang="&language;"> 0016 <bookinfo> 0017 0018 <title>The &kfloppy; Formatter Handbook</title> 0019 0020 <authorgroup> 0021 <author> 0022 <firstname>Thad</firstname> 0023 <surname>McGinnis</surname> 0024 <affiliation><address>&Thad.McGinnis.mail; 0025 </address></affiliation> </author> 0026 0027 <author> 0028 <firstname>Nicolas</firstname> 0029 <surname>Goutte</surname> 0030 <affiliation><address>&Nicolas.Goutte.mail; 0031 </address></affiliation> </author> 0032 0033 <othercredit role="developer"> 0034 <firstname>Bernd</firstname> 0035 <othername>Johannes</othername> 0036 <surname>Wuebben</surname> 0037 <affiliation><address><email>wuebben@math.cornell.edu</email></address></affiliation> 0038 <contrib>Developer</contrib> 0039 </othercredit> 0040 0041 <othercredit role="developer"> 0042 <firstname>Chris</firstname> 0043 <surname>Howells</surname> 0044 <affiliation><address>&Chris.Howells.mail;</address></affiliation> 0045 <contrib>Developer (User Interface re-design)</contrib> 0046 </othercredit> 0047 0048 <othercredit role="developer"> 0049 <firstname>Adriaan</firstname> 0050 <surname>de Groot</surname> 0051 <affiliation><address><email>groot@kde.org</email></address></affiliation> 0052 <contrib>Developer (Add &BSD; support)</contrib> 0053 </othercredit> 0054 0055 <othercredit role="developer"> 0056 <firstname>Wolfgang</firstname> 0057 <surname>Bauer</surname> 0058 <affiliation><address><email>wbauer@tmo.at</email></address></affiliation> 0059 <contrib>Developer (Port to KF5)</contrib> 0060 </othercredit> 0061 0062 <othercredit role="reviewer"> 0063 <firstname>Lauri</firstname> 0064 <surname>Watts</surname> 0065 <contrib>Reviewer</contrib> 0066 <affiliation><address>&Lauri.Watts.mail;</address></affiliation> 0067 </othercredit> 0068 0069 <!-- TRANS:ROLES_OF_TRANSLATORS --> 0070 </authorgroup> 0071 0072 <date>2016-03-23</date> 0073 <releaseinfo>5.0 (Applications 16.04)</releaseinfo> 0074 0075 <copyright> 0076 <year>2000</year> 0077 <holder>&Thad.McGinnis;</holder> 0078 </copyright> 0079 0080 <copyright> 0081 <year>2005</year> 0082 <holder>&Nicolas.Goutte;</holder> 0083 </copyright> 0084 0085 <legalnotice>&FDLNotice;</legalnotice> 0086 0087 <abstract><para>&kfloppy; Formatter is a utility that provides a 0088 straightforward graphical means to format 3.5" and 5.25" floppy 0089 disks.</para></abstract> 0090 0091 <keywordset> 0092 <keyword>KDE</keyword> 0093 <keyword>kfloppy</keyword> 0094 <keyword>floppy</keyword> 0095 <keyword>format</keyword> 0096 </keywordset> 0097 0098 </bookinfo> 0099 0100 <chapter id="introduction"> 0101 <title>Introduction</title> 0102 0103 <para>&kfloppy; Formatter is a utility that provides a straightforward 0104 graphical means to format 3.5" and 5.25" floppy disks. </para> 0105 0106 <note><para>&kfloppy; depends on external programs and therefore 0107 currently works <emphasis>only</emphasis> with &Linux; and &BSD;. Depending if you are 0108 using &kfloppy; on &Linux; or on &BSD;, &kfloppy; has slightly different 0109 features.</para></note> 0110 0111 <caution><para>Make sure that your floppy disk is <emphasis>not</emphasis> 0112 mounted. &kfloppy; cannot format a mounted floppy disk.</para></caution> 0113 0114 </chapter> 0115 0116 <chapter id="usingkfloppy"> 0117 <title>Using &kfloppy;</title> 0118 0119 <para>Starting &kfloppy; opens a single window by which the user may 0120 choose appropriate settings and control the formatting process. These 0121 options and controls are detailed below.</para> 0122 0123 <caution><para>Make sure that your floppy disk is <emphasis>not</emphasis> 0124 mounted. &kfloppy; cannot format a mounted floppy disk.</para></caution> 0125 0126 <sect1 id="controlsettings"> 0127 <title>Control Settings</title> 0128 0129 <para>The settings are chosen by means of three drop down boxes located 0130 at the top left center of &kfloppy;.</para> 0131 0132 <sect2 id="selectdrive"> 0133 <title>Floppy Drive</title> 0134 0135 <para>Clicking on the top drop down box, which is labeled 0136 <guilabel>Floppy drive:</guilabel>, offers the user the following 0137 two choices:</para> 0138 0139 <itemizedlist> 0140 <listitem><para>Primary</para></listitem> 0141 <listitem><para>Secondary</para></listitem> 0142 </itemizedlist> 0143 0144 <para>Clicking on the second drop down box from the top, which is labeled 0145 <guilabel>Size:</guilabel>, offers the user the following 0146 four choices:</para> 0147 0148 <itemizedlist> 0149 <listitem><para>3.5" 1.44MB</para></listitem> 0150 <listitem><para>3.5" 720KB</para></listitem> 0151 <listitem><para>5.25" 1.2MB</para></listitem> 0152 <listitem><para>5.25" 360KB</para></listitem> 0153 </itemizedlist> 0154 0155 <para>The &Linux; version of &kfloppy; has also a choice of size named:</para> 0156 0157 <itemizedlist> 0158 <listitem><para>Auto-Detect</para></listitem> 0159 </itemizedlist> 0160 0161 <!-- ### TODO: typical floppy disk of a PC has not the hardware to support 0162 Mac 800KB floppies at all, not only formatting. --> 0163 <note> 0164 <para>The 800KB disk format used by <hardware>&Mac; floppy drives</hardware> cannot be 0165 supported on <hardware>PC floppy drives</hardware> since they are not capable of formatting 0166 disks in that fashion.</para> 0167 </note> 0168 </sect2> 0169 0170 <sect2 id="filesystems"> 0171 <title>File Systems</title> 0172 0173 <para>The third drop down box, labeled File System, offers the user the 0174 following choices, if they are applicable:</para> 0175 0176 <variablelist> 0177 <varlistentry> 0178 <term>Dos</term> 0179 <listitem> 0180 <para>This selection will have &kfloppy; place the MS-DOS/&Windows; type 0181 of file system on the diskette. The user will most likely want to 0182 choose this system if she or he will be using the diskette with those 0183 operating systems as they do not recognize other system types. 0184 (This is supported for &Linux; and &BSD;.)</para> 0185 </listitem> 0186 </varlistentry> 0187 0188 <varlistentry> 0189 <term>ext2</term> 0190 <listitem> 0191 <para>This selection will have &kfloppy; place the type of file system 0192 on the diskette which is most commonly used with &Linux;, however 0193 seldomly on floppy disks. 0194 (This is supported for &Linux; and &BSD;.)</para> 0195 </listitem> 0196 </varlistentry> 0197 0198 <varlistentry> 0199 <term>UFS</term> 0200 <listitem> 0201 <para>This selection will have &kfloppy; place the type of file system 0202 on the diskette which is most commonly used with <trademark class="registered">FreeBSD</trademark>. The user will 0203 likely want to choose this system if he or she will only be using the 0204 floppy disk with <trademark class="registered">FreeBSD</trademark>. 0205 (This is supported for &BSD; only.)</para> 0206 </listitem> 0207 </varlistentry> 0208 0209 <varlistentry> 0210 <term>&Minix;</term> 0211 <listitem> 0212 <para>This selection will have &kfloppy; place the type of file system 0213 on the diskette which often used on floppy disks used with &Linux;, 0214 (This is supported for &Linux; only.)</para> 0215 </listitem> 0216 </varlistentry> 0217 </variablelist> 0218 0219 </sect2> 0220 </sect1> 0221 0222 <sect1 id="formatting-options"> 0223 <title>Formatting Options</title> 0224 <para>Within the outline of a box in the left center of &kfloppy; the user 0225 may find a set of five formatting options. The top two are a pair of radio 0226 buttons.</para> <note><para>This term (radio buttons) indicates a set of options among 0227 which only one can be selected - in the same way that only one preset 0228 channel selection may be set on a car radio.</para></note><para>The 0229 bottom two options are for labeling the diskette. All are explained 0230 below:</para> 0231 0232 <sect2> 0233 <title>Formatting Method</title> 0234 <para>&kfloppy; can format a disk in the following two ways:</para> 0235 <para> 0236 <variablelist> 0237 <varlistentry> 0238 <term><guilabel>Quick Format</guilabel></term> 0239 <listitem> 0240 <para>This simply puts the new file system on the disk.</para> 0241 <warning><para>All data on the disk will be lost, even if the data itself will not be erased.</para></warning> 0242 </listitem> 0243 </varlistentry> 0244 <varlistentry> 0245 <term><guilabel>Zero out and quick format</guilabel></term> 0246 <listitem> 0247 <para>This format first puts zeros on the disk and then creates the new file system.</para> 0248 <warning><para>All data on the disk will be erased.</para></warning> 0249 </listitem> 0250 </varlistentry> 0251 <varlistentry> 0252 <term><guilabel>Full Format</guilabel></term> 0253 <listitem> 0254 <para>A full format reallocates the tracks and sectors, puts the selected 0255 file system on the disk, and then verifies the format, blocking out any bad 0256 sectors it finds.</para> 0257 <warning><para>All data on the disk will be erased.</para></warning> 0258 </listitem> 0259 </varlistentry> 0260 </variablelist> 0261 </para> 0262 </sect2> 0263 0264 <sect2> 0265 <title>Verify Integrity</title> 0266 0267 <para>This tells &kfloppy; to check that the formatting was correctly 0268 written to the floppy. This allows bad sectors to be identified. 0269 </para> 0270 0271 <note><para>If bad sectors are found during the verify phase of a Full Format, 0272 the formatting is aborted and the file system is not written! 0273 </para></note> 0274 0275 </sect2> 0276 0277 <sect2> 0278 <title>Volume Label</title> 0279 0280 <para>The bottom two features allow the user to add (or change) a 0281 label to the diskette. If the <guilabel>Volume label:</guilabel> check 0282 box is selected then the user can enter a name (label) for the 0283 diskette that is to be formatted in the text box located immediately 0284 below. When the diskette is subsequently formatted the label will be 0285 written to the diskette.</para> 0286 0287 <note><para>Due to a limitation of the DOS file system, a label can only be 0288 at most 11 characters long. For simplification, &kfloppy; assumes that 0289 this limit is true for all file systems.</para></note> 0290 0291 <note><para>The file system &Minix; cannot have any volume label. In this 0292 case, &kfloppy; will ignore the volume label.</para></note> 0293 0294 </sect2> 0295 0296 </sect1> 0297 0298 <sect1 id="buttons"> 0299 <title>The Buttons</title> 0300 <para>There are three buttons located vertically along the right side of 0301 &kfloppy;. </para> 0302 0303 <variablelist> 0304 <varlistentry> 0305 <term><guibutton>Format</guibutton></term> 0306 <listitem> 0307 <para>This button 0308 initiates the formatting process. Once the user is sure that all the 0309 settings are correct he or she may begin the process by clicking on 0310 this button. 0311 There will be a change in the two long rectangular boxes 0312 that span the bottom of &kfloppy;.</para> 0313 0314 <para>The upper box is a status indicator that gives information about the 0315 process underway, especially the error encountered during the processing.</para> 0316 0317 <para>The lower box is a progress bar. This displays both graphically 0318 and numerically the progress of first the formatting and then the 0319 verification. Before starting it appears to be empty - showing only 0320 the figure 0% in the center. As each process 0321 takes place the progress is tracked graphically as the box fills from 0322 left to right. At the same time the number in the center will 0323 increase reflecting the precise percentage of the process that has 0324 been completed.</para> 0325 0326 <note><para>As &kfloppy; uses external programs to format the floppy disk, 0327 it has to rely on these programs to give the right information for 0328 being able to display the progress bar. Unfortunately, this is not the 0329 case. Especially, the programs writing the file systems do not return 0330 enough data, so that the progress bar will remain at 0%.</para></note> 0331 0332 <important> 0333 <para>Make sure that your floppy disk is <emphasis>not</emphasis> mounted. 0334 &kfloppy; cannot format a mounted floppy disk.</para> 0335 </important> 0336 0337 <note><para>&kfloppy; does <emphasis>not</emphasis> unmount the 0338 floppy by itself, as this could mean that the user may overwrite a floppy 0339 disk with important data on it.</para></note> 0340 </listitem> 0341 </varlistentry> 0342 0343 <varlistentry> 0344 <term><guibutton>Help</guibutton></term> 0345 <listitem> 0346 <para>This invokes a popup menu with actions to open this handbook, 0347 report a bug, switch the application language and display author and version of 0348 &kfloppy; and &kde;.</para> 0349 </listitem> 0350 </varlistentry> 0351 0352 <varlistentry> 0353 <term><guibutton>Quit</guibutton></term> 0354 <listitem> 0355 <para>Clicking on this button will close &kfloppy;.</para> 0356 </listitem> 0357 </varlistentry> 0358 0359 </variablelist> 0360 0361 </sect1> 0362 </chapter> 0363 0364 <chapter id="command-line"> 0365 <title>Command line options</title> 0366 0367 <para>Though &kfloppy; may most often be started from the &kde; program menu, 0368 or a desktop icon, it can also be opened at the command line prompt of a 0369 terminal window. There are a few options that are available when doing 0370 this. They are:</para> 0371 0372 <variablelist> 0373 <varlistentry> 0374 <term><command>kfloppy <option>--help</option></command></term> 0375 <listitem><para>This lists the options available at the command 0376 line.</para> 0377 </listitem> 0378 </varlistentry> 0379 0380 <varlistentry> 0381 <term><command>kfloppy <option>--author</option></command></term> 0382 <listitem> 0383 <para>Lists &kfloppy;'s author in the terminal window</para> 0384 </listitem> 0385 </varlistentry> 0386 0387 <varlistentry> 0388 <term><command>kfloppy <option>--license</option></command></term> 0389 <listitem> 0390 <para>Shows license information for &kfloppy; in the terminal window</para> 0391 </listitem> 0392 </varlistentry> 0393 0394 <varlistentry> 0395 <term><command>kfloppy <option>--version</option></command></term> 0396 <listitem> 0397 <para>Lists version information for &kfloppy;. Also available 0398 through <command>kfloppy <option>-v</option></command> </para> 0399 </listitem> 0400 </varlistentry> 0401 0402 <varlistentry> 0403 <term><command>kfloppy <option><replaceable>device</replaceable></option></command></term> 0404 <listitem><para>Device to format.</para> 0405 <para>This will directly format the given device using the saved settings. 0406 Only supported at the moment are /dev/fd0 and /dev/fd1.</para></listitem> 0407 </varlistentry> 0408 </variablelist> 0409 0410 </chapter> 0411 0412 <chapter id="credits"> 0413 <title>Credits and License</title> 0414 0415 <!-- ### TODO: verify the copyright dates --> 0416 <!-- ### TODO: make the copyright list prettier --> 0417 <para>&kfloppy; Formatter Program Copyright 1997 - 2000 &Bernd.Johannes.Wuebben; 0418 <email>wuebben@math.cornell.edu</email></para> 0419 0420 <para>&kfloppy; Formatter Program Copyright 2002 Adriaan de Groot 0421 <email>groot@kde.org</email></para> 0422 0423 <para>&kfloppy; Formatter Program Copyright 2004, 2005 &Nicolas.Goutte; 0424 &Nicolas.Goutte.mail;</para> 0425 0426 <para>&kfloppy; Formatter Program Copyright 2015, 2016 Wolfgang Bauer 0427 <email>wbauer@tmo.at</email></para> 0428 0429 <para>Documentation Copyright 2000 by &Thad.McGinnis; 0430 &Thad.McGinnis.mail;.</para> 0431 0432 <para>This version of the &kfloppy; Handbook is based on the original by 0433 &David.Rugge; <email>davidrugge@mindspring.com</email></para> 0434 0435 <!-- TRANS:CREDIT_FOR_TRANSLATORS --> 0436 &underFDL; 0437 &underGPL; 0438 0439 </chapter> 0440 0441 <appendix id="neededprogs"> 0442 <title>Needed External Programs</title> 0443 0444 <para>As already written earlier in this handbook, &kfloppy; works 0445 with the help of external programs to do the different formatting tasks.</para> 0446 0447 <note><para>If one of the programs is missing, &kfloppy; tries to work nevertheless. 0448 However the corresponding option will not be available.</para></note> 0449 0450 <variablelist> 0451 <varlistentry> 0452 <term><command>fdformat</command></term> 0453 <listitem><para>This program is needed for low-level formatting, 0454 on &Linux; and on &BSD;. If it is missing, 0455 <guilabel>Full format</guilabel> will be disabled. 0456 </para></listitem> 0457 </varlistentry> 0458 <varlistentry> 0459 <term><command>dd</command></term> 0460 <listitem><para>This program is needed for zeroing-out, 0461 on &Linux; and on &BSD;. If it is missing, 0462 <guilabel>Zero out and quick format</guilabel> will be disabled. 0463 </para></listitem> 0464 </varlistentry> 0465 <varlistentry> 0466 <term><command>mkdosfs</command></term> 0467 <listitem><para>This program is needed for DOS formatting, 0468 on &Linux;. 0469 </para></listitem> 0470 </varlistentry> 0471 <varlistentry> 0472 <term><command>newfs_msdos</command></term> 0473 <listitem><para>This program is needed for DOS formatting, 0474 on &BSD;. 0475 </para></listitem> 0476 </varlistentry> 0477 <varlistentry> 0478 <term><command>newfs</command></term> 0479 <listitem><para>This program is needed for UFS formatting, 0480 on &BSD;. 0481 </para></listitem> 0482 </varlistentry> 0483 <varlistentry> 0484 <term><command>mke2fs</command></term> 0485 <listitem><para>This program is needed for ext2 formatting, 0486 on &Linux; and on &BSD;. 0487 </para></listitem> 0488 </varlistentry> 0489 <varlistentry> 0490 <term><command>mkfs.minix</command></term> 0491 <listitem><para>This program is needed for &Minix; formatting, 0492 on &Linux;. 0493 </para></listitem> 0494 </varlistentry> 0495 </variablelist> 0496 0497 </appendix> 0498 <appendix id="usergivendevices"> 0499 <title>User-Given Devices</title> 0500 0501 <sect1 id="ugdintro"> 0502 <title>Introduction</title> 0503 0504 <para>"User Given Devices" is the work title of a still experimental feature of 0505 &kfloppy;. It allows the user to give a device name and to use it nearly 0506 as if it was a <hardware>floppy drive</hardware>.</para> 0507 0508 <para>This feature is mainly intended as a work-around for users having 0509 <hardware>USB floppy drives</hardware> of any kind 0510 (including <trademark>ZIP</trademark> disk drives) or any other non-legacy 0511 <hardware>floppy drives</hardware>.</para> 0512 0513 <note><para>Unfortunately at the time of writing this documentation, the feature 0514 is not very user friendly, as it does not offer any help to the user on how 0515 a device is called and &kfloppy; does not even remember the device name from 0516 call to call. (This is partially a security, as the device of the 0517 <hardware>floppy drive</hardware> might change between reboots.)</para></note> 0518 0519 <note><para>As this feature was developed under &Linux;, the &BSD; version 0520 of &kfloppy; offers less choices than &kfloppy; under &Linux;.</para></note> 0521 0522 </sect1> 0523 0524 <sect1 id="ugdmain"> 0525 <title>Using It</title> 0526 0527 <!-- Note to reviewers: "PRimary" and "Secondary" are the default items in the combobox --> 0528 <para>Using "User Given Devices" is quite simple, you just need to enter 0529 a device name, for example <replaceable>/dev/sdz4</replaceable> 0530 in the <guilabel>Floppy drive:</guilabel> combobox instead of 0531 selecting Primary or Secondary.</para> 0532 0533 <note> 0534 <para>You need to enter the <filename class="directory">/dev/</filename> 0535 part of the device for two reasons:</para> 0536 <itemizedlist> 0537 <listitem> 0538 <para>It is how &kfloppy; recognizes the "User Given Devices" mode.</para> 0539 </listitem> 0540 <listitem> 0541 <para>It is a security, to avoid that the user writes anything in the combobox 0542 that is by chance a device name.</para> 0543 </listitem> 0544 </itemizedlist> 0545 </note> 0546 0547 <para>Unfortunately, using any device instead of a floppy device has a few 0548 consequences. The major one is that <guilabel>Full Format</guilabel> cannot be 0549 selected anymore. Doing so will result in a error message box when trying to 0550 start the format. However you can use <guilabel>Zero out and quick format</guilabel> 0551 instead. It will not format the device, just zeroing it out, but in practice it is 0552 nearly the same; especially all data on the device will be erased.</para> 0553 0554 <warning><para>Be careful when entering the device name. &kfloppy; will pass 0555 the device name as is to the external programs. Especially it does not check 0556 (and the external programs do not check either) if the device is a 0557 <hardware>floppy drive</hardware> device. If you give your any of your main 0558 disk partitions as device, it will be accepted. (If the partition is mounted 0559 or if you cannot write on this device, you 0560 will probably get an error message nevertheless, avoiding the worst.)</para></warning> 0561 0562 <note><para>Even if you can specify a floppy device like 0563 <filename>/dev/fd0u2880</filename>, &kfloppy; will refuse to make a 0564 <guilabel>Full Format</guilabel> on it.</para></note> 0565 0566 <para>On &Linux;, you can select any file system that you want. On &BSD;, 0567 only UFS is currently supported (and not tested at time of writing this 0568 documentation).</para> 0569 0570 <para>When you are ready to format, click on the <guibutton>Format</guibutton> 0571 button as usual. You will get a message box asking you to verify the device name. 0572 </para> 0573 0574 <warning><para>This is the last chance to check the device name before formating. 0575 After it, it is too late.</para></warning> 0576 0577 </sect1> 0578 0579 </appendix> 0580 0581 </book> 0582 0583 <!-- 0584 Local Variables: 0585 mode: sgml 0586 sgml-minimize-attributes:nil 0587 sgml-general-insert-case:lower 0588 sgml-indent-step:0 0589 sgml-indent-data:nil 0590 End: 0591 0592 // vim:ts=2:sw=2:tw=78:noet 0593 -->