Linux : Working with /dev
Question
Modify the udev subsystem in such way that /dev/usb-ext gets automatically created at boot time.
Solutions
1. Create a file named /etc/udev/rules.d/99-usb-ext.rules and insert the following parameter:
KERNEL=="sdb1", NAME="myusbdisk"2. Reboot the system
init 63. Plug a USB key to your system and verify that you now have a file named /dev/myusbdisk.
ls -l /dev/myusbdisk"practice without knowledge is stupid"
Comments
Post a Comment