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.
--
"there's nothing as inspirational for a hacker as a cat obscuring a bug
by sitting in front of the monitor" - Boudewijn Rempt
A.J. Venter
Chief Software Architect
OpenLab International
www.getopenlab.com
www.silentcoder.co.za
+27 82 726 5103
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives