最終更新:2015-10-20 (火) 18:11:42 (3103d)  

devtmpfs
Top / devtmpfs

デバイスノードはシステムが起動するたびに生成されることになるので、 devtmpfs ファイルシステム上に保存されます。 ( devtmpfs は仮想ファイルシステムであり、メモリ上に置かれます。)

概要

  • This creates a tmpfs/ramfs? filesystem instance early at bootup. In this filesystem, the kernel driver core maintains device nodes with their default names and permissions for all registered devices with an assigned major/minor number.
  • Userspace can modify the filesystem content as needed, add symlinks, and apply needed permissions.
  • It provides a fully functional /dev directory, where usually udev runs on top, managing permissions and adding meaningful symlinks.
  • In very limited environments, it may provide a sufficient functional /dev without any further help.
  • It also allows simple rescue systems, and reliably handles dynamic major/minor numbers.

mount

  • udev on /dev type devtmpfs (rw,mode=0755)

.config

  • CONFIG_DEVTMPFS?
  • Maintain a devtmpfs filesystem to mount at Linux/dev

関連

参考