| To: | devfs mailing list <devfs@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: PATCH: support for IDE devices in ide-scsi with devfs |
| From: | Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx> |
| Date: | 21 Mar 2002 22:20:09 +0300 |
| In-reply-to: | <1016736897.3113.5.camel@localhost.localdomain> |
| References: | <1016736897.3113.5.camel@localhost.localdomain> |
| Sender: | owner-devfs@xxxxxxxxxxx |
В Чтв, 21.03.2002, в 21:54, Borsenkow Andrej написал:
> Currently using ide-scsi with devfs does not allow you to use hdparm
> interface because no IDE nodes (block devices) are created. The patch
> adds this.
>
> Related patch for devfsd that creates old compatibility links is going
> to devfs list. I do not think spcial new compatibility links are needed.
>
Here it is.
-andrej
diff -u devfsd-mdk/compat_name.c devfsd/compat_name.c
--- devfsd-mdk/compat_name.c Thu Mar 21 21:02:57 2002
+++ devfsd/compat_name.c Thu Mar 21 21:04:48 2002
@@ -234,6 +234,12 @@
get_old_ide_name (major, minor) );
compat_name = buffer;
}
+ else if (strcmp (devname + namelen - 7, "generic") == 0)
+ {
+ sprintf ( buffer, "hd%c",
+ get_old_ide_name (major, minor) );
+ compat_name = buffer;
+ }
return (compat_name);
}
else if ( (strncmp (devname, "ida/", 4) == 0) &&
Common subdirectories: devfsd-mdk/examples and devfsd/examples
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: patch for close on exec, Russell Coker |
|---|---|
| Next by Date: | PATCH: support for IDE devices in ide-scsi with devfs, Borsenkow Andrej |
| Previous by Thread: | PATCH: support for IDE devices in ide-scsi with devfs, Borsenkow Andrej |
| Next by Thread: | Re: PATCH: support for IDE devices in ide-scsi with devfs, Richard Gooch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |