diff options
author | Angelo Compagnucci <angelo.compagnucci@gmail.com> | 2015-04-11 15:40:32 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-11 18:03:25 +0200 |
commit | 68cb6a88c1c0da1567cabd83684170ccb820ae98 (patch) | |
tree | 2aad39b29ff1e099b0990edbded3bbd80f07918e /docs/manual/makedev-syntax.txt | |
parent | 410f9b60137820143caf51a2a37da6f8fa16679f (diff) | |
download | buildroot-68cb6a88c1c0da1567cabd83684170ccb820ae98.tar.gz buildroot-68cb6a88c1c0da1567cabd83684170ccb820ae98.zip |
docs/manual: documentation for recursive makedevs syntax
This patch adds the documentation for the new makedevs
recursive syntax.
[Thomas: s/folder/directory/ as suggested by Yann.]
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual/makedev-syntax.txt')
-rw-r--r-- | docs/manual/makedev-syntax.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/manual/makedev-syntax.txt b/docs/manual/makedev-syntax.txt index e02b79d986..283119d574 100644 --- a/docs/manual/makedev-syntax.txt +++ b/docs/manual/makedev-syntax.txt @@ -24,6 +24,7 @@ There are a few non-trivial blocks: - +type+ is the type of the file, being one of: * f: a regular file * d: a directory + * r: a directory recursively * c: a character device file * b: a block device file * p: a named pipe @@ -38,7 +39,14 @@ Let's say you want to change the permissions of a given file; using this syntax, you will need to put: ---- -/usr/bin/foobar f 644 0 0 - - - - - +/usr/bin/foobar f 644 0 0 - - - - - +---- + +Alternatively, if you want to change owner/permission of a directory +recursively, you can put: + +---- +/usr/share/myapp r 750 myuser myuser - - - - - ---- On the other hand, if you want to create the device file +/dev/hda+ |