歡迎您光臨本站 註冊首頁

find命令的奇怪報錯

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

find命令的奇怪報錯

為什麼會報這個錯呢

# find / -name freetype
find: WARNING: Hard link count is wrong for /selinux: this may be a bug in your filesystem driver.  Automatically turning on find's -noleaf option.  Earlier results may have failed to include directories that should have been searched.
《解決方案》

不是find的問題啦,是文件系統的問題
《解決方案》

我也知道是系統問題,但問題是問題出在哪兒?
《解決方案》

/selinux 是一個在 ram 內的虛擬目錄,與 /proc 類似。

我想只是一個 selinux 提供產生 /selinux 目錄結構的配置有點小問題,所以剛好 find 讀入解析時發現一些問題而警告。

要 find 要找東西的話,避開/selinux  ...

不用擔心就是了,沒什麼大不了,我天天見,呵呵

[火星人 ] find命令的奇怪報錯已經有498次圍觀

http://coctec.com/docs/service/show-post-37226.html