- Hands-On System Programming with C++
- Dr. Rian Quinn
- 148字
- 2021-07-02 14:42:35
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
推薦閱讀
- 輕松學大數據挖掘:算法、場景與數據產品
- SQL查詢:從入門到實踐(第4版)
- 大數據Hadoop 3.X分布式處理實戰
- 計算機應用基礎教程上機指導與習題集(微課版)
- 達夢數據庫運維實戰
- Hadoop集群與安全
- Visual FoxPro數據庫技術基礎
- The Natural Language Processing Workshop
- 數據應用工程:方法論與實踐
- Python金融數據挖掘與分析實戰
- Creating Mobile Apps with Appcelerator Titanium
- SQL必知必會(第5版)
- 拿下Offer:數據分析師求職面試指南
- 云存儲安全:大數據分析與計算的基石
- Spark大數據實時計算:基于Scala開發實戰