On Wednesday 20 December 2006 23:59, "Voytek Eymont" <[EMAIL PROTECTED]> wrote:
> On Wed, December 20, 2006 11:38 pm, Voytek Eymont wrote:
> > On Wed, December 20, 2006 11:10 pm, Alexander Stanley wrote:
> >> Sridhar Dhanapalan wrote:
> >>> On Tuesday 19 December 2006 08:26, "Voytek Eymont" <[EMAIL PROTECTED]>
> >>>
> >>>
> >>> I've been doing this for a number of years. Generally it is a good
> >>> idea.
> >
> > so, do I edit /etc/mtab ? (if I understand the docs, /etc/fstab gets auto
> > re-created)
>
> I've edited /etc/fstab so I get:
>
> # cat fstab | grep /tmp
> /dev/VolGroup00/LogVol02 /tmp  ext3 defaults,nosuid,nodev  1 2
>
> # mount | grep /tmp
> /dev/mapper/VolGroup00-LogVol02 on /tmp type ext3 (rw,nosuid,nodev)
>
>
> is this what I want ?

To those options, I would add 'noatime,nodiratime,noexec'. The first two give 
you a tiny bit more speed by not maintaining access times on files (probably 
unnecessary on /tmp), while the third prevents anything being executed from 
that filesystem (for security).

-- 
"It's clearly a budget. It's got a lot of numbers in it."
                - George W. Bush, 2000-05-05

Attachment: pgpSXdMEEHUVp.pgp
Description: PGP signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to