Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 35273
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Radoslaw Szkodzinski <astralstorm@gen2.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35273 depends on: Show dependency tree
Bug 35273 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-07 11:04 0000
/etc/init.d/hdparm on Gentoo system w/o devfs complains about not being able to
find /dev/discs - this trivial patch fixes it:
(sorry for messed up modification dates)

--- /etc/init.d/hdparm.orig       2003-12-03 20:01:17.000000000 +0100
+++ /etc/init.d/hdparm    2003-12-06 10:20:09.000000000 +0100
@@ -12,7 +12,7 @@
        drives=""
        cdroms=""

-       for i in `dir /dev/discs`
+       for i in `dir /dev/discs 2>/dev/null`
        do
                if [ ! -n "`ls -la /dev/discs/${i} | grep scsi`" ]
                then

------- Comment #1 From SpanKY 2003-12-08 06:16:07 0000 -------
rather than just piping everything into /dev/null why dont we update the script
to check to handle devfs and an old school dev setup ? (hd[abcde])

------- Comment #2 From SpanKY 2004-01-25 15:26:55 0000 -------
ah whatever, added the patch

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug