Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291211 - Handbook can mention mount --bind /tmp /tmp et al
Summary: Handbook can mention mount --bind /tmp /tmp et al
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 18:56 UTC by Alexey Dobriyan
Modified: 2009-11-30 07:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Dobriyan 2009-10-30 18:56:24 UTC
Installation handbook or Hardening doc can mention "mount --bind /tmp /tmp"
as the cheapest way of preventing hardlinking from /tmp if it isn't a separate
filesystem already.

I use
mount --bind /tmp /tmp
mount --bind /var/tmp /var/tmp

and in /etc/fstab :

/tmp            /tmp            none    bind
/var/tmp        /var/tmp        none    bind

Reproducible: Always

Steps to Reproduce:
Comment 1 nm (RETIRED) gentoo-dev 2009-11-30 07:30:12 UTC
No real need for this, not for the vast majority of users.