• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

mkfs.ntfs Command Examples in Linux

by Deepika

“mkfs.ntfs” is a command-line utility that creates a New Technology File System (NTFS) filesystem on a partition or disk. NTFS is a proprietary file system developed by Microsoft that is primarily used by the Windows operating system. The “mkfs.ntfs” command initializes the partition, creates the necessary file and directory structures, and writes the boot sector and other required information to the partition. NTFS offers several advantages over other file systems, including improved security, support for large file sizes and partitions, and more efficient use of disk space. After the process is complete, the partition is ready to be used to store and access files on systems running Windows or other operating systems with NTFS support.

mkfs.ntfs Command Examples

1. Create a NTFS filesystem inside partition 1 on device b (`sdb1`):

# mkfs.ntfs /dev/sdb1

2. Create filesystem with a volume-label:

# mkfs.ntfs -L volume_label /dev/sdb1

3. Create filesystem with specific UUID:

# mkfs.ntfs -U UUID /dev/sdb1

Filed Under: Linux

Some more articles you might also be interested in …

  1. git check-ref-format: Checks if a given refname is acceptable, and exits with a non-zero status if it is not
  2. cp: Copy files and directories
  3. mknod: command not found
  4. How to Setup SSH keys for “passwordless” ssh login in Linux
  5. guacd Command Examples
  6. Linux OS Service ‘iptables’
  7. adduser Command Examples in Linux
  8. aura Command Examples
  9. cups-config: Show technical information about your CUPS print server installation
  10. arch-chroot: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright