From d5093e17943bf10f94e5326b4c727b2f13606298 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 28 Apr 2022 14:42:11 -0700 Subject: FSTAB:HAS-ENTRIES-FOR-OPENED-VOLUMES: note bug for fat32 partitions Signed-off-by: Sean Whitton --- src/property/fstab.lisp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/property') diff --git a/src/property/fstab.lisp b/src/property/fstab.lisp index 34f1d04..43c0caa 100644 --- a/src/property/fstab.lisp +++ b/src/property/fstab.lisp @@ -101,6 +101,12 @@ specified with DISK:HAS-VOLUMES." (curry #'subvolumes-of-type 'filesystem) (or volumes (get-hostattrs :volumes)))))))) +;; TODO This is broken for fat32 partitions. MOUNTED-FAT32-FILESYSTEM objects +;; are pushed directly to the connattr by DISK:WITH-THESE-OPEN-VOLUMES, rather +;; than appearing within OPENED-PARTITION objects. Then the call to +;; SUBVOLUMES-OF-TYPE here never finds any parents, returning as a second +;; value a list containing only NIL. Thus the specialisers in the +;; implementation of FS-SPEC for MOUNTED-FAT32-FILESYSTEM are never satisfied. (defprop has-entries-for-opened-volumes :posix () "Add or update entries in /etc/fstab for currently open volumes. -- cgit v1.2.3