⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setld.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.TH setld 8.SH Namesetld \- software subset management utility.SH Syntax.B /etc/setld [.B \-D.I root-path].B \-l.I location[.I subset...].sp.\".\" .B /etc/setld[.B \-D.I root-path].B \-d.I subset....br.\".B /etc/setld[.B \-D.I root-path].B \-i[.I subset...].br.B /etc/setld[.B \-D.I root-path].B \-v.I subset....br.B /etc/setld[.B \-D.I root-path].B \-c.I subset.I message.sp.B /etc/setld[.B \-D.I root-path].B \-x.I location[.I subset...].SH Description.NX R "setld utility".NX R "software subsets" "installing and managing".NX R "Installing software subsets"The.PN setldcommand is used for installing and managing software. Software isorganized into.I subsetswhich may be loaded, deleted, inventoried, updated, verified andconfigured. The load and update operationsread software from disks, tapes or from an Internet installationserver..PPThe.PN setldcommand is also used to read the contents of an installationtape onto a disk so that the disk can be used as the distributionmedia..PPThe \fIlocation\fP argument specifies the location of distribution. This can be be eitherthe name of a directory, a device special file name, orthe name of a remote installation server. The specified \fIlocation\fRis used to determine the type of media to beused. Valid location specifiers include the following:.RS.IP \fI/dev/rmt0h\fR 15Magnetic tape on tape unit 0.IP \fI/mnt/VAX/BASE\fRDisk distribution in directory.I /mnt/VAX/BASE.IP \fIhostname:\fRRemote distribution from server.I hostname.RE.PPThe \fIsubset\fR argument specifies the name of a subset on which an operation isto be performed. The \fIsubset\fR names are strings of seven ormore characters used to uniquely identify subsets, for example,.PN UDTUUCP400 ..PPThe \fImessage\fR argument specifies a string to be sent to a subset control programto configure a \fIsubset\fR..SH Function Keys.TP.B \-lLoad software from distribution mounted on.I location.If no optional.I subsetis specified, a menu of subsets available onthe distribution is presented. Any subsetchosen from the menu is then loaded on the system.If an optional.I subsetis specified, only that subset is loaded..TP.B \-dDelete.I subsetfrom the system. Each.I subsetnamed on the command line is removed from the system.All files in each.I subsetwhich have not been modified since installationare unlinked..IPSubsets can be marked by a vendor during manufacture so that theycannot be deleted.  Attemptsto delete such subsets will generate an appropriate diagnostic..IPIf a subset being deleted is required by other subsets installedto the system, these are listed and the user is asked to confirmthat the subset is to be deleted..TP.B \-iInventory the system or any specified.I subset.When no.I subsetis specified, the state of the system is listed onstandard output in three columns.The first column gives the code for a subset known tothe system. The second column lists the status of thatsubset. The value for the status is.PN installedif the subset is currently installed,.PN corruptif the subset failed to install correctly,.PN incomplete if information in the subset control file is incomplete,or blank if the subset is not installed.The third column presents the textual description forthat subset..IPWhen.I subsetarguments are present, the names of the files whichmake up the contents of each.I subsetare listed. The.I subsetdoes not need to be currently installed for this optionto display its contents..TP.B \-vVerify each.I subset.The existence of the subset is first checked. Then.PN fverifyis used to verify the integrity of each file in the subset.Verification errors and informational messages resulting from .PN fverifyare logged to.PN usr/var/adm/fverifylogrelative to \fIroot-path\fP. If thesubset is provided with an installation verification program(IVP), the IVP is executed..TP.B \-cConfigure.I subset,passing the configuration message.I messageto the subset control program..TP.B \-xExtract subsets from the distribution mediamounted on.I location.If you specify no.I subsetarguments,.PN setlddisplays a menu of subsets on thedistribution.  Subsets chosen from thismenu are extracted. .PPIf you specify.I subsetarguments, .PN setldextracts only the subsets specified..SH Options.TP.B \-D \fIroot-path\fRSpecify.I root-pathas the root directory foran operation. The default is.B / for all operations except.BR \-x .The default for.B \-xis the current directory.If this option is specified,.PN setldwill operate on the software rooted at the specifieddirectory. This option is useful for installing softwareto offline systems on removable media or dual-porteddisk drives..SH RestrictionsDo not attempt to install software into an NFS mounted file system..SH ExamplesLoad software subsets from tape unit 2:.IP "" 5#.B "setld \-l /dev/rmt2h".PPLoad the.PN UDTUUCP400subset from tape unit 2:.IP "" 5#.B "setld \-l /dev/rmt2h UDTUUCP400".PPLoad the .PN UDTUUCP400subset to an offline systemrooted at.PN /mntfrom tape unit 2:.IP "" 5#.B "setld \-D /mnt \-l /dev/rmt2h UDTUUCP400".PPLoad the.PN UDTUUCP400subset to an offline system rooted at .PN /mntfrom installation server.PN mumbly :.IP "" 5#.B "setld \-D /mnt \-l mumbly: UDTUUCP400".PPLoad the .PN UDTUUCP400subset to an offline system rooted at .PN /mntfrom a disk distribution in.PN /mnt2/RISC/BASE :.IP "" 5#.B "setld \-D /mnt \-l /mnt2/RISC/BASE UDTUUCT400".PPDelete the.PN UDTUUCP400and.PN UDTCOMM400subsets:.IP "" 5#.B "setld \-d UDTUUCP400 UDTCOMM400".PPDelete .PN UDTUUCP400and.PN UDTCOMM400subsets from the offline systemrooted at.PN /mnt :.IP "" 5#.B "setld \-D /mnt \-d UDTUUCP400 UDTCOMM400".PPDisplay the status of all subsets known tothe system:.IP "" 5%.B "setld \-i".PPDisplay the status of all subsets known to the offline system rootedat.PN /mnt :.IP "" 5%.B "setld \-D /mnt \-i".PPDisplay the contents of the.PN UDTUUCP400subset:.IP "" 5%.B "setld \-i UDTUUCP400".PPVerify the.PN ULTVAXC400subset on the running system:.IP "" 5#.B "setld \-v ULTVAXC400".PPSend the configuration message\fB"Don't Worry, Be Happy"\fRto the .PN UWSX11400subset:.IP "" 5#\fBsetld \-c UWSX11400 "Don't Worry, Be Happy"\fR.PPExtract subsets from the distribution on tape unit 0into the current directory:.IP "" 5#.B "setld \-x /dev/nrmt0h".PPExtract subsets from the disk distribution in.PN /mnt/RISC/UNSUPPORTEDinto.PN /usr/bigdisk :.IP "" 5#.B "setld \-D /usr/bigdisk \-x /mnt/RISC/UNSUPPORTED".SH Return ValuesThe exit status from.PN setldis 0 if the operation requested was performed successfully. Allother cases yield exit status of 1 for failed operations onmandatory subsets and greater than 1 for failed operations on optional subsets..SH Diagnostics.B "\-\fIc\fP can be used by super-user only".brThe.PN setldcommand was entered by a non-root user with one of the root-onlyfunction keys. The only function which .PN setld will performfor non-privileged users is.BR \-i ..PP.B "error in Args()".brThis message is displayed if .PN setldcannot understand the command line arguments. It willalways be preceded by a usage message or another diagnostic..PP.B "Temp directory /usr/tmp/stltmp\fIXXXXXX\fP already in use".brThis message is displayed if the temporary directory that.PN setldwould create for itself already exists. Run .PN setldagain..PP.B "Cannot create directory \fIdir\fP".brThe directory.I dirwhich is needed for.PN setldto operate correctly could not be created. This can happenif parts of the system are NFS-mounted but not root-mapped..PP.B "error in Dirs()".brThis message always accompanies the preceding two messages..PP.B "\fIsubset\fB: not currently installed, cannot configure.".brOccurs when.I subsetis used as an argument to.B \-cbut.I subsetis not installed to the system..PP.B "\fIsubset\fB: missing control program, cannot configure.".brAn attempt is being made toconfigure.I subsetbut the program responsible for doing thisis missing. Delete the subset and install it again before retrying the operation..PP.B "\fIsubset\fB: not currently installed, cannot delete".brA.I subsetspecified as an argument with the.B \-dswitch is not installed on the system, it cannot bedeleted..PP\fBReadCtrlFile(): cannot find \fIfilename\fP.ctrl\fR.brThe control file named in the error message is not whereit is expected to be..PP\fBReadCtrlFile(): cannot read \fIfilename\fP.ctrl\fR.brThe control file named in the error message exists but cannotbe read..PP.B "setld: Sorry, You may not delete the \fIdescription\fB (\fIsubset\fB) subset".brThe.I subsetin the error message which was used as an argument with the.B \-dswitch is a subset which was marked by its vendor during manufactureas a subset that cannot be deleted.In this case, the subset cannot be removed from the system by.PN setld ..PP.B "\fIsubset\fB: deletion declined by subset control program".brThe subset named in the error message cannot be deleted becauseof the return status of the subset control program. This indicatesthat the subset control program provided with this subset has determinedthat the subset should not be deleted. This message may be seenwith a diagnostic issued directly from the subset control program.Consult the documentation accompanying the product..PP.B "Tape Positioning Error".brAn error was detected while positioning the tape for a readoperation while using.PN setldwith either the.BR \-l , .BR \-u ,or.B \-xswitches. This can indicate a faulty tape or a transienttape subsystem error. Check the error log and try theoperation again..PP.B "Error Extracting \fIsubset\fB".brAn unrecoverable error has occurred when trying to extracta subset from the distribution..PP.B "Control Info Error on \fIsubset\fB".brAn attempt to access a control or inventory file or subsetcontrol program has failed while extracting subsets.This may indicate a faulty distribution. Try the operation again..PP.B "\fIsubset\fB: extract checksum error".brA checksum error was detected in the extractedcopy of the.I subsetsubset. This may indicate a transient tape subsystem error.Check the error log and retry the extract..PP.B "Error contacting server \fIhostname\fB: \fIerror-message\fB".brAttempt to contact installation server.I hostnamefailed. The.I error-messageprovides more information..PP.B "Device \fIlocation\fB not supported for installations.".brThe.I locationspecified on the command line was not recognized asa valid input location for a.BR \-l , .BR \-u ,or .B \-xoperation..PP.B "Cannot access /dev/nrmt\fI?\fBh".brThe device special file \f(CW/dev/nrmt\fI?\fR either does not exist or is not a character special file.Remake the file with.PN MAKEDEVand try the operation again..PP.B "\fIsubset\fB: Unknown subset".brA.I subsetargument that was specified with the.B \-iswitch does not correspond to any subset known tothe system. Check the command line for spelling errors..PP.B "\fIlocation\fB/instctrl: no such file or directory".brThe disk distribution .I location specified onthe command line does not point to a valid directory.Check the command line for spelling errors..SH Files.TP 28.PN /etc/setldlogLogfile for .PN setld transactions.PPFollowing files are relative to root-path:.TP 28.PN usr/etc/subsets/*.invSubset inventory files.PD 0.TP.PN usr/etc/subsets/*.ctrlSubset control files.TP.PN usr/etc/subsets/*.scpSubset control programs.TP.PN usr/etc/subsets/*.lkSubset installed lock files.TP.PN usr/etc/subsets/*.dwSubset corrupt lock files.TP.PN var/adm/install/archiveUpdate archive directory.TP.PN var/adm/install/referenceUpdate reference directory.SH See Alsokits(1), fitset(8), frm(8), fverify(8), sysupd(8).br\fIGuide to Preparing Software for Distribution on ULTRIX Systems\fP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -