Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/docs/mdev.txt
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/docs/mdev.txt
r2725 r3232 52 52 53 53 The file has the format: 54 <device regex> <uid>:<gid> <permissions> 55 or @<maj[,min1[-min2]]> <uid>:<gid> <permissions> 54 [-]<device regex> <uid>:<gid> <permissions> 55 or 56 @<maj[,min1[-min2]]> <uid>:<gid> <permissions> 57 or 58 $envvar=<regex> <uid>:<gid> <permissions> 56 59 57 60 For example: 58 61 hd[a-z][0-9]* 0:3 660 59 62 60 63 The config file parsing stops at the first matching line. If no line is 61 64 matched, then the default of 0:0 660 is used. To set your own default, simply 62 65 create your own total match like so: 66 63 67 .* 1:1 777 64 68 65 69 You can rename/move device nodes by using the next optional field. 70 66 71 <device regex> <uid>:<gid> <permissions> [=path] 72 67 73 So if you want to place the device node into a subdirectory, make sure the path 68 74 has a trailing /. If you want to rename the device node, just place the name.
Note:
See TracChangeset
for help on using the changeset viewer.