This is really a FAQ! For me the following works, maybe there are better
solutions...
For some reason the cdrom modules are not automatically loaded: I load the
cdrom modules by "modprobe ide-cd" in rc.local. Maybe someone can tell us
how to fix this more elegant...
To get your favourate links in /dev you have to add lines like this to
/etc/devfsd.conf:
REGISTER mydir/mydev CFUNCTION GLOBAL symlink $devname mydev
UNREGISTER mydir/mydev CFUNCTION GLOBAL unlink mydev
To get /dev/cdrom I use:
REGISTER ide/host0/bus0/target1/lun0/cd CFUNCTION GLOBAL symlink
$devname
cdrom
UNREGISTER ide/host0/bus0/target1/lun0/cd CFUNCTION GLOBAL unlink
cdrom
I think mydir/mydev has to be the actual device not a link, i.e.
cdroms/cdrom0 did not work.
Manfred
J Landman wrote:
>
> Folks:
>
> I think this is a FAQ but it isn't in the FAQ as far as I can tell. I
> am also not sure who owns the problem in reality, as it appears to be
> more of a devfsd setup than an XFS problem. But it is worth working up
> an answer to, as I am sure that it is a FAQ (and will be for new folks
> doing devfsd on a distro to get XFS).
>
> I just downloaded the 7.1 installer, and installed the XFS with RedHat
> 7.1 to my laptop (erasing an older Mandrake 7.2 install). In the older
> install, my audio and cdrom worked fine. With the new install on there,
> they do not work, and from what I can see, it is a devfsd issue.
>
> Looking at the hardware tree for the drive, and the /etc/devfsd.conf
> file, I cannot really figure out how to force the CDROM to be visible.
> I have added some LOOKUP lines to the devfsd.conf file, that seem to
> work when I force a modprobe of sound. I would like the CD to be
> visible too. This is an IDE CD ( /dev/hdb in the old nomenclature).
>
> What I cannot tell from the /etc/devfsd.conf file is how it mapped the
> tree to the /dev/hda in the first place. I am sure that the solution to
> my problem is very much related to this. If someone could point me to a
> document which explains this mapping (specific to the 1.0 XFS installer
> for RedHat) and where to look to add to it (specifically so I can set up
> a mapping for my CD) I would appreciate it.
>
> Note: I did look in /dev/cdroms/ and there was no entry for cdrom0.
> This is where the problem is. I need to get the cdrom0 noticed in the
> first place in order to make this work. Clues/hints are requested.
>
> The suggestion: The installer gets you to a screen giving you the
> ability to partition using one of three methods. Two of the three
> methods do not give you the ability to create an XFS partition (I tried
> them). It would be nice if you added the ability to create an XFS
> partition (or filesystem) on top of the existing fdisk/disk druid
> system, or somehow specifically indicated which partition to use (both
> say linux native). There wasn't an indication of how to go about
> creating any particular file system atop the linux native partition.
> Words to that effect would have been helpful. Looking at my "xfs
> partition" (xfs file system atop a linux partition) makes me wonder
> whether or not the disk druid/fdisk would have worked.
>
> --
> Joe Landman,
> landman@xxxxxxxxxxxx
maba.vcf
Description: Card for Manfred W. Baumstark
|