HomePhorge

(#4914) Prefetch mountstate
2884660768fbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#4914) Prefetch mountstate

Add a method mountinstances that returns a list of currently mounted
filesystems and overwrite prefetch to update the :ensure state of a
mount resource to either

  • :absent => not in fstab and not mounted
  • :unmounted => in fstab but not mounted
  • :mounted => in fstab and mounted
  • :ghost => not in fstab but mounted

This is just one step towards 4914. Next will be query the property_hash
when asking mounted? and update the insync? methods to handle the
different states.

Details

Provenance
Stefan Schulte <stefan.schulte@taunusstein.net>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUade951aa9d00: (#4914) Join lines for better readability
Branches
Unknown
Tags
Unknown

Event Timeline

Stefan Schulte <stefan.schulte@taunusstein.net> committed rPU2884660768fb: (#4914) Prefetch mountstate (authored by Stefan Schulte <stefan.schulte@taunusstein.net>).Jan 25 2011, 9:23 PM