Coverage report: /home/ellis/comp/core/lib/io/disk/proto.lisp
Kind | Covered | All | % |
expression | 5 | 18 | 27.8 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; disk.lisp --- Disk IO
3
;; A shared Disk storage interface.
7
;; Note that many disk operations require root privileges. This package does
8
;; not handle privilege escalation.
14
(defvar *filesystem-backends* (list :btrfs :ext4 :xfs))
15
(defvar *default-filesystem* :btrfs)
18
(define-condition disk-condition () ())
20
(defun load-filesystem-backend (&optional (fs *default-filesystem*))
22
(:btrfs (load-btrfs) (load-btrfsutil) t)
25
(defclass disk () ((path :initarg :path :initform #p"/" :accessor path)))
27
(defclass disk-partition () ())
29
(defclass disk-subvolume () ())
31
(defclass disk-snapshot () ())