Re: getting mount points in kernel

2005-01-14 Thread Ryan Sommers
Siddharth Aggarwal said: > > Hi all, > > Is there a system call to get all the mount points? In a user app, I guess > I would probably parse the /etc/fstab, but how do I do it in the kernel? > > TIA, > Sid. >From userland: man getmntinfo, man getfsstat >From kernel land: I'd have a look at the co

Re: getting mount points in kernel

2005-01-14 Thread Zera William Holladay
On Fri, 14 Jan 2005, Siddharth Aggarwal wrote: > > Hi all, > > Is there a system call to get all the mount points? In a user app, I guess > I would probably parse the /etc/fstab, but how do I do it in the kernel? Is are you looking for "man 2 getfsstat"? Entries in /etc/fstab are not nessarily m

getting mount points in kernel

2005-01-14 Thread Siddharth Aggarwal
Hi all, Is there a system call to get all the mount points? In a user app, I guess I would probably parse the /etc/fstab, but how do I do it in the kernel? TIA, Sid. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo