Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルシステムとカーネルでsysfsを無効にするカスタムLinuxを使用しようとしています。ドライバの使用方法、または sysfs を使用するドライバを使用する場合に必要な変更についてお尋ねしたいと思います。
ありがとう、ラン
はい、できます。
sysfs は 2.6 カーネルでのみ登場したため、sysfs を介したユーザー空間とカーネル空間の間の強いリンクはありません。
udev デーモンがないため、デバイス ファイルは mknod コマンドで静的に作成する必要があります。
ttyS0 デバイス ファイルの例:
mknod /dev/ttyS0 c 4 64