Visit Our UNIX and Linux User Community


Content of /var/sadm/pkc/<pkg>/save directory


 
Thread Tools Search this Thread
Operating Systems Solaris Content of /var/sadm/pkc/<pkg>/save directory
# 1  
Old 09-14-2009
Content of /var/sadm/pkg/<pkg>/save directory

Hi,

What are the contents of /var/sadm/pkg/<pkg>/save directory.

- It contains various patches with their id's.

What does the "pspool" directory inside it contain?

Last edited by vibhor_agarwali; 09-14-2009 at 08:13 AM..
# 2  
Old 09-14-2009
i believe pkginfo uses this directory to report on what is installed and other information.
# 3  
Old 09-15-2009
That's the base /var/sadm/pkg/<pkg> one.

The child "save" and "pspool" contents are unknown to me.
# 4  
Old 09-16-2009
Quote:
Originally Posted by vibhor_agarwali
That's the base /var/sadm/pkg/<pkg> one.

The child "save" and "pspool" contents are unknown to me.
"save" directory is used for storing backup data when applying patch, so you can always remove patch, and system will restore to state like it was before patching. Never touch files in those directories.
# 5  
Old 09-16-2009
Okay,
And what about pspool directory inside the save one.
<Id> is for the backup of patches, right?
# 6  
Old 09-16-2009
yes batrus11 is correct. as for pspool directory, it is related to zones. if you don't plan on creating zones, don't worry about this directory. if you have obsolete pkg's, you can most likely delete them if your /var is running out of space.

more specifically, pspool directory is:
Quote:
used as the install media for the /var directory of 'sparse zones', and for /var /usr, /sbin, and so on for 'full root zones'.
found that from General Solaris 10 Discussion - Re: Solaris 10 Patches and /var/sadm/pkg
# 7  
Old 09-24-2009
Similar directory and files you may find..

/var/sadm/pkg/SUNWiqu/save/pspool/SUNWiqu/save/125062-05
root@unknown # ls
undo
root@unknown # ls -l
total 4112
-rw-r--r-- 1 root other 2093568 Jun 29 14:36 undo

What script is "undo" used for?

Previous Thread | Next Thread
Test Your Knowledge in Computers #800
Difficulty: Medium
In the system with radix 13, for example, a string of digits such as 398 denotes the (decimal) number 632.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Contents deleted from /var/sadm

Hi, Somebody/somebody removed all contents /vat/sadm on Solaris 10 Sparc box. As of now server is up and running. There is no backup for this server. If we copy contents from another equivalent server, can it work ? We don't know if it will be fixed by booting form DVD also. Any suggestions? (4 Replies)
Discussion started by: solaris_1977
4 Replies

2. Solaris

How extract SUNWexplo.7.1.pkg & SUNWexplu.7.1.pkg from install_stb.sh?

Hi all, Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh. I need to upgrade my Sun Explorer to 7.2 version from 7.1 . This what written in read me file about its installation: The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

3. Shell Programming and Scripting

[awk] split file1 and save it as var from file2

I have 2 files: file_1: file_2: expected result: name file: "artV1" "artV2" etc. I have: but why don;t work save to file 'out'?? (3 Replies)
Discussion started by: ffresz
3 Replies

4. Solaris

/var/adm & /var/sadm

what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os please can any one respond quickly thanking you (2 Replies)
Discussion started by: wkbn86
2 Replies

5. Solaris

Cleaning out /var/sadm/patch after Live Upgrade

I recently upgraded my OS to Solaris 10 10/09 from Solaris 10 06/06 using Live Upgrade. I wanted to clean up space in /var/sadm/patch. I'm assuming the server is now clean with a fresh version of Solaris 10 10/09. Can I safely remove everything in /var/sadm/patch? Thanks, jeremy (0 Replies)
Discussion started by: griff11
0 Replies

6. Solaris

Lost /var/sadm/install/contents file and /var/sadm/pkg

Hello, I recently found that my /var/sadm/install/contents, ~/admin/default, /var/spool/patch and /var/spool/pkg files were empty. This broke the pkginfo, pkgchk and other package related tools. The pkgmap no longer points to where the applications have been installed. I have replaced the... (0 Replies)
Discussion started by: ronin42
0 Replies

7. Shell Programming and Scripting

sed, awk [TAG]$content[/TAG] How to get var in $content in textfile?

Hello, I got a Qstion. Im posting to a phpbb forum with bash and curl.. i have a text file with the following tags that i post to the forum: $var1 $var2 $var3 How can i with sed or awk put var content from shell script between the ... in the... (7 Replies)
Discussion started by: atmosroll
7 Replies

8. Solaris

pkgadd pkg to an new directory

hi guys, I am wondering instead installing to the default directory, how can I install a package using pkgadd command to a specified directory? I am using solaris 9, thanks (1 Reply)
Discussion started by: fedora
1 Replies

9. UNIX for Dummies Questions & Answers

accidentally remove the contents of /var/sadm/pkg

Hi all, I carelessly remove the contents of /var/sadm/pkg. I do not have any backup of the folder. What can I do ? Thanks a lot. :eek: (11 Replies)
Discussion started by: stancwong
11 Replies

10. UNIX for Dummies Questions & Answers

/var/sadm/install

Hi, can I delete the file install in /var/sadm directory because I do not need. Regard TDS (1 Reply)
Discussion started by: tinfoul
1 Replies

Featured Tech Videos