Changeset ee6284c in rtems for doc/filesystem


Ignore:
Timestamp:
10/08/99 18:53:20 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
29ed4d5
Parents:
7779ace
Message:

First cut at merging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/filesystem/mounting.t

    r7779ace ree6284c  
    99@chapter Mounting and Unmounting File Systems
    1010
    11 ? Characteristics of a Mount Point
    12 ? The mount point must be a directory. It may have files and other directories under
    13 it. These files and directories will be hidden when the file system is mounted.
    14 ? The task must have read/write/execute permissions to the mount point or the
    15 mount attempt will be rejected.
    16 ? Only one file system can be mounted to a single mount point.
    17 ? The Root of the mountable file system will be referenced by the name of the mount
    18 point after the mount is complete.
    19 ? Mount table chain
    20 ? Content of the mount table chain entry
     11@section Mount Points
     12
     13The following is the list of the characteristics of a mount point:
     14
     15@itemize @bullet
     16
     17@item The mount point must be a directory. It may have files and other
     18directories under it. These files and directories will be hidden when the
     19file system is mounted.
     20
     21@item The task must have read/write/execute permissions to the mount point
     22or the mount attempt will be rejected.
     23
     24@item Only one file system can be mounted to a single mount point.
     25
     26@item The Root of the mountable file system will be referenced by the name
     27of the mount point after the mount is complete.
     28
     29@end itemize
     30
     31@section Mount Table Chain
     32
     33Each entry in the mount table chain is of the following type:
    2134
    2235struct rtems_filesystem_mount_table_entry_tt
    2336@{
    24    Chain_Node                                Node;
    25    rtems_filesystem_location_info_t         mt_point_node;
    26    rtems_filesystem_location_info_t         mt_fs_root;
    27    int                                       options;
    28    void                                     *fs_info;
     37   Chain_Node                             Node;
     38   rtems_filesystem_location_info_t       mt_point_node;
     39   rtems_filesystem_location_info_t       mt_fs_root;
     40   int                                    options;
     41   void                                  *fs_info;
    2942
    30    rtems_filesystem_limits_and_options_t   pathconf_limits_and_options;
     43   rtems_filesystem_limits_and_options_t  pathconf_limits_and_options;
    3144
    3245  /*
     
    3447   *  this will need to be used.
    3548   *
    36    *  The best option long term for this is probably an open file descriptor.
     49   *  The best option long term for this is probably an
     50   *  open file descriptor.
    3751   */
    38    char                                     *dev;
     52   char                                  *dev;
    3953@};
    4054
    41 ? Adding entries to the chain during mount()
    42 When a file system is mounted, its presence and location in the file system
    43 hierarchy is recorded in a dynamic list structure known as a chain. A unique
    44 rtems_filesystem_mount_table_entry_tt structure is logged for each file system that is
    45 mounted. This includes the base file system.
     55@section Adding entries to the chain during mount
    4656
    47 ? Removing entries from the chain during unmount()
    48 When a file system is dismounted its entry in the mount table chain is extracted
    49 and the memory for this entry is freed.
     57When a file system is mounted, its presence and location in the file
     58system hierarchy is recorded in a dynamic list structure known as a chain.
     59A unique rtems_filesystem_mount_table_entry_tt structure is logged for
     60each file system that is mounted. This includes the base file system.
     61
     62@section Removing entries from the chain during unmount
     63
     64When a file system is dismounted its entry in the mount table chain is
     65extracted and the memory for this entry is freed.
    5066
    5167
Note: See TracChangeset for help on using the changeset viewer.