Bug 84752 - [patch] 100.clean-disks cleans file systems that don't have files
Summary: [patch] 100.clean-disks cleans file systems that don't have files
Status: Closed DUPLICATE of bug 35545
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 5.4-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 14:30 UTC by mwm
Modified: 2018-02-18 07:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mwm 2005-08-10 14:30:09 UTC
	/etc/peiodic/daily/100.clean-disks cleans out file systems
	that don't have real files in them, like /dev on systems that
	use devfs.

Fix: 

Ok, I fibbed. The patch isn't here, it's in
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=conf/35545, which includes
a path to add an exclude list to 100.clean-disks. That should be
applied, and daily_clean_disks_exclude should be set to /dev on
systems that mount devfs on /dev by default.
How-To-Repeat: 
	devfs doesn't create any problems, but fdesc does. Mount fdesc
	on /dev/fd (which is where most things expect it), and then
	run 100.clean-disks. I get output like so:
	
Cleaning disks:
find: /dev/fd/3/.w3m: No such file or directory
find: /dev/fd/3/.ssh: No such file or directory
find: /dev/fd/3/.ncftp: No such file or directory
find: /dev/fd/3/.saves-18226-: No such file or directory
find: /dev/fd/3/.k5login: No such file or directory
find: /dev/fd/3/.cshrc: No such file or directory
find: /dev/fd/3/.login: No such file or directory
find: /dev/fd/3/.profile: No such file or directory
find: /dev/fd/3/.history: No such file or directory
find: /dev/fd/3/.saves-33368-guru.mired.org: No such file or directory
find: /dev/fd/3: No such file or directory
find: /dev/fd/4/.w3m: No such file or directory
find: /dev/fd/4/.ssh: No such file or directory
find: /dev/fd/4/.ncftp: No such file or directory
find: /dev/fd/4/.saves-18226-: No such file or directory
find: /dev/fd/4/.k5login: No such file or directory
find: /dev/fd/4/.cshrc: No such file or directory
find: /dev/fd/4/.login: No such file or directory
find: /dev/fd/4/.profile: No such file or directory
find: /dev/fd/4/.history: No such file or directory
find: /dev/fd/4/.saves-33368-guru.mired.org: No such file or directory
find: /dev/fd/4: No such file or directory
find: /dev/fd/5: Bad file descriptor
Comment 1 V.Chukharev 2010-03-14 14:29:23 UTC
This PR can be closed.
Reason: conf/35545 supersedes it IMO.

Vladimir
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:43 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Alex Kozlov freebsd_committer freebsd_triage 2018-02-18 07:20:30 UTC
Close at submitter's request.

*** This bug has been marked as a duplicate of bug 35545 ***