alcatrazbr of Linux
6/21/2017 - 1:34 PM

partição, alterar label fdisk fonte: http://www.planetaunix.com.br/2014/08/formatacao-de-particoes-no-linux.html

#formatar hd no formato ext4
mkfs -t ext4 -n /dev/sda1
########
#Existem inúmeros sistemas de arquivos disponíveis para uso no Linux, sendo que os mais comuns são:
#ext2,ext3,ext4,ReiserFS,XFS,btrfs,JFS
mkfs [opções] [-t tipo oções_do_fs] dispositivo [tamanho]
#ver o sistema de arquivo uuid 
blkid /dev/sda1

#utilitario de disco
fdisk
#Sfdisk is another utility with a purpose similar to fdisk, but with more features. 
#It can display the size of each partition in MB.
sfdisk
#cfdisk - Cfdisk is a linux partition editor with an interactive user interface based on ncurses
cfdisk 
#Parted is yet another command line utility to list out partitions and modify them if needed.
parted 
#df - listar particao
df
#Improved version of df, written in python. Prints out all the hard disk 
#partitions in a easy to read manner.
pydf
# hwinfo
hwinfo
 
 #colocar label
 e2label /dev/hda1 sistema
 #ver o label
 e2label /dev/hda1
 #apagar o label
 e2label /dev/hda1 sistema