Lines Matching refs:volume
25 #include "volume.h"
47 const struct vol *volume;
71 for (volume = getvolumes(); volume; volume = volume->v_next) {
73 if (convert_string(CH_UCS2, CH_UTF8_MAC, volume->v_name, -1, tmpname, 255) <= 0) {
74 LOG ( log_error, logtype_afpd, "Could not set Zeroconf volume name for TimeMachine");
78 if (volume->v_flags & AFPVOL_TM) {
79 if (volume->v_uuid) {
80 LOG(log_info, logtype_afpd, "Registering volume '%s' with UUID: '%s' for TimeMachine",
81 volume->v_localname, volume->v_uuid);
83 i++, tmpname, volume->v_uuid);
85 LOG(log_warning, logtype_afpd, "Registering volume '%s' for TimeMachine. But UUID is invalid.",
86 volume->v_localname);