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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. How to Identify NIS Authenticated Users
  2. TIME_WAIT queue troubles
  3. pstree Command Examples in Linux
  4. ipcmk: command not found
  5. as: command not found
  6. mons: command not found
  7. How to Change the default kernel (boot from old kernel) in CentOS/RHEL 8
  8. faketime: command not found
  9. How to enable or disable service on boot with chkconfig
  10. How to Mirror Swap, Boot and Root Partions in CentOS/RHEL 7 Using mdadm Utility

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright