Serge van Ginderachter
25b696c2d2
execute the mount after path validation
...
This avoids a stale situation where name/path contains some impossible path,
but gets configured (faultly) in fstab, and the module only fails after that,
when creating that path.
2014-08-06 10:52:08 +02:00
Michael DeHaan
f61ba3d047
Merge pull request #8283 from ps-jay/sys_mount_fstype_doc
...
Add fstype arg to the mount examples
2014-07-30 08:28:59 -04:00
Michael DeHaan
226dacc7e6
Cleaning up explanation of mount module states.
2014-07-28 12:18:45 -04:00
Philip Jay
138fffb152
Add fstype arg to the mount examples
...
Needed fstype in the examples, since fstype is a required argument for
mount.
2014-07-25 09:58:54 +10:00
Berend de Boer
869cc7947e
Default for fstab missing, causing KeyError: 'fstab'
2014-07-24 13:14:46 +12:00
Sébastien Gross
48128ec0ab
[mount] make sure fstab exists
...
This is mainly to prevent from failing with no such file or directory
during module execution.
2014-07-21 18:32:02 +02:00
Sébastien Gross
f2e2337d07
[mount] Add documentation for fstab option
2014-07-21 18:30:59 +02:00
James Tanner
ad837709bd
Addresses #5023 Fix import comments
2013-12-02 15:13:49 -05:00
James Tanner
6000d636b3
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
Jens Rantil
883f37e404
Improved documentation of mount
module
...
Mentioning the fact that mount point directories are created and
removed.
2013-11-25 13:58:00 +01:00
Brian Coca
c9c7b01620
now mount/unmount are searched for instead of hardcoded
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-17 17:01:35 -04:00
Jan-Piet Mens
5c69918d53
DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
...
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
Added deprecation warning to moduledev.rst and remove deprecated example from it
Fixed up a few typos and uppercased some acronyms.
add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Michael DeHaan
b9e72cdd98
Warn when there is a space in the mount module opts parameter.
2013-06-01 11:33:17 -04:00
Michael DeHaan
391fb98ee2
Allow modules to be categorized, and also sort them when generating the documentation.
2013-04-28 15:03:45 -04:00