l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
January 6: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2004 Jul 15 11:09

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Gentoo install: Question on /var/tmp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Gentoo install: Question on /var/tmp



Hello, everyone, and currently I'm preparing to install Gentoo Linux
on what will be a dual-boot system -- with MS-DOS 6.22/DJGPP (a 32-bit
DOS port of the GNU utilities) already in place.

At this point I'm trying to plan out an install scenario, and am
fairly confident about my general scheme for partitioning the system's
hard drive -- 2G for DOS and 38G for Gentoo. However, the _Gentoo
Handbook_ makes a comment about /var/tmp -- I plan a separate /var
partition -- that I'd like to be clearer on in terms of what happens
and when.

Why I don't quote enough from the Handbook to give a bit of context:

>   4.e. Mounting

>   Now that your partitions are initialized and are housing a filesystem,
>   it is time to mount those partitions. Use the mount command. Don't
>   forget to create the necessary mount directories for every partition
>   you created. As an example we mount the root and boot partition:

>       Code Listing 15: Mounting partitions
>   # mount /dev/hda3 /mnt/gentoo
>   # mkdir /mnt/gentoo/boot
>   # mount /dev/hda1 /mnt/gentoo/boot

>   Note: If you want your /tmp to reside on a separate partition, be sure
>   to change its permissions after mounting: chmod 1777 /mnt/gentoo/tmp.
>   This also holds for /var/tmp.

Should I take this to mean after following the example of Code Listing
15 for mounting the /var partition -- say hda9 -- I should then create
a /var/tmp directory manually and apply chmod 1777?

     # mkdir /mnt/gentoo/var
     # mount /dev/hda9 /mnt/gentoo/var
     # mkdir /mnt/gentoo/var/tmp
     # chmod 1777 /mnt/gentoo/var/tmp

The idea here, as was discussed in one thread in the Gentoo Forums
which suggested this procedure to me, is to set /var/tmp at a mode of
1777 while leaving the rest of /var at the usual 755.

What I'd like to confirm is that this looks like the right procedure
at the right time in the install process.

Most appreciatively,

Margo Schulter
mschulter@calweb.com

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.