Hi, On Thu, May 7, 2009 at 7:30 PM, sky knight <sky_knight02@xxxxxxxxx> wrote: > How to find whether proc is mounted or sys is mounted using C libraries. You can use gnu libc functions: http://linux.about.com/library/cmd/blcmdl3_getfsspec.htm > > I found this file in kernel source tree which showed me some idea. > > http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.29.y.git;a=blob;f=drivers/acpi/battery.c;h=69cbc57c2d1cd248e7431bb40661e9ea139efbb7;hb=HEAD > > But i just want to conform it whether it is correct or not. > > > Thanks, > > Alagunambi Welkin > http://webattery.sf.net > > good luck, Marek -- as simple as primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 http://open-nandra.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ