[ILUG] My tip of the day...
Fergal Daly
fergal at esatclear.ie
Fri Jan 21 02:15:43 GMT 2000
At 02:00 21/01/00 +0000, Kenn Humborg wrote:
>On Fri, Jan 21, 2000 at 01:40:07AM +0000, Thomas Ribbrock wrote:
>> Probably everybody else knew this one - but it was new to me:
>>
>> You can get Linux to rescan the SCSI bus and e.g. add a drive you've just
>> switched on by using the following:
>>
>> echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi
>
>Does this kind of thing worry anybody else? I'm not really that
>comfortable with command line parsers in my kernel.
>
>The /proc filesystem is great for tweaking and getting kernel
>info, but next thing you know, there will be a whole scripting
>language in there...
>
>Ha ha, only serious...
Next thing nothing, have a look for the Perl Filesystem (my bookmark is
ancient and broken but it got a mention recently in the Hurd mailing list
digest). This basically allows you to write a filesystem kernel module in
perl, I imagine it could be adapted for other type of module too.
I think they wanted to create a new network fs and they figures that
network slowness would esaily outweigh perl's slowness,
Fergal
More information about the ILUG
mailing list