Linux Programming Tips

From Free Pascal wiki
Revision as of 11:30, 10 February 2012 by Sekelsenmat (talk | contribs) (New page: __TOC__ {{Other Interfaces}} ==How to...== ===Get the list of mounted partitions=== Read and parse the file /etc/mtab An example of such a file: <pre> /dev/sda5 / ext4 rw,commit=0 0 0 no...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Other Interfaces

Platform specific Tips

Interface Development Articles

How to...

Get the list of mounted partitions

Read and parse the file /etc/mtab

An example of such a file:

/dev/sda5 / ext4 rw,commit=0 0 0
none /proc proc rw 0 0
/dev/sda7 /home ext4 rw,commit=0 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
gvfs-fuse-daemon /home/felipe/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=felipe 0 0
truecrypt /tmp/.truecrypt_aux_mnt1 fuse.truecrypt rw,nosuid,nodev,allow_other 0 0
/dev/mapper/truecrypt1 /media/truecrypt1 vfat rw,uid=500,gid=500,umask=077 0 0