Re: /tmp on tmpfs with selinux enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Miller wrote:
On Fri, May 06, 2005 at 09:59:47AM -0500, Aleksandar Milivojevic wrote:

Basically, I have /tmp mounted on small tmpfs file system (to keep it separate from root partition, without need for allocating dedicated disc space for it). Now, root directory of anything mounted as tmpfs will be

A non-selinux issue I ran into trying to do this: loopback devices can't (or couldn't) be on tmpfs. Previously, this caused new kernel installs to fail, but shouldn't with the new way of doing initrds -- but it still might cause other surprises.

Seems that on current kernels (well, at least 2.6.9+) loopback device can live on tmpfs. I've just tried out "mount -o loop /tmp/fd.img /tmp/mnt", and it worked correctly on machine that has tmpfs mounted /tmp (RHEL4 machine, currently my Fedora machine is using "normal" /tmp).


--
Aleksandar Milivojevic <amilivojevic@xxxxxx>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux