View Single Post

   
  #2 (permalink)  
Old 01-18-2008, 09:12 AM
Lars Kellogg-Stedman
 
Posts: n/a
Default Re: MAKEDEV and CentOS -- cdrecord.

> But with CentOS 4.2, there are no /dev/sg* entries in /dev.
> So I created them with MAKEDEV, and then it would work (but not the same as
> before). But if I reboot, those /dev entries disappear.


Centos (and Fedora and RHEL) use udev to manage device nodes in /dev.
Don't use MAKEDEV; instead, take a look at the files in /etc/udev.d.
But before you do *that*, just try loading the 'sg' module, and you'll
probably find that you now have the necessary /dev/sg* device nodes
without any further intervention on your part.

It doesn't make sense to create the devices with MAKEDEV if the
appropriate kernel module isn't loaded.

-- Lars

--
Lars Kellogg-Stedman <8273grkci8q8kgt@jetable.net>
This email address will expire on 2005-11-23.

Reply With Quote