Filesystems

From Alpine Linux
Revision as of 08:52, 24 April 2008 by Mhavela (talk | contribs) (New page: == User Documentation == Documentation how to use the Alpine distro to format HD/Floppy/Other. == Install == Alpine has multiple packages to use when formatting. Different packages/progra...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

User Documentation

Documentation how to use the Alpine distro to format HD/Floppy/Other.

Install

Alpine has multiple packages to use when formatting. Different packages/programs are used to format different types of filesystems.

  • dosfstools
  • reiserfsprogs
  • e2fsprogs
  • xfsprogs
  • jfsutils
  • ntfsprogs

Note: If you want to know what the package contains you can see some interesting information by entering the next command(s)

 apk_info -f {yourpackage}
 apk_info -fL {yourpackage}

In our example we want to format the floppy as vfat.

 apk_add dosfstools

Format

If you like to format the floppy as vfat:

 mkfs.vfat /dev/fd0

If you like to format the floppy as msdos:

 mkfs.msdos /dev/fd0

Other devices

In our case we wanted to format the floppy (/dev/fd0). You can change /dev/fd0 to the device you want to format.

Partitions

Just a note on HD's. You might need to change/make a partition table on a HD you like to format. In that case you can use:

  • fdisk