Forrest logo
back to the mkfs.ntfs tool

mkfs.ntfs:tldr:ea34d

mkfs.ntfs: Create filesystem with specific UUID.
$ mkfs.ntfs -U ${UUID} ${-dev-sdb1}
try on your machine

The command you provided is used to create an NTFS file system on a specific device using a specified UUID.

Here is the breakdown of the command:

  1. mkfs.ntfs: This is the command used to create an NTFS file system. It is typically part of the ntfsprogs package in Linux.
  2. -U ${UUID}: The -U option is used to specify the UUID (Universally Unique Identifier) for the file system. A UUID is a unique identifier assigned to a file system to ensure its uniqueness. The ${UUID} is a placeholder that needs to be replaced with the actual UUID you want to assign to the file system.
  3. ${-dev-sdb1}: The ${-dev-sdb1} is a placeholder for the device or partition on which you want to create the NTFS file system. /dev/sdb1 is an example of a device or partition name. You need to replace ${-dev-sdb1} with the actual device or partition name where you want to create the NTFS file system.

To use this command, you need to replace the placeholders with the actual UUID and the device/partition name you desire.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mkfs.ntfs tool