mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
services: fstab: Properly handle file system labels.
Fixes a regression introduced in
a5acc17a3c
.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.
* gnu/services/base.scm (file-system->fstab-entry): Pass LABEL, not
FILE-SYSTEM, to 'file-system-label->string'.
This commit is contained in:
parent
8eff892fac
commit
0d56d9c714
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ (define (file-system->fstab-entry file-system)
|
|||
(string-append (match (file-system-device file-system)
|
||||
((? file-system-label? label)
|
||||
(string-append "LABEL="
|
||||
(file-system-label->string file-system)))
|
||||
(file-system-label->string label)))
|
||||
((? uuid? uuid)
|
||||
(string-append "UUID=" (uuid->string uuid)))
|
||||
((? string? device)
|
||||
|
|
Loading…
Reference in a new issue