Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69635 - [PATCH] creation of /dev/sndstat in /sbin/rc
Summary: [PATCH] creation of /dev/sndstat in /sbin/rc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All All
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-31 09:43 UTC by Gregorio Guidi (RETIRED)
Modified: 2004-11-02 06:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregorio Guidi (RETIRED) gentoo-dev 2004-10-31 09:43:43 UTC
this little one-liner for /sbin/rc avoids the creation of a broken link on my 
box (I don't have oss).

--- rc.orig     2004-10-31 18:37:05.350339016 +0100
+++ rc  2004-10-31 18:38:09.007661632 +0100
@@ -80,7 +80,7 @@
        ln -snf fd/1 /dev/stdout
        ln -snf fd/2 /dev/stderr
        ln -snf /proc/kcore /dev/core
-       ln -snf /proc/asound/oss/sndstat /dev/sndstat
+       [ -e /proc/asound/oss/sndstat ] && ln -snf /proc/asound/oss/sndstat /dev/sndstat

        # Create nodes that udev can't
        [ -x /sbin/dmsetup ] && /sbin/dmsetup mknodes &> /dev/null

I also found this really old email... maybe that line could be entirely removed:

http://www.ussg.iu.edu/hypermail/linux/kernel/0003.1/0073.html
Comment 1 SpanKY gentoo-dev 2004-11-02 06:00:36 UTC
a quick check on my system yielded no sndstat references; removed the line