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

Re: Symlinking /tmp to /var...



>>>>> "Daniel" == Daniel Reuter <reuter@Uni-Hohenheim.DE> writes:

    Daniel> In a standard installation (i.e. you havn't modified the
    Daniel> init-scripts yourself), /var/tmp is wiped. So the symlink
    Daniel> way worked for me without the slightest problem.  Regards,
    Daniel> Daniel

Are you sure about this? I have files dating back from 1999 on my
/var/tmp, but an uptime of only 16 days.

However, perhaps /var/tmp really should be wiped on startup. The
following init.d file would have to be executed first, though.

[557] [snoopy:bam] /etc/rcS.d >ls -l S70nviboot 
lrwxrwxrwx    1 root     root           17 Feb 10  2000 S70nviboot -> ../init.d/nviboot*

Also, it might be important that this directory has the correct
permissions and ownership:

[562] [snoopy:bam] /etc/rcS.d >ls -dl /var/tmp/vi.recover
drwxrwxrwt    2 root     root         4096 Oct 16 19:38 /var/tmp/vi.recover/
-- 
Brian May <bam@debian.org>



Reply to: