291
292
293
294
295
296
297
298
299
300
301
302
303
304
|
(match
entry
((dname path)
(print "Disk " dname " at " path " writeable: "
(if (check-write-create path) "yes" "NO")))
(else (print "bad entry: " entry))))
(hash-table-ref/default cdat "disks" '()))))
;; check load on homehost
;; each run disk read/write
;; link tree writeable
)
)
|
|
>
>
>
>
>
<
|
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
|
(match
entry
((dname path)
(print "Disk " dname " at " path " writeable: "
(if (check-write-create path) "yes" "NO")))
(else (print "bad entry: " entry))))
(hash-table-ref/default cdat "disks" '()))))
(print "Have link tree and it is writable: "
(if (and (file-exists? "lt")
(check-write-create "lt"))
"yes"
"NO"))
;; check load on homehost
;; link tree writeable
)
)
|