用udev做automount的問題 - Linux

By Queena
at 2014-06-12T15:21
at 2014-06-12T15:21
Table of Contents
不好意思又來問問題了orz
我照著arch linux的wiki,用udev來做automount
用這個網址給的方法
https://soosck.wordpress.com/2011/01/19/improved-udev-rule-arch-linux/
但是做出來的automount,我進到mount的資料夾,卻沒有任何檔案
我的隨身碟是格式化成fat32,如果我手動mount是可以看到檔案的
然後我把參數用logger傳出來,用journalctl看,參數都正確
甚至,我把mount的資料夾刪除都還會跟我說device busy
我還有試著寫了一個script,讓udev去call這個script,也是一樣
隨身碟應該是有mount起來,但是就是看不到檔案
有人知道這是怎麼回事嗎?
或是有其它推薦的automount的方法,我有試過autofs,不過不太會用...
看網路上的教學,教的方法用autofs都只能mount單一磁區的隨身碟
但我想要做的是可以mount像隨身硬碟這類多個分格區的裝置...
--
我照著arch linux的wiki,用udev來做automount
用這個網址給的方法
https://soosck.wordpress.com/2011/01/19/improved-udev-rule-arch-linux/
但是做出來的automount,我進到mount的資料夾,卻沒有任何檔案
我的隨身碟是格式化成fat32,如果我手動mount是可以看到檔案的
然後我把參數用logger傳出來,用journalctl看,參數都正確
甚至,我把mount的資料夾刪除都還會跟我說device busy
我還有試著寫了一個script,讓udev去call這個script,也是一樣
隨身碟應該是有mount起來,但是就是看不到檔案
有人知道這是怎麼回事嗎?
或是有其它推薦的automount的方法,我有試過autofs,不過不太會用...
看網路上的教學,教的方法用autofs都只能mount單一磁區的隨身碟
但我想要做的是可以mount像隨身硬碟這類多個分格區的裝置...
--
Tags:
Linux
All Comments
Related Posts
急問~libreoffice匯出成pdf 願發P幣~

By Callum
at 2014-06-12T03:12
at 2014-06-12T03:12
Red Hat Enterprise Linux 7.0發佈

By Hedy
at 2014-06-12T02:39
at 2014-06-12T02:39
Qt creator 無法Debug

By Edward Lewis
at 2014-06-11T15:26
at 2014-06-11T15:26
arch linux裝tightvnc的問題

By Erin
at 2014-06-10T10:19
at 2014-06-10T10:19
Linux系統連接光世代100M

By Ursula
at 2014-06-09T18:10
at 2014-06-09T18:10