aboutsummaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2024-09-01 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2024-09-01 02:00:00 +0200
commit876c343bbfe043dfc1b04cecaeed1e374843f4ed (patch)
tree3c6756bcfe1b7bd848189ab3991103a71f151324 /gnu/system
parent191e0f9e5214783f8261ef9b6325abfff834ecbc (diff)
downloadguix-876c343bbfe043dfc1b04cecaeed1e374843f4ed.tar
guix-876c343bbfe043dfc1b04cecaeed1e374843f4ed.tar.gz
uuid: Add support for exFAT.
We expect users to use the generic STRING->FAT-UUID procedure. This is consistent with how we already treat FAT32 vs FAT16. It is not consistent with how we export 8 different aliases for STRING->DCE-UUID, but I'm unconvinced that would be better. * gnu/system/uuid.scm (%uuid-parsers, %uuid-printers): Add the ‘exfat’ file system type. Change-Id: Ia31482716e4395f9f10f794f49fb31c9f330a2e3
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/uuid.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/system/uuid.scm b/gnu/system/uuid.scm
index 8f967387ad..e6add06aba 100644
--- a/gnu/system/uuid.scm
+++ b/gnu/system/uuid.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
-;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019–2020, 2024 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -169,7 +169,7 @@ ISO9660 UUID representation."
;;;
-;;; FAT32/FAT16.
+;;; exFAT/FAT32/FAT16.
;;;
(define-syntax %fat-endianness
@@ -258,7 +258,7 @@ ISO9660 UUID representation."
(vhashq
('dce 'ext2 'ext3 'ext4 'bcachefs 'btrfs 'f2fs 'jfs 'xfs 'luks
=> string->dce-uuid)
- ('fat32 'fat16 'fat => string->fat-uuid)
+ ('exfat 'fat32 'fat16 'fat => string->fat-uuid)
('ntfs => string->ntfs-uuid)
('iso9660 => string->iso9660-uuid)))
@@ -267,7 +267,7 @@ ISO9660 UUID representation."
('dce 'ext2 'ext3 'ext4 'bcachefs 'btrfs 'f2fs 'jfs 'xfs 'luks
=> dce-uuid->string)
('iso9660 => iso9660-uuid->string)
- ('fat32 'fat16 'fat => fat-uuid->string)
+ ('exfat 'fat32 'fat16 'fat => fat-uuid->string)
('ntfs => ntfs-uuid->string)))
(define* (string->uuid str #:optional (type 'dce))