16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|<br />

|<br />

|<br />

Exit values<br />

the original owning system restarts or until the unowned file system is unmounted.<br />

Note that since the file system still exists in the file system hierarchy, the file system<br />

mount point is still in use.<br />

An unowned file system is a mounted file system that does not have an owner. The<br />

file system still exists in the file system hierarchy. As such, you can recover or<br />

unmount an unowned file system.<br />

File systems associated with a ’never move’ PFS will be unmounted during dead<br />

system recovery. For example, TFS is a ’never move’ PFS and will be unmounted,<br />

as well as any file systems mounted on it, when the owning system leaves the<br />

sysplex.<br />

As stated in “Usage notes” on page 436, –a unmount is not available to<br />

automounted file systems. However, during dead system recovery processing for an<br />

automounted file system (whose owner is the dead system), the file system will be<br />

unmounted if it is not being referenced by any other system in the sysplex.<br />

For more information on mounts and the AUTOMOVE and NOAUTOMOVE<br />

parameters, see “mount — Logically mount a file system” on page 433.<br />

0 Successful completion<br />

Related information<br />

chmount, unmount<br />

mv — Rename or move a file or directory<br />

Format<br />

Description<br />

mv [–fiMUv] [–F format|B|T|X] [–P params] [-W seqparms=params] [–Z] [[–O u<br />

| c=codeset] file1 file2<br />

mv [–ACfiMUv] [–F format|B|T|X] [–S suffix] [–Z] [–O u | c=codeset] file ...<br />

directory<br />

mv –Rr [–fi] [–Z] [–O u | c=codeset] directory1 directory2<br />

mv renames files or moves them to a different directory. If you specify multiple files,<br />

the target (that is, the last path name on the command line) must be a directory. mv<br />

moves the files into that directory and gives them names that match the final<br />

components of the source path names. When you specify a single source file and<br />

the target is not a directory, mv moves the source to the new name, by a simple<br />

rename if possible.<br />

You can also use mv to move files to and from MVS data sets. If you specify more<br />

than one file to be moved, the target (last path name on command line) must be<br />

either a directory or a partitioned data set. If the target is an MVS partitioned data<br />

set, the source cannot be a <strong>UNIX</strong> directory.<br />

mv does not support the moving to or from GDGs. To use those MVS data sets,<br />

user must specify the real data set name.<br />

mount<br />

Chapter 2. Shell command descriptions 437

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!