<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [

<!-- Process this file with docbook-to-man to generate an nroff manual
     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
     less'.  A typical entry in a Makefile or Makefile.am is:

manpage.1: manpage.sgml
	docbook-to-man $< > $@

    
	The docbook-to-man binary is found in the docbook-to-man package.
	Please remember that if you create the nroff version in one of the
	debian/rules file targets (such as build), you will need to include
	docbook-to-man in your Build-Depends control field.

  -->

  <!ENTITY dhfirstname "<firstname>Philippe</firstname>">
  <!ENTITY dhsurname   "<surname>Coval</surname>">
  <!ENTITY dhdate      "<date>July  1, 2008</date>">
  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
       allowed: see man(7), man(1). -->
  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
  <!ENTITY dhemail     "<email>rzr@gna.org</email>">
  <!ENTITY dhusername  "Philippe Coval">
  <!ENTITY dhucpackage "<refentrytitle>FATRESIZE</refentrytitle>">
  <!ENTITY dhpackage   "fatresize">

  <!ENTITY debian      "<productname>Debian</productname>">
  <!ENTITY gnu         "<acronym>GNU</acronym>">
  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
]>

<refentry>
  <refentryinfo>
    <address>
      &dhemail;
    </address>
    <author>
      &dhfirstname;
      &dhsurname;
    </author>
    <copyright>
      <year>2003</year>
      <holder>&dhusername;</holder>
    </copyright>
    &dhdate;
  </refentryinfo>
  <refmeta>
    &dhucpackage;

    &dhsection;
  </refmeta>
  <refnamediv>
    <refname>&dhpackage;</refname>

    <refpurpose>
    Resize an FAT16/FAT32 volume non-destructively
</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <cmdsynopsis>
      <command>&dhpackage;</command>

      <arg><option>-s <replaceable>SIZE</replaceable></option></arg>

      <arg>device</arg>
    </cmdsynopsis>
  </refsynopsisdiv>
  <refsect1>
    <title>DESCRIPTION</title>

    <para>This manual page documents briefly the
      <command>&dhpackage;</command>  </para>

<para>This manual page was written for the &debian; distribution
      because the original program does not have a manual page.
</para>
</refsect1>

<refsect1>
    <title>OPTIONS</title>

    <para>These programs follow the usual &gnu; command line syntax,
      with long options starting with two dashes (`-').  A summary of
      options is included below.  For a complete description, see the
      <application>Info</application> files.</para>

    <variablelist>
      <varlistentry>
        <term><option>-h</option>
          <option>--help</option>
        </term>
        <listitem>
          <para>Show summary of options.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-s</option>
          <option>--size</option>
        </term>
        <listitem>
          <para>
Resize volume to SIZE[k|M|G|ki|Mi|Gi] bytes
</para>
        </listitem>
      </varlistentry>


      <varlistentry>
        <term><option>-i</option>
          <option>--info</option>
        </term>
        <listitem>
         <para>
Show volume information
</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-p</option>
          <option>--progress</option>
        </term>
        <listitem>
         <para>
 Show progress
</para>
        </listitem>
      </varlistentry>



      <varlistentry>
        <term><option>-q</option>
          <option>--quite</option>
        </term>
        <listitem>
         <para>
 Be quite

</para>
        </listitem>
      </varlistentry>


      <varlistentry>
        <term><option>-v</option>
          <option>--verbose</option>
        </term>
        <listitem>
          <para>Verbose (not version)</para>
        </listitem>
      </varlistentry>


    </variablelist>
  </refsect1>

<refsect1>
<title>EXAMPLES</title>

<para>
fatresize -s 2G /dev/evms/hdb2
</para>

<para>
fatresize -q -s 3G /dev/hde6
</para>

<para>
fatresize -i /dev/hdg3
</para>

<para>
Size and device is required to run.
You can resize device-mapped partitions, e.g. EVMS partitions.
</para>

</refsect1>

<refsect1>
    <title>BUGS</title>

    <para>

You can't resize FAT32 partition lesser than 512Mb because Windows(R) doesn't
work properly with small FAT32 file system. Use FAT16.

    </para>
  </refsect1>

  <refsect1>
    <title>AUTHOR</title>

    <para>This manual page was written by &dhusername; &dhemail; for
      the &debian; system (but may be used by others).  Permission is
      granted to copy, distribute and/or modify this document under
      the terms of the &gnu; General Public License, Version 2 any 
	  later version published by the Free Software Foundation.
    </para>
	<para>
	  On Debian systems, the complete text of the GNU General Public
	  License can be found in /usr/share/common-licenses/GPL-2.
	</para>

  </refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
