Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

Changes between Version 14 and Version 15 of UsersGuide/DisksFileSystems

2016-01-22T13:58:15Z (2 years ago)
Jiri Svoboda

Fdisk, mounting file systems


  • UsersGuide/DisksFileSystems

    v14 v15  
    4444|| ata_bd || ATA/ATAPI ||
    4545|| usbmast || USB mass storage ||
     47== Working with disk labels and file systems ==
     49You can use the interactive {{{fdisk}}} utility to create and manage disk labels.
     50BIOS/MBR and UEFI/GPT labels are supported. When you create a partition with {{{fdisk}}},
     51you are also prompted for file system type (The file system will be initialized as part of
     52creating the partition).
     54If you'd like to create a file system on a raw disk, you need to do it by manually
     55invoking a {{{mk*fs}}} utility.
     57== Mounting file systems ==
     59In order to make use of a file system it needs to be mounted into the filesystem namespace
     60using the {{{mount}}} command. Typing just {{{mount<enter>}}} prints out a list of mounted
     61file systems. Te basic syntax to mount a file system is:
     64# mount <fstype> <service-name> <directory>
     67{{{fstype}}} is the type of the file system (e.g. {{{ext4}}}, {{{mfs}}}), {{{service-name}}} is
     68the service name of the block device (typically of a partition) and {{{directory}}} is the directory path
     69to mount on top of.
     71You can find the list of available partition block devices in your system by typing:
     74# loc show-cat partition
     77Unlabeled disks will be represented by one 'fake' partition spanning the entire disk.