| United States-English |
|
|
|
![]() |
Release Notes for HP-UX 10.30: HP 9000 Computers > Chapter 9 Commands and Libraries Changed Commands in Section 1M |
|
This section summarizes changes to commands in Section 1M of the HP-UX Reference that are not discussed elsewhere in this document. Commands changed at 10.30:
Commands changed at 10.20:
Commands changed at 10.10:
Commands changed at 10.01:
Commands changed at 10.0:
The following commands now consist of a "wrapper", a script that determines the file system type and then executes the code appropriate to that type:
See the entries for these commands later in this section. For details of the "wrapper", see the fs_wrapper(5) manpage on a 10.x system. You will need to specify the file-system type, either on the command line for individual commands, or in /etc/fstab. (If you do not, the commands will look in an HP-supplied file called /etc/default/fs; this may produce the result you want, but you should not rely on it.) The file system-specific commands are stored in /sbin/fs/[FStype] or /usr/lbin/fs/[FStype]. They are not meant to be executed directly. For 10.10:
For 10.01:
Changed options:
Option no longer supported:
Output format change: The header now aligns with the statistics, and there is always a space between fields. catman has a new option at 10.01, -A <alt-root>, to support client/server diskless environments. Under 10.01, diskless clients mount /usr read-only, and they cannot make changes to /usr/share/man. Therefore, catman(1M) can only be run on a server, and you may need to run catman with the -A option, depending on where the clients' manpages are located:
For 10.0:
config is the basis for all kernel builds on 10.x systems.
New option: -s -s prevents config from calling make to build the kernel; conf.c and conf.mk are output. Option no longer supported: -a This option produced a script to help make device files. insf(1M) and mksf(1M) (supported on both the Series 700 and S800 platforms) are the best way to make device files on a 10.x system. config accepts a system file as input, usually /stand/system. This file is similar in format to the 9.x Series 700 dfile, but the root and console device statements are no longer used. By default config writes its output files into the directory /stand/build (if the input file is /stand/system) and calls make(1) to compile and link a kernel, /stand/build/vmunix_test. The /etc/master file was not supported as of 10.0. By default config now searches the directory /usr/conf/master.d and reads all the files in it for device specifications, tunable specifications, etc. See the master(4) manpage for a description of the master files. For 10.30: The number of jobs that that can be accommodated in the queues managed by cron has been increased from 40 to 100. Also, the following defect was fixed: DSDe417734
For 10.0:
New options:
As of 10.0, this command is stored in /usr/sbin/dcopy. For 10.10:
For 10.0:
df now has both generic and file system-specific syntax and options. Many of the options were new for 10.0, including -F[FSType], -V (verbose), -e (files free), -g (statvfs report) -i (inodes report), -k (allocation in KBytes) -n (file system name), -o (file system-specific options), -v (blocks report) . For details, see the manpages or the HP-UX Reference, under df for generic usage and df_[FSType], for file system-specific usage — for example, look under df_hfs(1M) for HFS behavior. Changed option:
You will need to specify the type of the file system df is to operate on — either on the command line or in /etc/fstab. As of 10.0, this command is stored in /usr/bin/df. The 9.x version of the command is still available under /usr/old. This command has been modified to support multiple file systems. The changes will not affect existing (9.x) scripts. For 10.0:
New options:
frecover(1M) will recover extent attributes. Other commands that support archiving extent attributes include cpio(1) and ftio(1). See the entries for those commands in this chapter and the manpages. For 10.0:
ff now has both generic and file system-specific syntax and options. For details, see the manpages or the HP-UX Reference, under ff for generic usage and ff_[FSType] for file system-specific usage — for example, look under ff_hfs(1M) for HFS behavior. New options:
You will need to specify the type of the file system ff is to operate on — either on the commandline or in /etc/fstab. 10.x ff consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. As of 10.0, this command is stored in /usr/sbin/ff. For 10.10: The frecover(1M) command might experience intermittent name cache failure. To offset this intermittent failure, the directory/file name is added to standard error even if this condition is encountered. For 10.01: Changed to support recovery of files that have extent attributes. New option:
For 10.0:
fsck now has both generic and file system-specific syntax and options. For details, see the manpages or the HP-UX Reference, under fsck for generic usage and fsck_[FSType] for file system-specific usage — for example, look under fsck_hfs(1M) for HFS behavior. New options:
Changed option:
You will need to specify the type of the file system fsck is to operate on — either on the command line or in /etc/fstab. 10.x fsck consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. As of 10.0, this command is stored in /usr/sbin/fsck. For 10.0:
fsdb now has both generic and file system-specific syntax and options. For details, see the HP-UX Reference, under fsdb for generic usage and fsdb_[FSType] for file system-specific usage — for example, look under fsdb_hfs(1M) for HFS behavior. New options:
You will need to specify the type of the file system fsdb is to operate on — either on the commandline or in /etc/fstab. 10.x fsdb consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. For 10.20: fuser(1M) reports the processes that has memory-mapped the files that are passed as arguments to the process. The letter "m" will denote the memory-mapped processes. fuser(1M) output format will be different if a file given as the argument to a process has been memory-mapped by any process. Programs or scripts that are dependent on the format will have to take into consideration the new letter "m" in the output. For 10.0:
New options:
Report output changes:
These changes will affect scripts that explicitly direct stderr and stdout to the same file. For 10.0:
New options:
Options no longer supported:
Series 700 and 800 Convergence: As of 10.0, these commands were supported in the same way on the Series 700 and 800, the only difference being which drivers are available. insf creates a device file for the "whole disk", not for each section or hard partition. For more information, see “I/O Convergence ” and the Configuring HP-UX for Peripherals manual.
For 10.0:
As of 10.0, ioscan behaves the same way on the Series 700 and 800; the 9.x Series 800 command is the basis. New options:
Changed option:
Option no longer supported:
For more information, see “I/O Convergence ” and the Configuring HP-UX for Peripherals manual. For 10.0:
New options:
Except in the case of a tape, you can omit -F on the command line if you have defined the file-system type in /etc/fstab. 10.x labelit consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. For 10.0: localedef has undergone major changes. These are summarized below; see the manpage for details.
New options:
Options no longer supported:
Grammar changes:
If you have customized 9.x locales, you will need to modify the corresponding 10.x locales to get the same results on 10.x for applications that are linked shared. HP is providing a special 9.0-based localedef under /usr/old/usr/bin on 10.x systems for this purpose. This special localedef supports only the -d option to dump a locale. Dump your 9.x-based locale, then apply the 9.x customizations to the 10.x locale source. This is safer than using the 9.x locale as the base and applying 10.x changes to it, and should be easier in most cases. For example, to create a customized 10.x locale which in 9.x was based on the german locale, do the following:
Applications that were linked shared on 9.x will use the 10.x locales. End-users may see some differences because of changes to locales. If the 9.x application was linked archived on 9.x, it will not be affected by 10.x locale changes, whether or not you customized 9.x locales; 9.x locales are still supported in 10.x, though this support will not necessarily continue beyond 10.01. See the "Locales" section in the README for NLS in 10.01 for more information on changes affecting NLS locales. For 10.0:
lsdev without options behaves the same as it did 9.x Series 800 systems. The major difference between 9.x and 10.x on the Series 700 is that the device driver information is extracted from the running kernel instead of a static table. The Class column in the output is also new on the Series 700. For 10.0:
New options:
Changed options:
Options no longer supported:
For 10.0:
mkfs now has both generic and file system-specific syntax and options. For details, see the HP-UX Reference, under mkfs(1M) for generic usage and mkfs_[FSType] for file system-specific usage — for example, look under mkfs_hfs for HFS behavior. New options:
Changed option:
Changes from previous Series 700 or 800 behavior: The following behavior is now common to both platforms:
You will need to specify the type of the file system mkfs is to operate on — either on the commandline or in /etc/fstab. 10.x mkfs consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. As of 10.0, this command is stored in /usr/sbin/mkfs. For 10.20: The mount(1M) and umount(1M) commands have been modified to:
Usage for mount:
The following options are new for HFS- and VxFS-specific mount commands:
The following options are obsolete: -u and -s. -t type was obsoleted at 10.0. The replacement is -F FStype. The pre-10.0 interface-format is also obsolete. Instead, use the 10.0 interface-format. Usage for umount:
The following options are obsolete:
The location of the mount and umount commands remains in /usr/sbin/mount and /usr/sbin/mount, respectively. There are backward compatibility issues. The -u and -s options have been obsoleted. Also, the -t type option that was obsolete in 10.0 is no longer supported. It is replaced by -F FStype. There is no significant impact to the performance of the mount and the umount commands. However, the performance of these commands is dependent on the type of the file system they operate on. You must have superuser access to mount/umount file systems using these commands. For 10.0:
mount and umount now have both generic and file system-specific syntax and options. For details, see the manpages or HP-UX Reference, under mount and umount for generic usage, and mount_[FSType] and umount_[FSType] for file system-specific usage — for example, look under mount_hfs(1M) and umount_hfs(1M) for HFS behavior. New options:
Changed option (mount):
You will need to specify the type of the file system the command is to operate on — either on the command line or in /etc/fstab. 10.x mount and umount consist of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. For 10.30: The mrouted daemon is based on the public domain mrouted 3.8. The mrouted 3.8 command contains bug fixes and replaces mrouted versions 3.5, 3.6, and 3.7.
For details, see the mrouted(1M) manpage. For 10.20: For 10.20, a new option is added to the HFS version of the ncheck command. The -S sector_range option reports on files that use the specified sector(s). With the -S option, ncheck will print a table that reports the inode and pathname associated with the specified sectors. If no inode corresponds to the given sector, ncheck reports on what that sector is used for. The output of ncheck has not changed for the case where -S is not specified. If the -S option is specified, ncheck prints a new table. Because -S is a new option, there are no backwards compatibility issues with respect to scripts that use ncheck. If the -S option is specified, the output will be different than the output of ncheck in previous releases. For 10.0:
ncheck now has both generic and file system-specific syntax and options. For details, see the manpages or the HP-UX Reference, under ncheck for generic usage and ncheck_[FSType] for file system-specific usage — for example, look under ncheck_hfs(1M) for HFS behavior. New options:
Changed option:
You will need to specify the type of the file system ncheck is to operate on — either on the command line or in /etc/fstab. 10.x ncheck consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. As of 10.0, this command is stored in /usr/sbin/ncheck. The 9.x version of the command is available on 10.x systems under /usr/old. For 10.20: A new -S sector_range option has been added to the HFS version of the ncheck command. With the -S option, ncheck will print a table that reports the inode and pathname associated with the specified sectors. If no inode corresponds to the given sector, ncheck reports on what that sector is used for. The output of ncheck has not changed if -S is not specified. Because -S is a new option, there are no backwards compatibility issues with respect to scripts that use ncheck. If the -S option is specified, the output will be different than the output of ncheck in previous releases. For 10.0:
newfs now has both generic and file system-specific syntax and options. For details, see the manpages or the HP-UX Reference, under newfs for generic usage and newfs_[FSType] for file system-specific usage — for example, look under newfs_hfs(1M) for HFS behavior. New options:
Changed options:
In addition, the /etc/disktab entries supplied by HP no longer reserve swap and boot space at the end of the file system.
As of 10.0, /etc/disktab is the same file on the Series 700 and S800. In the case of some disk types, you will need to choose a Series 700- or Series 800-specific entry to get the same geometry as on 9.x. newfs no longer requires you to specify disk_type on the command line, and, by default, does not use /etc/disktab to get the disk geometry parameters. Instead it uses these defaults:
Tracks per cylinder and sectors per track are calculated according to the size of the file system, as follows:
The default value for bytes per inode has increased from 2048 to 6144. You will need to specify the type of the file system newfs is to operate on — either on the command line or in /etc/fstab. 10.x newfs consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. As of 10.0, this command is stored in /usr/sbin/newfs. The 9.x version of newfs is available on 10.x systems as /usr/old/etc/newfs. For 10.0:
You will need to specify the type of the file system quot is to operate on — either on the command line or in /etc/fstab. 10.x quot consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. For 10.0:
For 10.10: savecore now saves system crash dumps in a new format, which has many files for each crash dump, all saved in a subdirectory. Support for subset core files containing only user or kernel page has been removed. Additionally, the following changes have been made to savecore(1M):
For more information on these changes, refer to the savecore(1M) and savecore(4) manpages. Any and all programs and utilities that rely on the format of a core dump will need to change to reflect the new dump format being written by savecore. There are no supported non-HP core dump tools, so this should not have an impact. All HP-supported tools (such as adb) are changed to support the new format. The removal of support for subset core dumps may imply a slight increase in the disk space used by core dumps for those who used this functionality. If you have sufficient disk space that savecore does not perceive a need for compression, or if you explicitly disable compression, the performance of the new version of savecore will be unchanged from the old. If compression is enabled, performance will degrade significantly in favor of reduced disk usage. A crash dump for any given system will use incrementally more disk space (for the INDEX file), although space will be more than compensated by the space savings of compression. When compression is in use, virtual memory use of savecore will significantly increase. For 10.0: savecore has one new feature affecting both the Series 700 and 800, and a group of new features on the 700 that are already supported on Series 800 9.x systems. The corefile is no longer saved in the directory /tmp/syscore; the default directory as of 10.0 is /var/adm/crash. You can change this and other defaults by modifying variables in /etc/rc.config.d/savecore:
Features formerly supported only on the Series 800, but now available on the Series 700 as well, allow you to:
10.x savecore supports multiple dump devices on both the Series 800 and 700. If the primary swap device (PSD) is not configured as a dump device, savecore will start running in the background immediately; otherwise it must save the dump image in the PSD before switching to background mode. You can make savecore retrieve pages from the dump devices selectively by using the -u, -k or -i options. -u saves user and kernel pages; -k saves kernel pages only; -i saves the entire image if there's space. See the 10.x or (9.x Series 800) manpage for details. You can change the system defaults for these values by modifying /etc/rc.config.d/savecore as shown in the table above. For 10.10:
For 10.0:
The new shutdown and startup model replaces both the shutdown actions that were previously hardcoded into shutdown(1M) and the execution of scripts in directory /etc/shutdown.d. For information about the new model, see the HP-UX 10.0 File System Layout White Paper and the HP-UX System Administration Tasks manual. As of 10.01, swapon accepts arguments to the -m, -r, and -l flags that have units specified. The corresponding /etc/fstab entries are similarly changed. Arguments to the -r, -m, and -l flags, if specified without units, are assumed to be in units of file system blocks. This maintains backward compatibility. However, these arguments can be suffixed with a k or M, which change the units to kilobytes or megabytes, respectively. The res=, min=, and lim= entries in /etc/fstab behave in the same manner.
For 10.30: Starting with 11.0, you will no longer have to specify the kernel file. Previously, you had to specify the same kernel file upon which the system was booted. At 11.0, the running kernel will automatically be queried. The kernel file may be specified for compatibility with existing scripts, but will be ignored. For 10.0:
Use swapinfo(1M) to get the swap information that used to be supplied by sysdef. Use vmstat(1) to get memory information. For 10.0:
New option:
Kernel messages will be routed by default to /var/adm/syslog/syslog.log (which is the equivalent of 9.x /usr/adm/syslog), or to whatever other file you have specified for system logging. If you do not want kernel messages to appear in the logfile, specify a priority of kern.none. For 10.30: Every entry in the /etc/group file is limited to LINE_MAX characters. The commands useradd(1M) and usermod(1M) have been modified to warn you when this limit is being approached. The useradd(1M) and usermod(1M) commands will not write the username in the primary group entry of the /etc/group file. Currently, the username is being written to the /etc/group file both for the primary and secondary group entries. This change impacts any script that searches the /etc/group file to find the primary group of a user. The scripts will fail because the username is no longer mentioned in its primary group entry of the /etc/group file. The command behavior will not be compatible with the current behavior. See the "Impact" section above for details. For 10.0:
New options:
Except in the case of a tape, you can omit -F on the command line if you have defined the file-system type in /etc/fstab. 10.x volcopy consists of a "wrapper" command which runs the version of the command appropriate to the file-system type specified. See the fs_wrapper(5) manpage for more information. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||