linux as 5 下的raw的處理
linux as 5下沒有/etc/sysconfig/rewdevices,和as 4的處理方法不同:
需要修改:/etc/udev/rules.d/60-raw.rules
ACTION=="add", KERNEL=="sdb5",RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="21",RUN+="/bin/raw /dev/raw/raw1 %M %m"
ACTION=="add", KERNEL=="sdb6",RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="22",RUN+="/bin/raw /dev/raw/raw1 %M %m"
ACTION=="add", KERNEL=="sdb7",RUN+="/bin/raw /dev/raw/raw3 %N"
ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="23",RUN+="/bin/raw /dev/raw/raw1 %M %m"
ACTION=="add", KERNEL=="sdb8",RUN+="/bin/raw /dev/raw/raw4 %N"
ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="24",RUN+="/bin/raw /dev/raw/raw1 %M %m"
ACTION=="add", KERNEL=="sdb9",RUN+="/bin/raw /dev/raw/raw5 %N"
ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="25",RUN+="/bin/raw /dev/raw/raw1 %M %m"
KERNEL=="raw[1-4]", OWNER="oracle", GROUP="oinstall", MODE="640"
注意這個ENV{MINOR}後面的值該填什麼呢?
如果不知道我們可以先在這個檔案裡設定:
ACTION=="add", KERNEL=="sdb5",RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sdb6",RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", KERNEL=="sdb7",RUN+="/bin/raw /dev/raw/raw3 %N"
ACTION=="add", KERNEL=="sdb8",RUN+="/bin/raw /dev/raw/raw4 %N"
ACTION=="add", KERNEL=="sdb9",RUN+="/bin/raw /dev/raw/raw5 %N"
KERNEL=="raw[1-4]", OWNER="oracle", GROUP="oinstall", MODE="640"
儲存後執行命令: start_udev
然後 raw -qa 檢視裸裝置:
/dev/raw/raw1: bound to major 8, minor 21
/dev/raw/raw2: bound to major 8, minor 22
/dev/raw/raw3: bound to major 8, minor 23
/dev/raw/raw4: bound to major 8, minor 24
/dev/raw/raw5: bound to major 8, minor 25
這下minor的值就有了,然後修改該檔案,重新執行start_udev就可以了!
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7916042/viewspace-1023185/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- DxO PhotoLab 5,raw圖片處理
- Mac強大的raw影像處理軟體:RAW PowerMac
- raw圖片處理軟體:DxO PhotoLab 5
- RAW Power for Mac(RAW影像處理軟體)Mac
- linux下raw與基於lvm的raw的用法LinuxLVM
- DxO PhotoLab 5 for Mac - raw圖片處理軟體Mac
- DxO PhotoLab 5 for mac raw圖片處理軟體Mac
- DxO PhotoLab 5 for mac(raw圖片處理軟體)Mac
- mac raw圖片處理軟體:DxO PhotoLab 5Mac
- linux下的文字處理命令sedLinux
- Mac raw圖片處理軟體Mac
- Mac上RAW影像處理軟體Mac
- RAW照片處理器:DxO PureRAW for MacMac
- RAW Power for Mac(強大的raw影像處理軟體) v3.2.1啟用版Mac
- 好用的RAW影像處理:Capture One Pro 22 中文直裝APT
- RAW數碼照片處理器:SILKYPIX Developer 的功能介紹Developer
- DxO PhotoLab for mac(RAW圖片處理)Mac
- raw圖片後期處理工具,DxO PhotoLab 5 Mac下載Mac
- redhat5 raw 的管理Redhat
- Linux掛載windows下的cdrom亂碼處理LinuxWindows
- Capture One Pro 22(raw影像處理軟體)APT
- RAW影像處理軟體:Capture One Pro 22APT
- 下載資料的處理
- GPU 加速下的影象處理GPU
- Mac RAW影像處理軟體:Capture One Pro 22MacAPT
- raw照片智慧處理:DxO PureRAW最新中文版
- Capture One Pro 22 for Mac(RAW影像處理軟體)APTMac
- Capture One Pro 21 for Mac(RAW影像處理軟體)APTMac
- Linux 下如何處理包含空格和特殊字元的檔名Linux字元
- RAW影像處理工具——RAW Power for MacMac
- RAW影像處理工具:RAW Power MacMac
- 優秀的RAW影像處理工具:RAW Power mac中文版Mac
- ON1 Photo RAW 2024:Mac上的全能照片處理軟體Mac
- raw圖片處理軟體DxO PhotoLab 5 for macv5.0.1.41CR2特別版Mac
- Linux下使用Ansible處理批量操作Linux
- linux下gdb如何處理coredump錯誤Linux
- Linux 下 C++ 異常處理技巧LinuxC++
- vim下處理文件中的 字元字元