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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!