> You should be able to get almost all of it from /proc normal users have > read-only privileges there, it's basically a case of reading files to get the > information you want.
This is a very simple and interesting approach. I checked suggested folder and found alot of files most of them having very promising names but no content, zero length. I only found information regarding network card at /sys/class/net/eth0 or eth1. Is there any way to unveil it's contents? Is this folder structure common to all linux dstributions? Regards, Panagiotis Στις 05-03-2006, ημέρα Κυρ, και ώρα 20:31 +0200, ο/η A.J. Venter έγραψε: > On Sunday 05 March 2006 22:29, Panagiotis Sidiropoulos wrote: > > I found Linux command "hdparm" at > > http://www.webmasterworld.com/forum40/957.htm. This command provides a > > part of information I need, as follows. Is it possible to retrieve this > > information from inside a Lazarus app but without root previledges? > > > You should be able to get almost all of it from /proc normal users have > read-only privileges there, it's basically a case of reading files to get the > information you want. > > A.J. > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
