0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Linux][directory] デバイスファイルと設定ファイル_/dev, /etc, /bot, /proc

Last updated at Posted at 2025-01-28

デバイスファイルとは

  • Linuxシステムにおいて、デバイスをファイルとして扱うための特別なファイル
    • ユーザーやアプリケーションがデバイスにアクセスするためのインターフェース
  • udevという仕組みによって、デバイスファイルは自動的に/devに作成・格納される

設定ファイルとは

  • Linuxシステムにおいて、システムやアプリケーションの動作を制御するためのファイル
  • /etcに格納される
  • GRUB LegacyGRUB2の設定ファイルは/bootに格納される

デバイスファイルと設定ファイルの関係性

  • /devディレクトリにデバイスファイルを生成する方法を、/etc/udev/rules.dの設定ファイルによって定義する

一覧

ファイル名 目的 格納場所
デバイスファイル デバイスをファイルとして扱うため /dev
設定ファイル システムやアプリケーションの動作を制御するため /etc
/boot(GRUB)
カーネルやプロセスに関する情報を提供するため /proc

参考リンク

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?