How format disk in Linux Ubuntu Fedora Debian.
#mkfs.ext3 /dev/sda6
#mkfs.ext4 /dev/sda6
#mkfs.ntfs /dev/sda6
--------------------- vim /etc/stab
/dev/sda6 /mnt/sda6 ext4 defaults 0 2
--------------------- To save the changes in /etc/fstab
#mount -a
---------------------
Label the partition
You can label the partition using e2label. For example, if you want to label the new partition /backup, enter
# e2label /dev/sdb1 /backup
You can use label name instead of partition name to mount disk using /etc/fstab:
LABEL=/backup /disk1 ext3 defaults 1 2
No comments:
Post a Comment