[lkml]   [2002]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] 2.5.14 IDE 56
Użytkownik Richard Gooch napisał:
> Linus Torvalds writes:
>>On Tue, 7 May 2002, Alan Cox wrote:
>>>>>Fugly. What's wrong with readlink(2) as this "magic syscall"?
>>>>Ehh - like the fact that it doesn't work on device files?
>>>I can't find anything in Posix/SuS that says it isnt allowed to however 8)
>>We can certainly do it, it just doesn't buy us much of anything, since
>>none of the standard tools (ie "ls") will actually do the readlink() for
>>anything but a symlink.
>>So at that point it's just another magic syscall, except we've overloaded
>>an old one.
>>Which may certainly be acceptable, of course.
> I wasn't suggesting a magic readlink(2). I was suggesting a *real*
> one. Device nodes get stored in the physical tree (what you call
> driverfs), and the entries in the logical tree are symlinks. Such as:
> /dev/scsi/host0 symlink to /dev/bus/pci0/slot1/function2
> or something like that. Easy to implement, easy to understand, easy to
> manage.

Now you take the last step toward solaris and realize why I was
always against your solution (no personal offence)
to the device management problem - they do it all in user space
by precisely the above symlink system....

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.270 / U:1.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site