Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dcopy(1m) [hpux man page]

dcopy(1M)																 dcopy(1M)

NAME
dcopy - copy HFS file system with compaction SYNOPSIS
fsize[source_fs destination_fs DESCRIPTION
The command copies an existing HFS file system (source_fs) to a new HFS file system (destination_fs), appropriately sized to hold the reor- ganized results. For best results, the source file system should be a raw device, and the destination file system should be a block device. Always run on unmounted file systems. (In the case of the root file system, copy it to a new minidisk.) If no options are specified, copies files from source_fs, compressing directories by removing vacant entries and spacing consecutive blocks in a file by the optimal rotational gap. If options such as or are specified, the destination file system structure will be different from that of the source file system. makes the destination file system identical to the source file system and preserves the pack and volume labels. Thus, to compress a file system without moving it, use to copy the files to another file system and the command to copy the file back (see dd(1)). Directory compression is accomplished by running on the primary copy of the file system and allowing the modified directories to propagate to the other copies of the file system in the normal manner. Options recognizes the following options: Move subdirectories to the beginning of directories. Specify the file system size (fsize) and inode-list size (isize) in blocks. If this option is not specified, the source file-system value is used. Specify the HFS file system type. The type of a file system can be determined with the command (see fstyp(1M)). See Supply device information for creating the best organization of blocks in a file. cyl is the number of block per cylinder; skip is the number of blocks to skip. Report size of source and destination file system. Echo the completed command line, but performs no other actions. The command line is generated by incorporating the user-specified options and other information derived from This option allows you to verify the command line. EXAMPLES
can be executed with or without options. If no options are specified as in this example, the source and destination file systems are iden- tical. Any differences between the two file systems lie only in the available disk space. If options are specified, expect a major difference between the source and destination file system structure: WARNINGS
produces invalid results if run on a mounted file system. The figures specified in option arguments cannot be smaller than corresponding figures in the source file system. DEPENDENCIES
only operates on HFS file systems. AUTHOR
was developed by HP. SEE ALSO
dd(1), fstyp(1M), disk(7). STANDARDS CONFORMANCE
dcopy(1M)

Check Out this Related Man Page

mkfs(1M)																  mkfs(1M)

NAME
mkfs - construct a file system (generic) SYNOPSIS
FStype] specific_options] special [operands] FStype] special DESCRIPTION
The command creates a file system by writing on the special file special. operands are listed on file-system-specific manpages (see the section). Options recognizes the following options: Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined from the file by matching special with an entry in that file. If there is no entry in then the file sys- tem type is determined from the file Display the command line that was used to create the file system. The file system must already exist. This option provides a means of determining the parameters used to construct the file system. Specify options specific to the file system type. specific_options is a list of suboptions and/or keyword/attribute pairs intended for an FStype-specific module of the command. See the file system specific manual entries for a description of the specific_options that are supported, if any. Echo the completed command line, but perform no other action. The command line is generated by incorporating the specified options and arguments with other information derived from This option allows the user to verify the command line. EXAMPLES
Execute the command to create a 32MB HFS file system on Execute the command on an HFS file system, to recreate the command that was used to create the file system on AUTHOR
was developed by HP and the University of California, Berkeley. FILES
Specifies the default file system type. Static information about the file systems. SEE ALSO
chmod(1), bdf(1M), df(1M), fsadm(1M), fsck(1M), fstyp(1M), mkfs_hfs(1M), mkfs_vxfs(1M), newfs(1M), fstab(4), group(4), passwd(4), fs_wrap- per(5). STANDARDS CONFORMANCE
mkfs(1M)
Man Page