Disable clearing of /tmp on boot - where is the command in rc.sysinit

Hi there, I want to disable the clearing of the /tmp folder on boot, but I can't seem to find the appropriate line in etc/rc.sysinit.
Apparently this should be the line
/bin/mountpoint -q /tmp || /bin/rm -rf /tmp/* /tmp/.* &>/dev/null
but my rc.sysinit does not contain that at all:
mountpoint -q /proc || mount -n -t proc proc /proc -o nosuid,noexec,nodev
mountpoint -q /sys || mount -n -t sysfs sys /sys -o nosuid,noexec,nodev
mountpoint -q /run || mount -n -t tmpfs run /run -o mode=0755,size=10M,nosuid,nodev
mountpoint -q /dev || mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid &>/dev/null \
|| mount -n -t tmpfs udev /dev -o mode=0755,size=10M,nosuid
mkdir -p -m 1777 /run/lock
mkdir -p /dev/{pts,shm}
mountpoint -q /dev/pts || mount -n /dev/pts &>/dev/null \
|| mount -n -t devpts devpts /dev/pts -o mode=0620,gid=5,nosuid,noexec
mountpoint -q /dev/shm || mount -n /dev/shm &>/dev/null \
|| mount -n -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
Also the "remove_leftover" function doesn't seem to be about cleaning /tmp... ?
Where is the command that clears /tmp located in this file?
Last edited by ignus (2011-09-11 10:38:01)

# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
/dev/mapper/vg-boot /boot ext2 defaults,noatime,nodiratime 0 1
/dev/mapper/vg-home /home jfs defaults,noatime,nodiratime 0 1
/dev/mapper/vg-kak /kak jfs defaults,noatime,nodiratime 0 1
/dev/mapper/vg-opt /opt jfs defaults,noatime,nodiratime 0 1
/dev/mapper/vg-root / jfs defaults,noatime,nodiratime 0 1
/dev/mapper/vg-swap swap swap defaults,noatime,nodiratime 0 0
/dev/mapper/vg-tmp /tmp reiserfs defaults,noatime,nodiratime 0 1
/dev/mapper/vg-var /var reiserfs defaults,noatime,nodiratime 0 1
It seems shm is my tempfs

Similar Messages

  • I have uploaded a pdf-file. Where is the command to convert it to docx?

    I have uploaded a pdf-file. to https://files.acrobat.com/?trackingid=KGLHY#folder/0662976a-3059-4bd3-8f49-87041736f7c2.
    It appears in the list of files.
    Where is the command to convert it to docx?

    Hi TRee2,
    When you logon to the Acrobat.com service on the top left corner click on 'Tools' an now on the top right side select 'Export from pdf'.
    Now select the files and click on 'Export'.

  • MacBook Pro: Where is the Command button?

    where is the command button? i need to hold the command and option button while connecting my ipod to itunes for something.

    It's the key with a cloverleaf and/or Apple symbol, depending on the keyboard you're using.
    http://en.wikipedia.org/wiki/Command_key

  • How to load the boot menu using the command line , after the configuration change ?

    how to load the boot menu using the command line , after the configuration change ?

    Hi @Bask-48 
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are trying to change the boot order.  Here is a link to Configuring the Boot Order in the System BIOS
    that will assist you.
    Good Luck and Happy Holidays!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Where is the command button on key board?

    where is the command button on key board?

    Do you mean the Command/CMD key, or some reset button?
    If using a PC KB it's likely the Windows key that equals CMD on Mac.

  • Where is the command to dim monitor on Maverick?

    Before I upgraded to Maverick I could dim or brighten my monitor.
    The keyboard commands do nothing now.
    Can't find it any where in the System Preferences.

    Hi Hadlt,
    Try pressing a key called fn on your keyboard at the same time you press f1(dim) or f2(brighten). If this works you can fix it under:
    System Preferences->Keyboard and make sure the checkbox at " Use all F1,F2, etc. keys as standard function keys is not activated.
    jl

  • Where is the command 'seq'?

    I don't find the command 'seq', which generates a series of numbers, in my My Mac Leopard. Could somebody let me know where is it? If it is not on my machine, how to install it?

    There isn't one in any of the default OSX shells, but you could roll your own. A better place for this question would be in one of the Mac OS X Technologies forums, such as the Unix forum.

  • Where is the command line interface in DW CS3 on a Mac?

    I have seen other forums where they instruct you to use the command bar or command line interface to set permissions and what not, but I do not see where that might be in Dreamweaver CS3 on a Mac. Can someone assist me in locating this feature?
    Thanks in advance,
    Todd Temple > T2 Design

    There is no command line interface in Dreamweaver. It's a tool for editing web pages.
    However, you can use Dreamweaver to set the permissions on web pages on your remote server like this:
    In the Files panel, select Remote view from the drop-down menu at the top right.
    Select the file(s)/folder(s) for which you want to change the permissions.
    Right-click and select Set Permissions from the context menu.
    Set the permissions in the dialog box that opens.
    As the dialog box warns you, this command does not work on all servers. If your remote server won't allow you to change permissions through Dreamweaver, you need to log into your hosting company's control panel, and change the permissions there. If you don't know how to do it through the control panel, ask your hosting company for help, as the method depends on the control panel used.

  • Where are the commands?

    I am just starting with my new Flash CS4 and I'm confused about the Commands menu. I want to create a slide show, and all the instruction that I've read say to start by clicking on Commands->Create Slideshow. But when I look in the commands menu, I don't see "Create Slideshow" or much of anything else, either. Where is Create Slideshow? This is the very first time I've used Flash CS4, so there may be some setup necessary to make the command(s) available, but I don't see anything like that in the instructions that I've found so far. Where is "Create Slideshow"?
    Thanks for your help,

    I still can't figure this out. This is probably a simple newby issue, but what is the Flash CS4 Commands menu supposed to contain on installation? Might I need to install something else to populate it with the "Make Slideshow". All the information that I've seen online seems to imply that it's part of the initial installation.
    Thanks, in advance, for any help you can give me on this.

  • Powerbook G4;  where is the command key?

    I received the information on resetting passwords on the Powerbook G4.   It asks me to use the command key.  I have no idea of where on the G4 the command key is located,  none are so labeled.    This is the first Mac of any kind donated so I am totally in the dark.  The OS is 10.5.8

    There's two. One is just left of the space bar the other on the right.
    It doesn't say Command. It has an Apple icon with the Command icon 
    Photo of mine ..

  • Playing a loop on or off; where is the command?

    In the earlier version there was a command under the viewerfield (with start play etc) where you could choise continious playing the clip yes or no.
    In the last update (10.6.0) the command has disappeard? I have only continious playing from the beginning and can 't stop it.

    Cmd-L.

  • Where is the command line in the directory?

    I am relearning Java programming and doing an online tutorial.
    I went ahead and dowloaded the JDK program (jdk-6u3-windows-i586-p-iftw.exe) from Java's website and put it in a folder on my computer. I also have a BigDebt.java program on my computer....but the tutorial is telling me to put this command "javac BigDebt.java" in the directory where my program is saved to compile the program. Do I type in "javac BigDebt.java" in the Address line in the folder or where do I type this? Thanks.

    PZPZ wrote:
    If JAVA is an open-source programming language, when someone creates an application with it, how does one protect their code (their software business) from other people viewing and copying it? Worry about that when your code is good enough that someone would want to steal it and it would damage you if they did so. The short version is by obfuscation, which it not a very strong measure, or through license agreements, or by running the sensitive code on a server, so the client never sees it.
    And what are some really cool games that have been made with only JAVA or do people use JAVA with other programming languages to create games and applications?Don't know. Not into games.
    Also, it's Java, not JAVA. It's not an acronym.

  • HT3597 where is the command to set up voice dialing?

    I cannot figure out how to set up voice dialing. YES I have a headset and bluetooth and yet I can't find WHERE to SET UP a phone number with my VOICE.

    Press and hold the Home button. That will bring up Voice Command. There's really nothing to set up. You would then say, "Call <name from your contacts>" or "Call 8005551212".

  • Where is the command file in arch linux?

    Hi!
    Switching over from debian and Mac OS I'm missing some details in Arch Linux. At the moment there is an issue with my NagiosQL setup. In the config part I need to tell NagiosQL where to check if Icinga (a nagios replacement) is running by the path to its command file. Icinga gets started by systemctl. Usually I would look in /var/run, but there is no icinga.pid or such thing. Where do PID files reside?
    Thanks

    awado wrote:Do I have to run it as another user?
    Hmm. The second page I linked says this:
    Before you install the package create the user icinga:icinga with these commands:
    # groupadd -g 667 icinga
    # useradd -u 667 -g icinga -G http -d /dev/null -s /bin/false icinga
    Did you try this? I probably don't don't what I'm talking about, because I've never used this package.
    Last edited by 2ManyDogs (2014-02-13 01:37:44)

  • Firefox keeps prompting users to disable java plugins How can reinable them through the command line or registry?

    Windows users keep getting prompted about java version being insecure and are advised to disable the plugin. They then complain that java based websites no longer work. Can I disable / prevent this warning feature. And can I re-enable java plugin via command line or script? I need to do this on a large scale and various versions of firefox. Right now I will need to abandon firefox if I cannot easily resolve this. Yes I realize updating to latest version of java is a solution... but this will take too much time now and how long before another security fix for java and then I will have to update yet again.

    Tylerdowner, to say that Firefox 3.6 is no longer supported is not an answer. Apparently, the so-called block deployed for the Mac OS X version of Firefox, created to deal with a vulnerability in Oracle's Java, has now crept into the Windows version. Moreover, it is blocking the latest version of Java, which was not intended according to https://bugzilla.mozilla.org/show_bug.cgi?id=741592. The official text of the block follows:
    Java Plugin has been blocked for your protection.
    Why was it blocked?
    Outdated versions of the Java plugin are vulnerable to an actively exploited security issue. All Mac OS X users are strongly encouraged to update their Java plugin through Software Update, or disable it if no alternatives are available. For more information, please read our blog post or Oracle's Advisory.
    Who is affected?
    All Firefox users who have installed the Java plugin, JRE versions below 1.6.0_31 or between 1.7.0 and 1.7.0_2.
    What does this mean?
    Users are strongly encouraged to disable the problematic add-on or plugin, but may choose to continue using it if they accept the risks described.
    When Mozilla becomes aware of add-ons, plugins, or other third-party software that seriously compromises Firefox security, stability, or performance and meets certain criteria, the software may be blocked from general use. For more information, please read this support article.
    Well, whoever wrote the code to block the Java plug-ins specified above screwed up, since it is blocking even the updated Java plug-in.
    I have an enterprise with many computers, and we had deployed Firefox as our browsing platform. Based on the latest decisions at Mozilla, new version numbering, forced release cycle, and almost all add-on vendors just walking away from the maintainence nightmare created by this decision, I guess it's time to move over to the Dark Side and adopt Google Chrome.

Maybe you are looking for

  • System image restore before ever opening cs6 loaded by reseller.

    I restored my computer from a system image before registering my product ior creating an adobe id.

  • Orange stripe in Adobe Acrobat...

    Hallo! I open a PDF document in Adobe Acrobat, type any letter characters from keyboard and the orange stripe appears in lower part of the screen just above the Dock. The stripe contains typed text. Once I type a numeric character the stripe disappea

  • Any thoughts on fixing a stratosphere?

    Thanks in advance for any help. I have a samsung stratosphere which frequently (several times a minute) crashes and reboots without me touching the power button.  From searching the google this seems common, but no fixes have worked for me. The dets:

  • GP Process is Running even though Callable Object Encountered Error

    Hi Everyone, I am experiencing an interesting issue working with GP right now and it bothers me. I have created a process that includes a sequential block with a few actions including an action that sends out an Adobe form. I noticed during testing t

  • [Yoga 10] video issues

    hello, I've just bought a lenovo yoga 10, and i think it's a good device. But i've got one problem: video quality is disappointing. I tried to watch them with the standard video player, mx player or vlc. When i launch a movie with vlc, it says that t