file-systems: Fix docstring.

* gnu/build/file-systems.scm (mount-file-system): Clean the documentation from
the no longer existing parameters (these are now encapsulated within a
<file-system> record).
This commit is contained in:
Maxim Cournoyer 2019-09-25 22:49:57 +09:00
parent 1a034f043e
commit d2ae8a25db
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -581,11 +581,7 @@ (define (mount-flags->bit-mask flags)
0)))) 0))))
(define* (mount-file-system fs #:key (root "/root")) (define* (mount-file-system fs #:key (root "/root"))
"Mount the file system described by FS, a <file-system> object, under ROOT. "Mount the file system described by FS, a <file-system> object, under ROOT."
DEVICE, MOUNT-POINT, and TYPE must be strings; OPTIONS can be a string or #f;
FLAGS must be a list of symbols. CHECK? is a Boolean indicating whether to
run a file system check."
(define (mount-nfs source mount-point type flags options) (define (mount-nfs source mount-point type flags options)
(let* ((idx (string-rindex source #\:)) (let* ((idx (string-rindex source #\:))