Sadin Nurkic wrote on Sun, Jun 30, 2002 at 12:18:16PM +1000 :
> Hey all...
> 
> I'm having a small problem with the /dev subdirectory and
> the device files/links for the DAC960 raid controller. From the install
> as you can see from this, the links are pointing wrongly to
> rd/disc0/* instead of just disc0/*

Quite frankly, if this is a server, boot with "devfs=nomount".

This is what's defined in /etc/modules.devfs:
# RAMDISCs
alias     /dev/rd               rd

This means that when something attempts to access /dev/rd/*, devfs
effectively sends a "modprobe rd" to the kernel, the kernel loads it,
the module starts running, and the module creates the devices.  The
symlinks being created is being done in one of two places:
1) by the module loading (I don't think so)
-or-
2) by the installer at boottime.  

In the case of #2, one of the configuration options of devfs is that it
stores a copy of manual changes in /lib/dev-state.  Change the symlinks
in /dev and those changes should magically appear in /lib/dev-state.
Then those changes should persist through reboots.

> I've tried to look through the makedev files/devfs config files, but I'm
> unable to find where the config would be to change these links just to disc0
> etc... I can just make a link with "ln -sf . rd" and that fixes the problem
> momentarily, but sometimes on bootup the links in devfs get reconstructed
> and I lose my partitions again. That's why I changed the fstab
> to instead point directly to the /dev/rd/disc0/part1 file instead to the
> /dev/rd/c0d0p1 as it was configured originally by mandrake install.
> 
> Any help with this would be greatly appreciated.

Also, you are away that you're limited to three bits with the Mylex
driver, right?  So the highest partition number you can have is 7.  It
looks as if you're aware of it since you've forced as much as possible
into primary partitions.

Blue skies...           Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk

Attachment: msg55899/pgp00000.pgp
Description: PGP signature

Reply via email to