Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24361 - Allow the starting of devfsd to be controlled via /etc/conf.d/devfsd
Summary: Allow the starting of devfsd to be controlled via /etc/conf.d/devfsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-12 16:42 UTC by Kurt Hindenburg
Modified: 2003-08-04 12:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/sbin/rc diff (rc.diff,782 bytes, patch)
2003-07-12 16:44 UTC, Kurt Hindenburg
Details | Diff
A sample /etc/conf.d/devfsd (devfsd,52 bytes, text/plain)
2003-07-12 16:46 UTC, Kurt Hindenburg
Details
Diff for /sbin/rc (rc.diff,804 bytes, patch)
2003-08-01 09:33 UTC, Kurt Hindenburg
Details | Diff
DIff for /etc/conf.d/rc (conf.d-rc.diff,556 bytes, patch)
2003-08-01 09:34 UTC, Kurt Hindenburg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Hindenburg 2003-07-12 16:42:36 UTC
This allows for a /etc/conf.d/devsfd which control whether devfsd is started or
not at bootup.  Only /sbin/rc is altered.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kurt Hindenburg 2003-07-12 16:44:24 UTC
Created attachment 14415 [details, diff]
/sbin/rc diff
Comment 2 Kurt Hindenburg 2003-07-12 16:46:11 UTC
Created attachment 14417 [details]
A sample /etc/conf.d/devfsd
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-16 10:48:33 UTC
Why ?  Not using devfs ?

Comment 4 Kurt Hindenburg 2003-07-16 11:10:17 UTC
Yes I'm using devfs.  I don't like a bunch of crap in my /dev and it is easier to see what 
the kernel recognizes... 
 
% ls /dev 
cdroms/  discs/   ide/      loop/  nvidia0    pts/    root@   tty      zero 
console  fb/      initctl|  mem    nvidiactl  pty/    shm/    urandom 
cpu/     floppy/  kmem      misc/  port       random  sound/  vc/ 
cua/     full     log=      null   ptmx       rd/     tts/    vcc/ 
 
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-17 07:31:16 UTC
Ok, but then I will rather have the 'switch' in /etc/conf.d/rc.
Comment 6 Kurt Hindenburg 2003-08-01 09:30:05 UTC
Ok, I've redone the patches.  devfsd is now controlled in /etc/conf.d/rc.  I've also changed the logic : devfsd will NOT be started only if RC_DEVFSD_STARTUP="no".  In this way, if the user screws up RC_DEVFSD_STARTUP, devfsd will start as normal.
Comment 7 Kurt Hindenburg 2003-08-01 09:33:31 UTC
Created attachment 15325 [details, diff]
Diff for /sbin/rc

Heres the new diff for /sbin/rc.
Comment 8 Kurt Hindenburg 2003-08-01 09:34:50 UTC
Created attachment 15327 [details, diff]
DIff for /etc/conf.d/rc

Here's the diff for /etc/conf.d/rc.  devfsd startup is now controlled by
RC_DEVFSD_STARTUP.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-04 12:18:55 UTC
Added to CVS, thanks.