summaryrefslogtreecommitdiffstats
path: root/commands/automount.c
Commit message (Collapse)AuthorAgeFilesLines
* commands: automount: Added help string about "-d" optionAlexander Shiyan2013-02-181-0/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* cosmetic: extra new line in automount usage commandCarlo Caione2012-10-131-1/+1
| | | | | Signed-off-by: Carlo Caione <carlo.caione@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-4/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* automount: optionally make directorySascha Hauer2012-04-151-2/+11
| | | | | | Add an option to create the mount path to make using this command easier. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* automount: fix argument parsingSascha Hauer2012-04-151-2/+2
| | | | | | With getopt we have to use argv[optind] instead of hardcoded argv[0] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add automount supportSascha Hauer2012-03-181-0/+66
This patch adds an automount command which makes it possible to execute a script when a certain directory is first accessed. It's the commands responsibility to make this directory available (bringing devices up and mounting it). This results in automount support which makes sure that from the shell every file can be accessed without having to care for device bringup. Bringing up devices may be expensive (USB, dhcp). The automount support makes it easy for the environment to bringup devices when they are actually needed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>