What will the following command accomplish in Linux? fdisk /dev/hda
A. Partition the hard drive
B. Format the hard drive
C. Delete all files under the /dev/hda folder
D. Fill the disk with zeros
2 Comments on “What will the following command accomplish in Linux?”
linofslsays:
fdisk é o utilitário que realiza particionamento de discos rígidos. Há versões do fdisk para Linux, DOS, Windows, FreeDOS e OS/2. Este capítulo foca apenas na versão para Linux.
jansen9says:
fdisk (“fixed disk or format disk“): view, create, resize, delete, change, copy and move partitions on a hard drive using its own menu driven interface.
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition’s system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
fdisk é o utilitário que realiza particionamento de discos rígidos. Há versões do fdisk para Linux, DOS, Windows, FreeDOS e OS/2. Este capítulo foca apenas na versão para Linux.
fdisk (“fixed disk or format disk“): view, create, resize, delete, change, copy and move partitions on a hard drive using its own menu driven interface.
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition’s system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Source: https://www.tecmint.com/fdisk-commands-to-manage-linux-disk-partitions/