Thursday, 12 May 2011

Spooling


Spooling: Storing something temporarily in a buffer is called spooling
when we spool a package we can add the package directly with out OS cd
SPOOL: simultaneous peripheral operational online.
1. to spool a package:
  # pkgadd -d /cdrom/cdrom0/s0/Solaris_10/Product -s spool SUNWzsh

2. all the spooled packages are stored under
   /var/spool/pkg
# cd /var/spool/pkg
# ls
SUNWsh
# pwd
 /var/spool/pkg
# cd
# eject cdrom

now delete zsh:
1. remove zsh
# pkgrm SUNWzsh

2. to get back the package from spool
# pkgadd SUNWzsh

Note: 
while adding a package the '-d' option is used, to add a package from removal devices
there is no need of '-d' option to add a package from spool.

No comments:

Post a Comment