Skip site navigation (1)Skip section navigation (2)
Date:      07 Aug 2001 20:34:41 -0700
From:      swear@aa.net (Gary W. Swearingen)
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/29525: hier(7) has sometimes-erroneous descriptions of tmp dirs.
Message-ID:  <bz66bzteb2.6bz@localhost.localdomain>

next in thread | raw e-mail | index | archive | help

>Number:         29525
>Category:       docs
>Synopsis:       hier(7) has sometimes-erroneous descriptions of tmp dirs.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 20:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Gary W. Swearingen
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
none
>Environment:
n/a
================
>Description:

The descriptions in hier(7) of /tmp and /var/tmp may lead users to make
inefficient or dangerous-to-their-data usage of the directories.  The
descriptions state policies of tmp file deletion that are not in effect
on many systems which don't bother to make a custom hier(7).
================
>How-To-Repeat:
n/a
================
>Fix:

Change the descriptions to say, in essence, that file deletion is
at the system administrators' discretion/policy in both directories.

It would probably be prudent to vet the changes with well-experienced
SAs; I'm just an experienced user and home SA.

patch -d "some man/man1" < this-PR

*** /tmp/old-hier.7	Tue Aug  7 19:20:19 2001
--- hier.7		Tue Aug  7 19:51:36 2001
***************
*** 139,145 ****
  .It Pa /stand/
  programs used in a standalone environment
  .It Pa /tmp/ 
! temporary files
  .It Pa /usr/
  contains the majority of user utilities and applications 
  .Pp
--- 139,148 ----
  .It Pa /stand/
  programs used in a standalone environment
  .It Pa /tmp/ 
! temporary files; system administrators have differing policies about what
! temporary means; the traditional theory is that /tmp is emptied at system
! bootup and old or big files are deleted at the SA's discretion, but
! often the bootup-deletion is not done
  .It Pa /usr/
  contains the majority of user utilities and applications 
  .Pp
***************
*** 718,724 ****
  .El
  .Pp
  .It Pa tmp/ 
! temporary files that are kept between system reboots
  .Bl -tag -width Fl -compact
  .It Pa vi.recover/
  the directory where recovery files are stored
--- 721,730 ----
  .El
  .Pp
  .It Pa tmp/ 
! temporary files; system administrators have differing policies about what
! temporary means; the traditional theory is that /var/tmp is emptied only at
! the SA's discretion and not at every system bootup, but it is sometimes
! linked with the /tmp which is sometimes emptied at bootup
  .Bl -tag -width Fl -compact
  .It Pa vi.recover/
  the directory where recovery files are stored
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bz66bzteb2.6bz>