X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=docs%2Fmdev.txt;h=b24025f7b73587cab98d25c23ed5de906b7df0d6;hb=31c765081dc41f158786545fbea9294be4685bd2;hp=2d03bd8b2f2f29685d519927f1f53eaac4aa50d7;hpb=b38af7bd31d98dd6e849354ee94ebafe580e7cc1;p=oweals%2Fbusybox.git diff --git a/docs/mdev.txt b/docs/mdev.txt index 2d03bd8b2..b24025f7b 100644 --- a/docs/mdev.txt +++ b/docs/mdev.txt @@ -51,19 +51,25 @@ device nodes if your system needs something more than the default root/root 660 permissions. The file has the format: - : - or @ : + [-][envmatch] : +or + [envmatch]@ : +or + $envvar= : For example: - hd[a-z][0-9]* 0:3 660 + hd[a-z][0-9]* 0:3 660 The config file parsing stops at the first matching line. If no line is matched, then the default of 0:0 660 is used. To set your own default, simply create your own total match like so: + .* 1:1 777 You can rename/move device nodes by using the next optional field. + : [=path] + So if you want to place the device node into a subdirectory, make sure the path has a trailing /. If you want to rename the device node, just place the name. hda 0:3 660 =drives/