lkml.org 
[lkml]   [2000]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch-2.3.46-p2] P6 microcode update support
H. Peter Anvin writes:
> Followup to: <200002162304.KAA05769@mobilix.atnf.CSIRO.AU>
> By author: Richard Gooch <rgooch@ras.ucalgary.ca>
> In newsgroup: linux.dev.kernel
> >
> > > c) whether kernel has update support or not is determined by whether
> > > the minor=184 is accessible (perhaps by loading a driver) or not.
> > > /proc does not make things much easier.
> >
> > It's much friendlier to the sysadmin or script writer to list the
> > directory or test for the file than to do a speculative open. I don't
> > know of a standard programme (say part of shell utils) that does this.
>
> Isn't that how devfs expects to do module autoloading?

Nope. Autoloading is done when you lookup a non-existent inode. So:

if [ -e /dev/cpu/microcode ]; then blah...; fi

will work.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.041 / U:2.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site