Re: /tmp (as a RAM disk?) in a small root partition
On Tue, Jun 13, 2000 at 09:23:20AM -0500, David Starner wrote:
> On Tue, Jun 13, 2000 at 01:21:11PM +0200, Thomas 'Mike' Michlmayr wrote:
> > On Tue, Jun 13, 2000 at 13:13:38 +0200,
> > Stephan Niemz <st.n@gmx.net> wrote:
> > [...]
> > > I can't quite see this disaster, because under normal operation nothing
> > > tries to write to the root partition, except for /tmp.
> >
> > every mount operation writes to /etc/mtab. and no, you can't move it to
> > another partition.
>
> On my root partition, du mtab says it uses up 1K of space. ls -l /etc/mtab
> 347. So I can double mtab before it will try to allocate another sector. If
> you have enough things potentially mounted to fill 1K of space, then this
> might be a problem. Or if you use something like Reiserfs, which merges those
> small files. Otherwise, I don't see it as an issue.
>
you might want to mount / as read only, for security or safety reasons.
(or if you are mounting root via nfs)
--
-----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__ garabik @ melkor.dnp.fmph.uniba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
Reply to: