Report abuse

 newvalue(:mounted, :event => :mount_mounted) do
     # Create the mount point if it does not already exist.
     current_value = self.retrieve
     provider.create if current_value.nil? or current_value == :absent

     syncothers()

     # The fs can be already mounted if it was absent but mounted
     provider.mount unless provider.mounted?
 end