summaryrefslogtreecommitdiffstats
path: root/docs/manual/makedev-syntax.txt
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-11-16 04:54:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-16 22:24:42 +0100
commitecd23535551d0cd8ae265d75eadc43e88c580fc0 (patch)
tree2d53c83a2853c3bcd7b9b3da7c951b8a84a12875 /docs/manual/makedev-syntax.txt
parent30d99041ce5f32c30c470c3b114d612ba26e49ef (diff)
downloadbuildroot-novena-ecd23535551d0cd8ae265d75eadc43e88c580fc0.tar.gz
buildroot-novena-ecd23535551d0cd8ae265d75eadc43e88c580fc0.zip
manual: minor tweaks
Minor grammatical and spelling tweaks to the manual content. Signed-off-by: Simon Dawson <spdawson@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'docs/manual/makedev-syntax.txt')
-rw-r--r--docs/manual/makedev-syntax.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/docs/manual/makedev-syntax.txt b/docs/manual/makedev-syntax.txt
index 4703b2f0e..99ecdea82 100644
--- a/docs/manual/makedev-syntax.txt
+++ b/docs/manual/makedev-syntax.txt
@@ -4,12 +4,11 @@
Makedev syntax documentation
----------------------------
-The makedev syntax is used across several places in Buildroot to
-define changes to be made for permissions or which device files to
-create and how to create them, in order to avoid to call mkdnod every
-now and then.
+The makedev syntax is used in several places in Buildroot to
+define changes to be made for permissions, or which device files to
+create and how to create them, in order to avoid calls to mknod.
-This syntax is derived from the makedev utility, and a more complete
+This syntax is derived from the makedev utility, and more complete
documentation can be found in the +package/makedevs/README+ file.
It takes the form of a line for each file, with the following layout:
@@ -18,7 +17,7 @@ It takes the form of a line for each file, with the following layout:
|name |type |mode |uid |gid |major |minor |start |inc |count
|===========================================================
-There is a few non-trivial blocks here:
+There are a few non-trivial blocks here:
- +name+ is the path to the file you want to create/modify
- +type+ is the type of the file, being one of :
@@ -27,13 +26,13 @@ There is a few non-trivial blocks here:
* c: a character device file
* b: a block device file
* p: a named pipe
-- +mode+, +uid+ and +gid+ are the usual permissions stuff
+- +mode+, +uid+ and +gid+ are the usual permissions settings
- +major+ and +minor+ are here for device files
-- +start+, +inc+ and +count+ are when you want to create a whole batch
+- +start+, +inc+ and +count+ are for when you want to create a batch
of files, and can be reduced to a loop, beginning at +start+,
incrementing its counter by +inc+ until it reaches +count+
-Let's say you want to change the permissions of a given file, using
+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 - - - - -