官术网_书友最值得收藏!

Filesystems

POSIX not only defines how to read and write a file from a POSIX-compliant operating system, it also defines where files should be located on the filesystem. In Chapter 8, Learning to Program File Input/Output, we will go into great detail about how to read and write to a filesystem using C, C++, and POSIX. 

With respect to the layout of the filesystem, POSIX defines where files should be located, including common folders such as the following:

  • /bin: for binaries used by all users
  • /boot: for files needed to boot the operating system
  • /dev: for physical and virtual devices
  • /etc: for configuration files needed by the operating system
  • /home: for user-specific files
  • /lib: for libraries needed by executables
  • /mnt and /media: used as temporary mount points
  • /sbin: for system-specific binaries
  • /tmp: for files that are deleted on reboot
  • /usr: for user-specific versions of the preceding folders
主站蜘蛛池模板: 柳河县| 揭阳市| 北京市| 全椒县| 巨野县| 喀喇沁旗| 佛教| 田东县| 多伦县| 措美县| 土默特左旗| 滦南县| 西平县| 新化县| 二手房| 华安县| 会东县| 会昌县| 开江县| 富宁县| 那曲县| 新丰县| 东兰县| 江永县| 遵义县| 郸城县| 海林市| 美姑县| 若羌县| 大冶市| 汽车| 清远市| 贡山| 常山县| 西宁市| 凉城县| 拉孜县| 黎城县| 县级市| 石渠县| 尖扎县|