System Management
An administrator must format the new partition /dev/sdc1 with ext4 so it can be shrunk later, and give it the label "data". Which command does this?
Show the answer
Correct answerD. mkfs.ext4 -L data /dev/sdc1
mkfs.ext4 with -L creates an ext4 filesystem and sets its label. The lowercase -l option reads a bad-block list from a file named data, so it does not set a label. mkfs.xfs creates XFS, which cannot be shrunk.