HP 3000 Manuals

System Management Tasks [ New Features of MPE/iX: Using the Hierarchical File System ] MPE/iX 5.0 Documentation


New Features of MPE/iX: Using the Hierarchical File System

System Management Tasks 

Additional tasks to try are restricted to users having appropriate
authority, system managers (having SM capability).

Create a directory under root 

MPE/iX HFS allows you to create directories and files directly under the
root directory.  These directories and files are at the same "file level"
as MPE accounts.
_______________________________________
|                                     |
|                                     |
|      :NEWDIR /dir10                 |
|      :LISTFILE /dir10               |
|                                     |
|                                     |
|      PATH=/                         |
|                                     |
|      dir10/                         |
|                                     |
_______________________________________

            

This example creates, then lists, the directory dir10 created under the
root directory.

Security and directories 

The ability to move to, change, and work in directories is controlled by
access control definitions (ACDs).  ACDs pair up specific access
permissions and users.  The following access permissions apply to
directories:

   *   Create directory entries (CD)

   *   Delete directory entries (DD)

   *   Read directory entries (RD)

   *   Traverse directory entries (TD)

As a system manager, you can access all directories.  Other users are
able to access them only if they have the proper permissions.

Check directory permissions 

Use LISTFILE with the ACD option to check directory permissions.

For example:
____________________________________________________________________
|                                                                  |
|                                                                  |
|      :listfile /dir10,acd                                        |
|                                                                  |
|       PATH=/                                                     |
|                                                                  |
|      -------------------ACD ENTRIES---------------------FILENAME |
|                                                                  |
|      @.@                        : RACD                  dir10/   |
|                                                                  |
|                                                                  |
____________________________________________________________________

            

In the example, ACDs are listed for the directory called dir10.  All
users only have read ACD access to dir10.  Only the creator and the
system manager can access the contents of the directory or traverse the
directory.

Change directory permissions 

To make directories accessible to your users, you will need to change the
ACDs on the new directories.  You do this using the ALTSEC command.

     :ALTSEC /dir10;REPACD=(CD,DD,RD,TD,RACD : @.@) 

This command gives all users in all accounts unlimited access to the
directory dir10.

Move to a directory under root 

Users with appropriate access (in this case, you only need TD access) can
move to a directory that is directly below root.
_______________________________________
|                                     |
|                                     |
|      :chdir /dir10                  |
|      /dir10:                        |
|                                     |
_______________________________________

            

This command moves you into directory dir10 and makes it your CWD.

Report disk usage 

Use the DISKUSE command to report disk usage information about
directories:
____________________________________________________
|                                                  |
|                                                  |
|      :diskuse /YOURACCT/YOURGRP                  |
|                SECTORS                           |
|            TREE       LEVEL   DIRECTORY          |
|                       BELOW                      |
|              96          64   /YOURACCT/YOURGRP/ |
|                                                  |
____________________________________________________

            

The REPORT command provides information about files in groups only.

Compare the output by issuing the comparable REPORT command:
____________________________________________________________________
|                                                                  |
|                                                                  |
|      /dir10:REPORT YOURGRP.YOURACCT                              |
|      ACCOUNT   FILESPACE-SECTORS   CPU-SECONDS   CONNECT-MINUTES |
|         /GROUP   COUNT    LIMIT   COUNT  LIMIT    COUNT   LIMIT  |
|      YOURACCT       64       **      18     **       26      **  |
|         /YOURGRP    64       **       0     **        0      **  |
|                                                                  |
____________________________________________________________________

            

Back up all files and directories 

You can still use the following command to store all of the files and
directories on the system:

     :STORE @.@.@ 

You can also use:

     :STORE / 



MPE/iX 5.0 Documentation