From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] docs/manual: documentation for recursive makedevs syntax
Date: Fri, 13 Mar 2015 11:50:05 +0100 [thread overview]
Message-ID: <1426243805-8317-3-git-send-email-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <1426243805-8317-1-git-send-email-angelo.compagnucci@gmail.com>
This patch adds the necessary documentation for the new makedevs
recursive syntax.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
docs/manual/makedev-syntax.txt | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/docs/manual/makedev-syntax.txt b/docs/manual/makedev-syntax.txt
index e02b79d..afb4ae2 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 folder
+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+
--
1.9.1
next prev parent reply other threads:[~2015-03-13 10:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 10:50 [Buildroot] [PATCH 0/2] Makedevs: add recursive option Angelo Compagnucci
2015-03-13 10:50 ` [Buildroot] [PATCH 1/2] package/makedevs: " Angelo Compagnucci
2015-04-04 23:17 ` Angelo Compagnucci
2015-04-05 7:12 ` Peter Korsgaard
2015-04-09 21:23 ` Yann E. MORIN
2015-04-10 5:39 ` Angelo Compagnucci
2015-04-10 17:33 ` Yann E. MORIN
2015-04-10 21:41 ` Peter Korsgaard
2015-04-11 7:00 ` Angelo Compagnucci
2015-04-11 8:28 ` Peter Korsgaard
2015-03-13 10:50 ` Angelo Compagnucci [this message]
2015-03-23 10:00 ` [Buildroot] [PATCH 0/2] Makedevs: " Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426243805-8317-3-git-send-email-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.