[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: file-systems: Rewrite comment.
From: |
guix-commits |
Subject: |
03/09: file-systems: Rewrite comment. |
Date: |
Tue, 4 May 2021 09:41:24 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 71f15ca8713317551e93b59734cf25d7bdb96c54
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue May 4 11:43:19 2021 +0200
file-systems: Rewrite comment.
* gnu/build/file-systems.scm (read-bcachefs-superblock): Make comment
less damned negative.
---
gnu/build/file-systems.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm
index 23ff25d..4eeb81c 100644
--- a/gnu/build/file-systems.scm
+++ b/gnu/build/file-systems.scm
@@ -239,15 +239,15 @@ if DEVICE does not contain an linux-swap file system."
(define (read-bcachefs-superblock device)
"Return the raw contents of DEVICE's bcachefs superblock as a bytevector, or
#f
if DEVICE does not contain a bcachefs file system."
- ;; We completely ignore the back-up superblock & any checksum errors.
- ;; Superblock field names, with offset & length respectively, in bytes:
+ ;; Field offsets & lengths, in bytes. There are more (and the superblock is
+ ;; extensible) but we need only some basic information here:
;; 0 16 bch_csum
;; 16 8 version
;; 24 16 magic
- ;; 40 16 uuid ← ‘internal UUID’, you probably don't want this
- ;; 56 16 user_uuid ← ‘external UUID’, the one by which to mount
+ ;; 40 16 uuid ← ‘internal’: you probably don't want this one
+ ;; 56 16 user_uuid ← ‘external’: user-visible one by which to mount
;; 72 32 label
- ;; … there are more & the superblock is extensible, but we don't care yet.
+ ;; Assume a sane file system: ignore the back-up superblock & checksums.
(read-superblock device 4096 104 bcachefs-superblock?))
(define (bcachefs-superblock-external-uuid sblock)
- branch master updated (bee797f -> a49a007), guix-commits, 2021/05/04
- 04/09: gnu: bcachefs-tools: Update to 0.1-6.a14d39d., guix-commits, 2021/05/04
- 05/09: gnu: bcachefs-tools: Prepare for cross-compilation., guix-commits, 2021/05/04
- 02/09: file-systems: Handle abnormal ‘bcachefs fsck’ exits., guix-commits, 2021/05/04
- 09/09: gnu: indi: Stop returning #t from phases., guix-commits, 2021/05/04
- 07/09: gnu: indi: Check slightly more functionally., guix-commits, 2021/05/04
- 01/09: gnu: bitcoin-core@0.21: Update to 0.21.1., guix-commits, 2021/05/04
- 03/09: file-systems: Rewrite comment.,
guix-commits <=
- 08/09: gnu: indi: Respect #:tests?., guix-commits, 2021/05/04
- 06/09: gnu: indi: Update to 1.9.0., guix-commits, 2021/05/04