Find the answer to your Linux question:
Results 1 to 3 of 3
Does anyone know if Debian needs /tmp already while booting in case the tmp folder is part of de swap partition? # df -h Filesystem Size Used Avail Use% Mounted ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2012
    Posts
    3

    Question Does Debian need /tmp while booting the system?


    Does anyone know if Debian needs /tmp already while booting in case the tmp folder is part of de swap partition?

    # df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 36G 14G 20G 42% /
    udev 1005M 0 1005M 0% /dev
    tmpfs 202M 724K 202M 1% /run
    /dev/disk/by-uuid/6c64a692 36G 14G 20G 42% /
    tmpfs 5,0M 0 5,0M 0% /run/lock
    tmpfs 404M 220K 404M 1% /tmp
    tmpfs 404M 388K 404M 1% /run/shm
    /dev/sdc1 97G 2,2G 90G 3% /media/22b8b2bc
    /dev/sdc3 817G 268G 508G 35% /media/extern

    Because i want to move my temp folder to my external hard drive (/dev/sdc3) using a symbolic link while i am not sure WHEN in the boot process my system is able to mount that external hard drive. I don't want to take the risk that my system needs that folder during boot time BEFORE it is able to mount that specific drive.
    Last edited by suvois; 05-28-2012 at 04:17 PM.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,533
    I have done this with Red Hat distributions, but on file systems that are mounted as part of the boot process - they are in /etc/fstab. IE, once the system is up, and before you log in, you need to have a valid /tmp, whether a physical directory, a mounted directory, or a symbolic link to a valid directory.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined! Sector11's Avatar
    Join Date
    Aug 2012
    Location
    With my wife.
    Posts
    23
    Personally I wouldn't touch them:

    http··//0pointer.de/blog/projects/tmp.html

    change the ·· in the URL to :

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •