Bug 27252

Summary: devfs modules entry points to the attic
Product: Base System Reporter: anarcat <anarcat>
Component: miscAssignee: Poul-Henning Kamp <phk>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description anarcat 2001-05-10 19:00:01 UTC
http://www.FreeBSD.org/cgi/cvsweb.cgi/devfs/ points to
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/miscfs/devfs/ 

As recorded by the cvs log of (e.g.) the src/sys/miscfs/devfs/Attic/README:

Revision 1.8, Sun Aug 20 21:34:36 2000 UTC (8 months, 2 weeks ago) by phk 
Branch: MAIN 
CVS Tags: HEAD 
Changes since 1.7: +1 -1 lines
FILE REMOVED 

  Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)
...

Fix: 

Change the modules line:

devfs           src/sys/miscfs/devfs

by:

devfs           src/sys/fs/devfs

Sorry, no access to a decent system to make a diff(1)
How-To-Repeat: Goto: http://www.FreeBSD.org/cgi/cvsweb.cgi/devfs/
Comment 1 ru freebsd_committer freebsd_triage 2001-05-10 19:13:00 UTC
Responsible Changed
From-To: freebsd-bugs->phk

Let MAINTAINER handle this.
Comment 2 Bruce Evans 2001-05-11 07:55:03 UTC
On Thu, 10 May 2001 anarcat@tao.ca wrote:

> >Fix:
> Change the modules line:
> 
> devfs           src/sys/miscfs/devfs
> 
> by:
> 
> devfs           src/sys/fs/devfs

The modules file is not tagged, so this would break checking out devfs
as a module under old versions of FreeBSD including all current
releases.  The new devfs module has to be named something ugly like
sys_fs_devfs.  It probably should never have had a short name anyway.
One name is good enough for the not unused module sys_kern.  However,
most miscfs's have between 3 and 5 names (1 for the LKM module, on
for the "kld" module, one short name, one longer name with a "sys_"
prefix, and one longer longer name with a "sys_miscfs_" prefix).

Bruce
Comment 3 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-05-13 08:00:01 UTC
State Changed
From-To: open->closed

As Bruce already noted, the modules file is not tagged so it is 
not clear what the correct action is here while 4.x is a live 
branch. 

Modules in the src/sys tree are less than useful, since you need the 
entire kernel-source to compile anything anyway.