Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
PHP Web Host - Quality Web Hosting For All PHP Applications

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 71 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       mkntfs [ -s sector-size ] [ -c cluster-size ] [ -L volume-
       label ] [ -z mft-zone-multiplier ] [ -f | -Q ] [ -n ] [ -q
       ] [ -v ] [ -vv ] [ -C ] [ -F ] [ -I ] [ -V ] [ -l ] [ -h ]
       device [ number-of-sectors ]


       mkntfs  is used to create a NTFS 1.2 (Windows NT 4.0) file
       system on a device (usually a disk partition).  device  is
       the   special   file  corresponding  to  the  device  (e.g
       /dev/hdXX).  number-of-sectors is the number of blocks  on
       the  device.  If omitted, mkntfs automagically figures the
       file system size.


       -s sector-size
              Specify the size of sectors in bytes. Valid  sector
              size values are 256, 512, 1024, 2048 and 4096 bytes
              per  sector.  If  omitted,  mkntfs  sector-size  is
              determined   automatically  and  if  that  fails  a
              default of 512 bytes per sector is used.

       -c cluster-size
              Specify the size of clusters in bytes. Valid  clus­
              ter  size  values  are powers of two, with at least
              256, and at most 65536 bytes per cluster. If  omit­
              ted,  mkntfs cluster-size is determined by the vol­
              ume size. The value is determined as follows:
              Volume   size      Default cluster
              0        - 512MB         512 bytes
              512MB    - 1GB          1024 bytes
              1GB      - 2GB          2048 bytes
              2GB      +              4096 bytes

              Note that the default cluster size is set to be  at
              least  equal to the sector size as a cluster cannot
              be smaller than a sector. Also,  note  that  values
              greater  than  4096  have the side effect that com­
              pression is disabled on the volume (due to  limita­
              tions  in  the NTFS compression algorithm currently
              in use by Windows).

       -L volume-label
              Set the volume label for the filesystem.

       -z mft-zone-multiplier
              Set the MFT zone multiplier, which  determines  the
              size  of the MFT zone to use on the volume. The MFT
              zone is the area at the  beginning  of  the  volume
              reserved  for  the  master  file table (MFT), which
              stores the on disk inodes  (MFT  records).   It  is
                  4        50.0%

       -f     Same as -Q.

       -Q     Perform  quick  format. This will skip both zeroing
              of the volume and bad sector checking.

       -n     Causes mkntfs to not actually create a  filesystem,
              but display what it would do if it were to create a
              filesystem. All steps of the format are carried out
              except the actual writing to the device.

       -q     Quiet execution; only errors are written to stderr,
              no output to stdout occurs at all. Useful if mkntfs
              is run in a script.

       -v     Verbose execution.

       -vv    Really verbose execution; includes the verbose out­
              put from the -v option as well as additional output
              useful for debugging mkntfs.

       -C     Enable compression on the volume.

       -F     Force  mkntfs  to run, even if the specified device
              is not a block special device,  or  appears  to  be

       -I     Disable  content  indexing  on the volume. (This is
              only meaningful on Windows 2000 and later.  Windows
              NT  4.0  and  earlier  ignore  this  as they do not
              implement content indexing at all.)

       -V     Print the version number of mkntfs and exit.

       -l     Print the licensing information of mkntfs and exit.

       -h     Print the usage information of mkntfs and exit.


       mkntfs writes the backup boot sector to the last sector of
       the block device being formatted.  However,  current  ver­
       sions  of the Linux kernel (all versions up to and includ­
       ing todays 2.4.18) either only report an  even  number  of
       sectors when the sector size is below 1024 bytes, which is
       the case for most hard  drives  today  (512  bytes  sector
       size)  or they return the correct number but accessing the
       last sector fails. Either way, this means that when a par­
       tition  has  an  odd  number of 512-byte sectors, the last
       sector is either not reported to us at all or  it  is  not
       writable  by  us  and  hence  the created NTFS volume will
       either have the backup boot sector placed one sector ahead
       parmakov    <aia21@cantab.net>   (if   that   fails,   use


       mkntfs is part of the Linux-NTFS project and is  available
       for      download     from     http://sf.net/project/show­
       files.php?group_id=13956 in source (tar ball and rpm)  and
       pre-compiled binary (i386 rpm and deb) form.


       badblocks(8), ntfsprogs(8)

Linux-NTFS version 1.7.1    March 2002                  MKNTFS(8)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds