Re: mounted device list
- From: "Brian J. Tarricone" <bjt23 cornell edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: mounted device list
- Date: Fri, 05 Aug 2005 14:58:06 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Coppens wrote:
On Fri, 5 Aug 2005 21:39:11 +0200
The Saltydog <thesaltydog gmail com> wrote:
Is there some VFS or glib function to get the list of all mounted
devices with their mount points, or should I use standard GNU-C
libraries?
Probably the easiest way to do that is to access the /etc/mtab file or
the /proc filesystem (/proc/mounts)
Note that /proc/mounts is not portable...
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFC8+Du6XyW6VEeAnsRAnAeAJ4n1zRjNVu3CEHP25XEbmQgHSQc6gCcDHe2
HrJZ1r1vaV8/oT5Zx3t8fRw=
=Juj+
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]