Sponsored Content
Full Discussion: how to pin files to /tmp
Top Forums Shell Programming and Scripting how to pin files to /tmp Post 302183898 by wrapster on Thursday 10th of April 2008 05:26:01 AM
Old 04-10-2008
Hi,
First of all, sorry for not posting on this topic,
I had been busy lately...
Anyway you are right, its a ram disk that am dealing with...
The actual script that i am handling is within this and the modifications that am doing are affecting the ram disk itself...

Do you have any idea how to counter this...
Some help towards solving this is very much required...

Pls assist Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

monitoring /tmp and /var/tmp for suspicous activity

Hello, does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present? Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies

2. Shell Programming and Scripting

K shell /tmp/sh$$.* files problem

Hi, I am encountring this problem from some time now... ksh creates temp files /tmp/sh$$.* . Sometimes if some of my shell script crashes or I kill it... these temp files remain in the /tmp directory. At some later time when some script gets the same PID it tries to create files in the... (5 Replies)
Discussion started by: amitkr
5 Replies

3. Solaris

Auto delete files in /tmp dir ???

I have a Solris 9 box my problem is when I restart my box all my files and dirs in /tmp dir will be deleted exept 2 directories I found them since installation phase !!!! How to keep my files at that dir " /tmp " even after restarting ??? (1 Reply)
Discussion started by: DarkSoul
1 Replies

4. AIX

set permission to files in /tmp

Trying to setup user to have the ability to delete any files (regardless of owner) in /tmp. I've tried almost everything... the permission on the folder is drwxrwxrwt 10 bin bin, and at one point I give all the possible permission (short of root) I can give to the user, and he still can't delete... (2 Replies)
Discussion started by: cchiang12
2 Replies

5. Solaris

How to save files in /tmp????

Hi all, I would like to know how to save files in /tmp... I was interested in knowing this because when ever i booted into solaris there would already be a few files present in /tmp.however any file that is freshly stored in would be lost on reboot... can anyone answer this pls!! (3 Replies)
Discussion started by: wrapster
3 Replies

6. AIX

what is creating the files in /tmp

How do I find what is creating these bunch of zero byte files under /tmp directory every few minutes. AIX - 5.3 TL05 # ls -l /tmp -rw-r--r-- 1 root system 0 Nov 05 16:54 n83n7a -rw-r--r-- 1 root system 0 Nov 05 16:54 ZO3S7a -rw-r--r-- 1 root system ... (3 Replies)
Discussion started by: mbak
3 Replies

7. UNIX for Dummies Questions & Answers

ls or find files under /tmp/*

what is proper syntax to ls all files under /tmp/*, and wc -c ? (4 Replies)
Discussion started by: tjmannonline
4 Replies

8. AIX

Unknown files in /tmp

I have a lot of files with the following names in /etc /tmp/<num>.mktcpip like /tmp/934030.mktcpip Anyone knows which process creates these files? (1 Reply)
Discussion started by: petervg
1 Replies

9. UNIX for Dummies Questions & Answers

Redirecting tmp files of SORT into different directory

Hey Guys, I am facing an annoying scenario, fewer times when I execute the sort command, it throws out on error saying that "No Space on available on /var/tmp/<temp file name>. May be it is set to /var/tmp directory. I was wondering, if I cant redirect the temporary file creation to any other... (3 Replies)
Discussion started by: abhisheksunkari
3 Replies

10. Red Hat

Can all files under /tmp be safely removed

I wanted to know whether all files under /tmp can be safely removed. I guess that /tmp may also have temporary files for applications currently being worked on, so at the most those applications may just shut down. I hope that my question is clear whether all files under /tmp can be safely... (5 Replies)
Discussion started by: RHCE
5 Replies
PACKAGE(1)						      General Commands Manual							PACKAGE(1)

NAME
package - register package user via mailagent SYNOPSIS
package address system version patchlevel [ mailpatches | notifypatches ] DESCRIPTION
This command is not intended to be run directly by a user, but may appear in any mail whose subject is set to Command. Such mail will be processed by the mailagent(1), which will extract all lines beginning with @SH, which may specify this command. The mailagent first sets environment variables that will be used by the command. Package is used to notify the author of a package about its users. It is normally generated automatically by the MailAuthor.U unit when the user runs Configure. If the patchlevel specified is not the latest for that system and version, mail is immediately sent suggesting that they upgrade and remindng them how to request the latest patches. The final parameter, if included may be set to mailpatches to specify that the user would like to have future patches mailed to them, or notifypatches to specify that a mail notification of future patches should be sent, rather than the entire patch. The user's address and notification request are saved in the file users in the package's directory. Package performs an approximate address match in order to avoid duplicate entries. Whenever this elimination occurs, a warning message is issued in the logfile. Two addresses will be said equivalent if one of them has an added machine name or if they are really equal. There- fore, the following addresses are equivalent: ram@acri.fr ram@main.acri.fr whereas the following two are not equivalent, unfortunately: ram@acri.acri.fr ram@main.acri.fr When a user is asking to be left alone, it is important to let him know if the request failed, because he will be annoyed when the next set of patches is issued and he still gets them despite his previous request. Therefore, if no approximate match occurs, a warning message is sent back, with a list of addresses that are close to his own e-mail address, but not equivalent. Fortunately, the following addresses are considered close: ram@acri.fr ram@somewhere.com raphael@main.acri.fr manfredi@acri.acri.fr because they either have the same login (important when someone changes company) or share the same domain or sub-domain part. In order to edit the users file, the edusers script should be used. For one thing, it will let you edit the users file from whatever pack- age you name in the command line, but it will also properly lock the file so that the execution of package will stall for the duration of the manual edition (provided you have a strict locking policy defined in your ~/.mailagent configuration file). FORWARDING
Package supports command forwarding as described in the mailhelp(1) page. FILES
~/.mailagent configuration file for mailagent. System/users list of users of that system. This file consists of single line records, one for each registered user. Each record consists of three tab-separated fields. The first field indicates the level of updates requested by the user by a single letter as follows: M Mail future patches directly to the user when they are issued. N Notify the user of future patches. U The users chose to let the author know that they have tried the program, but does not wish to know about future updates. L The user is no longer interested in the program and wants to be left alone. The second field is their last notified patch level, or a dash (-) if it is not known. The third field is the user's Email address. Log/agentlog mailagent's log file AUTHORS
Graham Stoney <greyham@research.canon.oz.au> Raphael Manfredi <Raphael_Manfredi@pobox.com> (minor enhancements) SEE ALSO
edusers(1), mailagent(1), metaconfig(1). PACKAGE(1)
All times are GMT -4. The time now is 02:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy