modinfo 中文man頁面

2021-01-10 51cto

NAME

modinfo - 顯示當前內核模塊信息  

總覽

modinfo [ options ] <module_file>  

描述

modinfo 工具軟體用來對內核模塊的目標文件 module_file 進行測試並列印輸出相關信息。  

選項-a, --author 顯示模塊的開發人員 -d, --description 顯示此模塊的描述說明 -fformat_string, --format format_string 由用戶定義任意格式字符串,可以通過該字符串從內核模塊 module_file 的 ELF 段中獲得該模塊相應的值,其中包含該模塊的信息。替換由一個百分號後跟一個由花括號括起來的標籤名組成。 -p, --parameters 顯示模塊所支持的有類型的參數 -h, --help 顯示幫助信息 -V, --version 顯示 modinfo的版本信息 參見

insmod(8), modprobe(8), depmod(8), rmmod(8), lsmod(8), ksyms(8), modules(2)  

NAME

modinfo --- program to show information about a Linux Kernel module  

SYNOPSIS

modinfo [-0] [-F field] [modulename|filename ...]

modinfo -V

modinfo -h  

DESCRIPTION

modinfo extracts information the Linux Kernel modules given on the command line. If the module name is not a filename, then the /lib/modules/version directory is searched, as done by modprobe(8).
 

modinfo by default lists each attribute of the module in form fieldname : value, for easy reading. The filename is listed the same way (although it's not really an attribute).
 

This version of modinfo can understand modules of any Linux Kernel architecture.  

OPTIONS-V --version Print the modinfo version. Note BACKWARDS COMPATIBILITY below: you might be printing the version of modinfo.old.
  -F --field Only print this field value, one per line. This is most useful for scripts. Field names are case-insenitive. Common fields (which may not be in every module) include author, description, license, param, depends, and alias. There are often multiple param, alias and depends        fields. The special field filename          lists the filename of the module.

  -0 --null Use the ASCII zero character to separate field values, instead of a new line. This is useful for scripts, since a new line can theoretically appear inside a field.
  -a -d -l -p -n These are shortcuts for author, description, license. param and filename respectively, to ease the transition from the old modutils modinfo.
  BACKWARDS COMPATIBILITY

This version of modinfo is for kernel modules 2.5.48 and above. If it detects a kernel with support for old-style modules, it will attempt to run modprobe.old in its place, so it is completely transparent to the user.

Note that the output of this version of modinfo is simpler and more regular than the older version: scripts attempting to use the default output may get confused with complex fields.
 

You can force the new modinfo to always be used, by setting the NEW_MODINFO     environment variable.

   

COPYRIGHT

This manual page Copyright 2003, Rusty Russell, IBM Corporation.
   

SEE ALSO

modprobe(8), modinfo.old(8)

【責任編輯:

韓亞珊

TEL:(010)68476606】

相關焦點

  • CLOSE 中文man頁面
    CLOSE 中文man頁面 CLOSE 釋放和一個遊標關聯的資源。 一個遊標關閉後,不允許對其再做任何操作。一個不再使用的遊標應該關閉掉。
  • DROP INDEX 中文man頁面
    DROP INDEX 中文man頁面 DROP INDEX 從資料庫中刪除一個現存的索引。 要執行這個命令,你必須是索引的所有者。
  • START TRANSACTION 中文man頁面
    START TRANSACTION 中文man頁面 這條命令開始一個新的事務。如果聲明了隔離級別或者讀寫模式, 那麼新事務就使用這個特性,如同執行了 SET TRANSACTION [set_transaction(7)] 一樣。
  • pppd 中文man頁面
    Username/Password Incorrect" "" "at" OK "at&d0&c1" OK "atdt2468135" "name:" "^Umyuserid" "word:" "\qmypassword" "ispts" "\q^Uppp" "~-^Uppp-~" See the chat(8) man
  • stdout 中文man頁面
  • setvbuf 中文man頁面
  • grep 中文man頁面
  • CREATE CONVERSION 中文man頁面
  • eMule-Project站點增加簡體中文頁面
    感謝阿pp的投遞:簡體中文作業系統用戶上eMule-project網站會被自動轉到簡體用戶頁面了.eMule-project
  • 首發中文?SE《復聯》遊戲新作上線中文倒計時頁面 - 3DMGAME
    而今日我們可以發現Square Enix赫然上線了遊戲的中文網站,並顯眼的給出了遊戲公布的倒計時,且該頁面支持簡體中文和繁體中文切換,這是否意味著此次的《漫威復仇者聯盟》官中已經給安排上了?
  • 模擬建造新遊《叢林之屋》上架Steam頁面 支持中文
    模擬建造新遊《叢林之屋》上架Steam頁面 支持中文 時間:2020-07-03 09:05:33 來源:Steam
  • 《賽博朋克2077》三張4K截圖 中文官網頁面更新
    《賽博朋克2077》三張4K截圖 中文官網頁面更新 《賽博朋克2077》三張4K截圖 中文官網頁面更新
  • No man is an island是什麼意思?
    No man is an island的英語能力口語訓練No man is an island是什麼意思?我們還是先用英語No man is an island做「把學過的英語用起來」「見英語說英語」的能力訓練吧。我不要你見英語No man is an island能「說」中文的能力,也不需要你今天學了英語No man is an island明天就有機會跟人說英語No man is an island(沒有人是座孤島)。
  • 首批火星地形地貌中文推薦譯名 中國天文學會官網可視化頁面入口地址
    首頁 > 動態 > 關鍵詞 > 火星最新資訊 > 正文 首批火星地形地貌中文推薦譯名 中國天文學會官網可視化頁面入口地址
  • 把英語讀成英語的能力:a man of importance什麼意思?
    把英語讀成英語的能力:a man of importance什麼意思?一、什麼是「英語閱讀」英能力訓練?這個能力是什麼?我們說的這個能力就是你閱讀時「對著英語說英語」的能力,而不是「對著英語說中文」。這個不叫做英語閱讀,這個叫做中文閱讀。二、注意英語詞彙裡有一種詞性轉換的現象。
  • 美國人說的I'm a man of my word是什麼意思?
    美國人說的I'm a man of my word是什麼意思?我們所有的「英語閱讀」,都可以歸結為回答一個問題:你的「英語閱讀」指的就是用中文「讀懂」英語,用中文意思去「懂得」英語在說什麼嗎?一、下面的英語a man of word時,你是讀」成中文,還是英語?1. Bob, I'm a man of my word.
  • 英語口語:one man's meat is another's poison
    英語口語:one man's meat is another's poison1) 把英語one man's meat is another's poison翻譯成中文理解,是「學習英語」:你終於「用」中文懂得英語one man's meat is another's poison
  • creeper aww man是什麼梗 Creeper接龍歌曲梗出處及中文意思
    creeper aww man是什麼梗?就好似接龍一樣,說出「creeper」,自然而然會說「aww man」,這是為什麼呢,大家都不知道是什麼意思,下面小編就為大家詳細介紹一下吧。Aw man,這是連起來的一句話,說了Creeper,就會有人不自覺地說出Aw man,就是好玩,一種樂趣。  由於《我的世界》裡的「creeper」梗火起來的,很多網友在抖音、貼吧、論壇、微博等自娛自樂著。  就類似與有人說了「窩窩頭,一塊錢四個」,就會有人不自覺地說出「嘿嘿」一樣的意思。
  • 關於「Man」的俚語
    2. man of letters 文人、作家、學者例句:Shakespeare was perhaps Britain's greatest man of letters.莎士比亞或許可以算是英國最偉大的作家。
  • Elementor教程-初識elementor-神奇的WordPress頁面生成器
    Elementor這是一款可以通過拖拽、點擊就可以完成wordpress站點設計的插件,同類似的插件也很多,比如Divi,Visual Composer,WPBeaverbuilder,Fusion Builder這些,每個我都嘗試過,也購買過付費的版本,最終還是覺得elementor,用起來比較順手,因為該產品是老外的,所以一直沒有比較好的中文教程