03-31-2011
Maybe you can use /var/tmp instead of /tmp?
The way Solaris looks at tmp directories:
/tmp
- very volatile data.
- Do not use for data that should be kept more than several seconds.
/var/tmp
- less volatile data.
- Directory on disk so data in it will survive a reboot.
- Use for any tmp data that should be kept more than several seconds.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. Solaris
Hi,
Do you know if we can shrink the size of the Swap under Solaris 8 ?
8Gb is already allocated to /TMP but we would like to reduce to 1 GB.
Thanks,
Fabien. (2 Replies)
Discussion started by: unclefab
2 Replies
3. Solaris
In Solaris 8, were is the setting stored that causes /tmp to be cleaned up during a reboot? (2 Replies)
Discussion started by: Silver11
2 Replies
4. AIX
Were is the setting stored that causes /tmp to be cleaned up during a reboot? (2 Replies)
Discussion started by: Silver11
2 Replies
5. Solaris
Hi Guru's
Can any want here could explain to me the different between soft reboot and hard reboot .
Best Regards
Seelan (3 Replies)
Discussion started by: seelan3
3 Replies
6. UNIX for Dummies Questions & Answers
hi all:
my solaris FIND does not support
find myFolder -type d -empty
how can i find the empty folders?
thanks! (7 Replies)
Discussion started by: lasse
7 Replies
7. AIX
Hello everyone !
I get a box with aix 5.3 and I get the /tmp fs on 100 %.
I get a free space to get more bigger my fs but send me a error message.
I try to make more bigger with smitty chlv but It doesnt work.
Then I try to reduce somethings on the /tmp fs but I cant get in on a... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I am checking for a empty input file to do some further action , but I am getting exit status 0 in both the cases , for empty and non empty file both.
The value of $? is coming 0 in if part also and else part too.
#!/bin/ksh
if ]; then
echo "data"
# exit 0
echo "$?"
else... (4 Replies)
Discussion started by: mavesum
4 Replies
9. Solaris
Hi All,
There's a /tmp. folder on my solaris 9. I can't cd on it
bash-2.05# uname -a
SunOS cads105ctce 5.9 Generic_122300-30 sun4u sparc SUNW,Sun-Fire-V890
bash-2.05# cd /tmp.
bash: cd: /tmp.: No such file or directory
bash-2.05# ls -la /tmp.
/tmp.: No such file or directory
... (5 Replies)
Discussion started by: itik
5 Replies
10. Shell Programming and Scripting
Does anyone know of a way to redirect the ksh default of processing data in /tmp to another file system or / something else?
My ksh script is parsing large DB files and it keeps filling up /tmp on the root disk.
I have a 1 Tb disk with most of its space.
How do I re-direct the /tmp ksh... (6 Replies)
Discussion started by: cchelten
6 Replies
LEARN ABOUT CENTOS
dh_movefiles
DH_MOVEFILES(1) Debhelper DH_MOVEFILES(1)
NAME
dh_movefiles - move files out of debian/tmp into subpackages
SYNOPSIS
dh_movefiles [debhelperoptions] [--sourcedir=dir] [-Xitem] [file...]
DESCRIPTION
dh_movefiles is a debhelper program that is responsible for moving files out of debian/tmp or some other directory and into other package
build directories. This may be useful if your package has a Makefile that installs everything into debian/tmp, and you need to break that
up into subpackages.
Note: dh_install is a much better program, and you are recommended to use it instead of dh_movefiles.
FILES
debian/package.files
Lists the files to be moved into a package, separated by whitespace. The filenames listed should be relative to debian/tmp/. You can
also list directory names, and the whole directory will be moved.
OPTIONS
--sourcedir=dir
Instead of moving files out of debian/tmp (the default), this option makes it move files out of some other directory. Since the entire
contents of the sourcedir is moved, specifying something like --sourcedir=/ is very unsafe, so to prevent mistakes, the sourcedir must
be a relative filename; it cannot begin with a `/'.
-Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being installed.
file ...
Lists files to move. The filenames listed should be relative to debian/tmp/. You can also list directory names, and the whole directory
will be moved. It is an error to list files here unless you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.
NOTES
Note that files are always moved out of debian/tmp by default (even if you have instructed debhelper to use a compatibility level higher
than one, which does not otherwise use debian/tmp for anything at all). The idea behind this is that the package that is being built can be
told to install into debian/tmp, and then files can be moved by dh_movefiles from that directory. Any files or directories that remain are
ignored, and get deleted by dh_clean later.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_MOVEFILES(1)