rh131筆記---unit3-kernel services
Optional sequence 2 : creating a file persistently under /dev/
Scenario: you want to make sure the /dev/myusbdisk filename is available after a reboot and can be used to mount a usb device
Deliverable : A system that provides /dev/myusbdisk automatically after a reboot.
System setup system running in runlevel 5
Instructions
1, modify the udev subsystem in such a way that /dev/myusbdisk gets automatically create at boot time.
2, reboot the system
Plug a sub key to your system and verify that you now have a file named /dev/myusbdiskk
3, MANDATORY CLEANUP:remove the file you have created under /etc/udev/rules.d/and uplug the usb device.
Optional sequence 2 solutions
1,Modify the udev subsystem in such a way that /dev/myusbdisk gets automaticall created at boot time
Create a file named /etc/udev/rules.d/99-usb.rules and insert the following statement in it :
KERNEL==”sdb1”,NAME=”myusbdisk”
Note system with ide haddrives use sda for the first USB disk.
2, reboot he system
Init 6
Plug a usb key to your system and verify that you now have a file named /dev/myusbdisk
ls –l /dev/myusbdisk
3, MANDATORY CLEANUP:remove the file you have created under /etc/udev/rules.d/ and uplug the USB device:
Rm /etc/udev/rules.d/99-usb.rules
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/312079/viewspace-1007338/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- rh131筆記---unit4-system services筆記
- rh131筆記---unit1-system initialization筆記
- rh131筆記---unit2-package management筆記Package
- rh131筆記--unit6-filesystem managemen筆記
- DG學習筆記(11)_Log Transport Services筆記
- rh131筆記---unit5-user administration.txt筆記
- dbms_service與dba_services_v$services學習筆記(oracle10g rac)筆記Oracle
- Web services框架Web框架
- 2.4.1.2 Nonedefault Services in a CDBNone
- 2.4 Overview of Services in a CDBView
- DCOM services errorError
- Web services 介紹Web
- 印象筆記 --- 方法分享筆記筆記
- XML安全之Web ServicesXMLWeb
- Amazon Web Services (目錄)Web
- 漫談Oracle RAC servicesOracle
- SQLNET.AUTHENTICATION_SERVICESSQL
- Overview of Oracle Net Services (280)ViewOracle
- Web Services體系 (轉)Web
- Web Services 平臺 (轉)Web
- Web Services平臺 (轉)Web
- Oracle Lock Management Services (365)Oracle
- Web Services 簡介 (轉)Web
- 筆記筆記
- CUUG筆記 ORACLE索引學習筆記筆記Oracle索引
- 主動筆記與被動筆記筆記
- 【Services】Oracle 11g RAC使用Manual和Policy Managed方法配置和使用ServicesOracle
- services資源+pod詳解
- Web services 安全 - HTTP Basic AuthenticationWebHTTP
- Web Services Security 的簽名流Web
- GLOBAL ENQUEUE SERVICES DEADLOCK DETECTEDENQ
- How Oracle Net Services Works (281)Oracle
- SOA and Web Services 新手入門Web
- Integration Services 高效能策略
- monaco-editor 的 Language Services
- 淘寶記錄筆記筆記
- 心情筆記筆記
- 命令筆記筆記