Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/docs/mdev.txt


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/docs/mdev.txt

    r2725 r3232  
    5252
    5353The file has the format:
    54     <device regex>       <uid>:<gid> <permissions>
    55  or @<maj[,min1[-min2]]> <uid>:<gid> <permissions>
     54    [-]<device regex>   <uid>:<gid> <permissions>
     55or
     56    @<maj[,min1[-min2]]>    <uid>:<gid> <permissions>
     57or
     58    $envvar=<regex>     <uid>:<gid> <permissions>
    5659
    5760For example:
    58     hd[a-z][0-9]* 0:3 660
     61    hd[a-z][0-9]* 0:3 660
    5962
    6063The config file parsing stops at the first matching line.  If no line is
    6164matched, then the default of 0:0 660 is used.  To set your own default, simply
    6265create your own total match like so:
     66
    6367    .* 1:1 777
    6468
    6569You can rename/move device nodes by using the next optional field.
     70
    6671    <device regex> <uid>:<gid> <permissions> [=path]
     72
    6773So if you want to place the device node into a subdirectory, make sure the path
    6874has a trailing /.  If you want to rename the device node, just place the name.
Note: See TracChangeset for help on using the changeset viewer.