Lines Matching refs:media
230 PROP_BOOL(d, node, i, "removable-media", "storage.removable");
305 PROP_BOOL(d, node, i, "removable-media", "storage.removable");
309 * We have to enable polling not only for drives with removable media,
314 * So we have to enable media check so that hald-addon-storage notices
318 ((di_prop_lookup_ints(DDI_DEV_T_ANY, node, "removable-media", &i) >= 0) ||
424 PROP_BOOL(d, node, i, "removable-media", "storage.removable");
555 HAL_INFO (("no floppy media", hal_device_get_udi (d)));
565 HAL_INFO (("floppy media found", hal_device_get_udi (d)));
1302 * For removable media devices, check for "storage.removable.media_available".
1303 * For non-removable media devices, assume media is always there.
1305 * If media is gone, enqueue remove events for all children volumes.
1306 * If media is there, first reprobe storage, then probe for new volumes (but leave existing volumes alone).
1333 HAL_INFO (("media gone %s", hal_device_get_udi (d)));
1355 "hald-probe-storage --only-check-for-media", NULL,
1360 HAL_INFO (("media available %s", hal_device_get_udi (d)));
1363 "hald-probe-storage --only-check-for-media", NULL,
1684 int media;
1691 if ((media = devinfo_storage_get_legacy_media (d)) < 0) {
1694 media_type = legacy_media_str[media];
1696 /* enumerate all storage devices of this media type */
1723 if (media == LEGACY_CDROM) {
1726 } else if (media == LEGACY_FLOPPY) {