Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mount_msdos(8) [netbsd man page]

MOUNT_MSDOS(8)						    BSD System Manager's Manual 					    MOUNT_MSDOS(8)

NAME
mount_msdos -- mount an MS-DOS file system SYNOPSIS
mount_msdos [-9Gls] [-g gid] [-M mask] [-m mask] [-o options] [-t gmtoff] [-u uid] special node DESCRIPTION
The mount_msdos command attaches the MS-DOS filesystem residing on the device special to the global filesystem namespace at the location indicated by node. Both special and node are converted to absolute paths before use. This command is normally executed by mount(8) at boot time, but can be used by any user to mount an MS-DOS file system on any directory that they own (provided, of course, that they have appro- priate access to the device that contains the file system). Support for FAT16 and VFAT32 as well as long file names is available. The options are as follows: -9 Ignore the special Win'95 directory entries even if deleting or renaming a file. This forces -s. -G This option causes the filesystem to be interpreted as an Atari-Gemdos filesystem. The differences to the MS-DOS filesystem are minimal and limited to the boot block. This option also allows mounting X680x0's Human68k floppies. This option enforces -s. -g gid Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is being mounted. -l Force listing and generation of Win'95 long filenames and separate creation/modification/access dates. If neither -s nor -l are given, mount_msdos searches the root directory of the filesystem to be mounted for any existing Win'95 long filenames. If the filesystem is not empty and no such entries are found, -s is the default. Otherwise -l is assumed. -M mask Specify the maximum file permissions for directories in the file system. The value of -m is used if it is supplied and -M is omitted. -m mask Specify the maximum file permissions for files in the file system. (For example, a mask of 755 specifies that, by default, the owner should have read, write, and execute permissions for files, but others should only have read and execute permissions. See chmod(1) for more information about octal file modes.) Only the nine low-order bits of mask are used. The value of -M is used if it is supplied and -m is omitted. The default mask is taken from the directory on which the file system is being mounted. -o options Use the specified mount options, as described in mount(8). -s Force behaviour to ignore and not generate Win'95 long filenames. See also -l. -t gmtoff Set the time zone offset (in seconds) from UTC to gmtoff, with positive values indicating east of the Prime Meridian. If not set, the user's current time zone will be used. -u uid Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is being mounted. EXAMPLES
To remove the 'execute' permission bit for all files, but still keep directories searchable, use: mount_msdos -m 0644 -M 0755 /dev/wd0e /msdos SEE ALSO
mount(2), unmount(2), fstab(5), mount(8) HISTORY
The mount_msdos utility first appeared in NetBSD 0.9. Its predecessor, the mount_pcfs utility appeared in NetBSD 0.8, and was abandoned in favor of the more aptly-named mount_msdos. BUGS
Compressed partitions are not supported. The use of the -9 flag could result in damaged filesystems, albeit the damage is in part taken care of by procedures similar to the ones used in Win'95. BSD
November 16, 2012 BSD

Check Out this Related Man Page

MOUNT_EXFAT(8)						    BSD System Manager's Manual 					    MOUNT_EXFAT(8)

NAME
mount_exfat -- mount an ExFAT file system SYNOPSIS
mount_exfat [-o options] [-u uid] [-g gid] [-m mask] device directory DESCRIPTION
The mount_exfat command mounts the ExFAT filesystem from the device device onto the directory given by directory. This command is normally invoked by diskarbitrationd(8) as the result of detecting a device with a file system recognized as ExFAT. It can also be invoked indirectly by executing the mount(8) command with the -t exfat option. The options are as follows: -o options Use the specified mount options, as described in mount(8). -u uid Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is being mounted. -g gid Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is being mounted. -m mask Specify the maximum file permissions for files in the file system. (For example, a mask of 755 specifies that, by default, the owner should have read, write, and execute permissions for files, but others should only have read and execute permissions. See chmod(1) for more information about octal file modes.) Only the nine low-order bits of mask are used. The default mask is taken from the directory on which the file system is being mounted. If none of the -u, -g, or -m options are given, the volume will be mounted with the MNT_UNKNOWNPERMISSIONS flag (equivalent to the -o noowners option). If the device is internal and not removable, the volume will be mounted with the MNT_ASYNC flag (equivalent to the -o async option) by default. That default can be overridden with the -o noasync option. When mounted with the -o noasync option, metadata updates are synced to disk frequently (by default, 50ms after the system call that changed the metadata returns to its caller). SEE ALSO
fsck_exfat(8), exfat.util(8), mount(2), unmount(2), fstab(5), mount(8) HISTORY
The mount_exfat utility first appeared in Mac OS X 10.6.3. Darwin January 19, 2010 Darwin
Man Page