devfs
[Top] [All Lists]

Re: 2.5.19 - 2.5.21 don't boot with devfs

To: gphat@xxxxxxxxx
Subject: Re: 2.5.19 - 2.5.21 don't boot with devfs
From: A Guy Called Tyketto <tyketto@xxxxxxxxxx>
Date: Fri, 14 Jun 2002 15:28:15 -0700
Cc: devfs@xxxxxxxxxxx
In-reply-to: <20020614151457.63A9A6838EDB@xxxxxxxxxxxxxx>
References: <20020614151457.63A9A6838EDB@xxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Fri, Jun 14, 2002 at 03:14:57PM +0000, gphat@xxxxxxxxx wrote:
> I had the same problem, as the familiar /dev/hdN devices were not there. 
>  
> You can likely find them deep /dev/ata/... 
>  
> I adjusted my fstab to use /dev/ata/... devices.  I believe I had done that 
> once for /dev/ide, but then it was switched to ata ;) 
>  

        I found this out as well, and made a patch that was accepted into 
Martin Dalecki's IDE patchset. Turns out that the IDE guys had decided to 
change the published standard for the IDE devices to /dev/ata, then have a 
symlink to it named /dev/ide. DevFS wouldn't follow the symlink. The following 
below changes it back to /dev/ide and kills the symlink (approved by Richard 
Gooch):

-- snip --

--- linux/drivers/ide/main.c.ata        Mon Jun 10 02:47:50 2002
+++ linux/drivers/ide/main.c    Mon Jun 10 02:49:03 2002
@@ -1290,8 +1290,7 @@
 {
        printk(KERN_INFO "ATA/ATAPI device driver v" VERSION "\n");
 
-       ide_devfs_handle = devfs_mk_dir(NULL, "ata", NULL);
-       devfs_mk_symlink(NULL, "ide", DEVFS_FL_DEFAULT, "ata", NULL, NULL);
+       ide_devfs_handle = devfs_mk_dir(NULL, "ide", NULL);
 
        /*
         * Because most of the ATA adapters represent the timings in unit of


-- snip --
        Give this a go.

                                                        BL.
-- 
Brad Littlejohn                         | Email:        tyketto@xxxxxxxxxx
Unix Systems Administrator,             |           tyketto@xxxxxxxxxxxxxx
Web + NewsMaster, BOFH.. Smeghead! :)   |   http://www.wizard.com/~tyketto
  PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569  F620 C819 199A E319 F0BF


<Prev in Thread] Current Thread [Next in Thread>