*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> mount_msdos (8)              



NAME    [Toc]    [Back]

     mount_msdos - mount an MS-DOS file system

SYNOPSIS    [Toc]    [Back]

     mount_msdos [-o options] [-u uid] [-g gid]  [-m  mask]  [-s]
[-l] [-9] [-G]
                 [-x] special node

DESCRIPTION    [Toc]    [Back]

     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.  This command is invoked by mount(8) when using the syntax

         mount [options] -t msdos special node

     The special device must correspond to a partition registered
in the

     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).

     The options are as follows:

     -o options
             Use the specified mount  options,  as  described  in

     -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

     -s      Force behaviour to ignore and not  generate  Windows
95/98 long

     -l       Force  listing and generation of Windows 95/98 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 Windows
             95/98 long filenames.  If no such entries are found,
-s is the
             default.  Otherwise -l is assumed.

     -9       Ignore  the special Windows 95/98 directory entries
even if deleting
 or renaming a file.  This forces -s.

     -G      This option causes the filesystem to be  interpreted
as an AtariGemdos
  filesystem.   The  differences  to the msdos
filesystem are
             minimal and limited to the boot block.  This  option
enforces -s.

     -x       If  a  directory is readable, it inherits the x attribute as well.

SEE ALSO    [Toc]    [Back]

     mount(2), disklabel(5),  fstab(5),  disklabel(8),  mount(8),

HISTORY    [Toc]    [Back]

     The  mount_msdos  utility first appeared in NetBSD 0.9.  Its
     the mount_pcfs utility, appeared  in  NetBSD  0.8,  and  was
abandoned in favor
 of the more aptly named mount_msdos.

CAVEATS    [Toc]    [Back]

     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
     Windows 95/98.

     The  default  handling  for  -s  and -l will result in empty
filesystems being
     populated with short filenames only.  To generate long filenames on empty
     DOS file systems use -l.

     Note  that  Windows 95/98 handles only access dates, but not
access times.

OpenBSD     3.6                           April      7,      1994
[ Back ]
 Similar pages
Name OS Title
mount_nullfs FreeBSD mount a loopback file system sub-tree; demonstrate the use of a null file system layer
setup Linux setup devices and file systems, mount root file system
mount_udf FreeBSD mount a UDF file system
mount Linux mount a file system
mount IRIX mount a file system
VFS_MOUNT FreeBSD mount a file system
vfsmount HP-UX mount a file system
mount HP-UX mount a file system
mount_ntfs OpenBSD mount an NTFS file system
unmount NetBSD mount or dismount a file system
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service