Paragon Knowledge Base System Last Edit: 22.02.2008
ID 5833:   Mount options

Q: What are the mount options?

A: The common form of the mount command is:

mount [options]

Additional options can be given separately after the “-o” symbol, or as one parameter separated with commas.

These two commands are equal:

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o x –o y –o z

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o x,y,z


-o iocharset={NAME}

The NTFS file system stores all file/directory names in Unicode format which can represent any character from any language. By default NTFS for Linux driver converts these names to ASCII which is compatible with English filenames only. It follows that letters like å or ß will be shown incorrectly.

For this purpose you can choose either utf8 that can represent all characters (like Unicode), or your own codepage, e.g. gb2312 (Simplified Chinese), iso8859-1 (Western Europe), iso8859-2 (Central Europe), iso8859-8 (Hebrew).

Below are some examples of the mount command:

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o iocharset=utf8

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o iocharset=iso8859-8

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o iocharset= gb2312

-o umask={VALUE}

The default permissions given to a mounted NTFS volume are rwx------ (for security reasons). The umask parameter controls these permissions of files/directories.

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o umask=0222

-o fmask={VALUE}

-o dmask={VALUE}

The umask parameter change the permissions for files and directories. fmask works on files and dmask works on directories in the same way. The effect of this options can be combined, too.

Below are some examples:

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o fmask=0077

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o dmask=0222

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o fmask=0022, dmask=0077

-o uid={USERID}

By default all files on a mounted NTFS volume will be owned by root. By specifieng the uid parameter you can set the owner of the files. The userid can be any name from /etc/passwd, or any number representing a user id.

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o uid=user1

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o uid=600

-o gid={GROUPID}

By default all the files on a mounted NTFS volume will have a group owner of root. By specifieng the gid parameter you can set the group of the files.

The groupid can be any name from /etc/group, or any number representing a group id.

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o gid=group1

mount –t ufsd /dev/hda1 /mnt/ntfs_0 –o gid=601

-o quiet

No errors appear after invoking chmods/chowns functions if a NTFS partition is mounted using this parameter. After invoking chmods/chowns functions nothing will be changed too.

-o noatime

All files and directories will not update their last access time attribute if a NTFS partition is mounted with this parameter.

-o showmeta

Use this parameter to show all meta-files (System Files) on a mounted NTFS partition. By default, all meta-files are hidden.

-o nocase

All files and directories are written with case insensitive but case preserved.

-o ro

To mount the NTFS volume in the read-only mode.

Covered Products :
1NTFS for Linux 6.x Professional Edition,    6.x Personal Edition,    & HFS 8.1 Express,    6.x Personal Edition,    6.x Professional Edition,    & HFS 8.1 Professional
Constant address of article: