mount_msdos man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]

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

NAME
     mount_msdos - mount an MS-DOS file system

SYNOPSIS
     mount_msdos [-o options] [-u uid] [-g gid] [-m mask] [-s] [-l] [-9] [-G]
		 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 indi-
     cated by node. 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 appropriate
     access to the device that contains the file system).

     Options can be specified as a single letter flag, with an optional value,
     in the standard getopt(3) style.  Alternatively, options can be given as
     arguments via the -o flag.	 In this form, a long name can be used; if a
     value is required, it should appear following an equals sign, e.g., -o
     uid=101. The long forms below appear in brackets.

     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 sys-
	     tem.  (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.

     -s [short]
	     Force behaviour to ignore and not generate Win'95 long filenames.

     -l [long]
	     Force listing and generation of Win'95 long filenames and sepa-
	     rate creation/modification/access dates.

	     If neither -s [short] nor -l [long] are given, mount_msdos
	     searches the root directory of the filesystem to be mounted for
	     any existing Win'95 long filenames.  If no such entries are
	     found, -s [short] is the default. Otherwise -l [long] is assumed.

     -9 [nowin95]
	     Ignore the special Win'95 directory entries even if deleting or
	     renaming a file. This forces -s [short].

     -G [gem]
	     This option causes the filesystem to be interpreted as an Atari-
	     Gemdos filesystem. The differences to the msdos filesystem are
	     minimal and limited to the boot block. This option enforces -s
	     [short].

SEE ALSO
     mount(2),	unmount(2),  fstab(5),	mount(8)

CAVEATS
     The use of the -9 [nowin95] flag could result in damaged filesystems, al-
     beit the damage is in part taken care of by procedures similar to the
     ones used in Win'95.

     The default handling for -s [short] and -l [long] will result in empty
     filesystems to be populated with short filenames only. To generate long
     filenames on empty DOS filesystems use -l [long].

     Note that Win'95 handles only access dates, but not access times.

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.

 NetBSD				 April 7, 1994				     2
[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net