|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris 10 9/10 Installation Guide: Solaris Live Upgrade and Upgrade Planning|
When you create a new boot environment, some directories and files can be excluded from a copy to the new boot environment. If you have excluded a directory, you can also reinstate specified subdirectories or files under the excluded directory. These subdirectories or files that have been restored are then copied to the new boot environment. For example, you could exclude from the copy all files and directories in /etc/mail, but include all files and directories in /etc/mail/staff. The following command copies the staff subdirectory to the new boot environment.
# lucreate -n second_disk -x /etc/mail -y /etc/mail/staff
Caution - Use the file-exclusion options with caution. Do not remove files or directories that are required by the system.
The following table lists the lucreate command options for removing and restoring directories and files.
For examples of customizing the directories and files when creating a boot environment, see To Create a Boot Environment and Customize the Content.