[Gllug] Size of tmpfs
Dylan
dylan at dylan.me.uk
Fri Jan 10 12:48:50 UTC 2003
On Friday 10 January 2003 10:49, Bruce Richardson wrote:
> On Fri, Jan 10, 2003 at 09:22:19AM +0000, Dylan wrote:
> > Now, I'd like to get the contents of /var/tmp into the tmpfs as well.
> > Obviously I could set up two tmpfs's - one for /tmp and one for /var/tmp.
> > Would it be possible/advisable to set up a link from one to the other
> > (i.e. a link from /var/tmp to /tmp ?)
>
> It's perfectly possible. Another option introduced with 2.4.0 is to
> remount /tmp at /var/tmp
>
> mount --bind /tmp /var/tmp
>
> Which iirc can be done in fstab as
>
> /tmp /var/tmp none bind 0 0
er, ok, don't know about so I think I'll leave it out for now
>
> This appeals to me because I have had bad experiences in the past with
> some distributions when I replaced some standard directories with
> symlinks, only to find the package management system removing them and
> putting back the original directory. Also, ~t explicitly states what
> you're doing.
Eh? ~t?
Dylan
--
"Sweet moderation
Heart of this nation
Desert us not
We are between the wars"
Billy Bragg
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list