/etc/mtab must be a symlink to /proc/mounts
2013-08-04 00:00
429 查看
With linux >= 2.6.26, /proc/mounts contains all of the information in /etc/mtab, plus more. The mount system call can now pass all of the mount options to the kernel, so no information is missing in /proc/mounts. This has obviously useful benefits such as read-only root, and the state in /etc/mtab never gets out of sync with reality (there are a number of open bugs against mount where this occurs). Additionally, with the addition of per-process namespaces with CLONE_NEWNS to clone(2), each process has its own set of mounts, and as such a system-wide /etc/mtab is useless: it's only valid in one of the potentially many namespaces and can quickly get into a horrible mess. At this point, /etc/mtab *must* be a symlink to avoid breakage. Note that /proc/mounts is now a symlink to /proc/self/mounts for this reason: each process has potentially different mounts.
相关文章推荐
- Linux中/etc/fstab /etc/mtab /proc/mounts这三个文件的分析与比较
- /proc/mounts和/etc/mtab的区别
- Linux中/etc/fstab /etc/mtab /proc/mounts这三个文件的分析与比较
- Linux中/etc/fstab /etc/mtab /proc/mounts这三个文件的分析与比较 分区表位置
- /etc/mtab与/proc/mounts
- Checking monitor must be configured to display at least 256 colors Could not ex
- error : A file found in a source-path must have an externally visible definition. If a definition in the file is meant to be ext
- ORA-01439: column to be modified must be empty to change datatype
- FastCGI must be properly configured before attempting to connect to Map Server.问题的解决办法
- UBUNTU 9.10 因断电升级未成功后重启出现“one or more of the mounts listes in /etc/fstab cannot yet be mounted?”?
- Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 o
- dom4j:Adding text to an XML document must not be null
- ORA-02069: global_names parameter must be set to TRUE for this operation
- VS2010:error C3083: 'Office': the symbol to the left of a '::' must be a type
- 提交时提示错误This Bundle is invalid.New apps and app updates submitted to the App Store must be built wit
- [未解决] The username entered must be the same as the database accesss account for the server farm you wish to join.
- Row index must be greater than or equal to zero and less than the number of rows.
- Linkfields to detail must be unique的意思
- 提交时提示错误This Bundle is invalid.New apps and app updates submitted to the App Store must be built wit
- According to TLD, tag s:property must be empty