Searched refs:drive_type (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c316 char *drive_type; local
341 if ((drive_type = getenv ("HAL_PROP_STORAGE_DRIVE_TYPE")) == NULL)
353 is_cdrom = (strcmp (drive_type, "cdrom") == 0);
364 HAL_DEBUG (("Doing probe-storage for %s (drive_type %s) (udi=%s) (--only-check-for-media==%d)",
365 device_file, drive_type, udi, only_check_for_media));
373 if (strcmp (drive_type, "cdrom") == 0) {
375 } else if (strcmp (drive_type, "disk") == 0) {
/osnet-11/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c212 LibHalDriveType drive_type; local
220 drive_type = libhal_drive_get_type (drive);
246 if (drive_type==LIBHAL_DRIVE_TYPE_CDROM) {
308 } else if (drive_type==LIBHAL_DRIVE_TYPE_FLOPPY) {
316 } else if (drive_type==LIBHAL_DRIVE_TYPE_DISK && !drive_is_removable) {
358 LibHalDriveType drive_type; local
367 drive_type = libhal_drive_get_type (drive);
384 if (drive_type==LIBHAL_DRIVE_TYPE_CDROM) {
522 LibHalDriveType drive_type; local
525 drive_type
552 LibHalDriveType drive_type; local
[all...]
/osnet-11/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c319 char *drive_type; local
333 if ((drive_type = getenv ("HAL_PROP_STORAGE_DRIVE_TYPE")) == NULL)
362 printf ("Doing addon-storage for %s (bus %s) (drive_type %s) (udi %s)\n", device_file, bus, drive_type, udi);
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c236 hal_device_property_set_string (d, "storage.drive_type", "disk");
333 hal_device_property_set_string (d, "storage.drive_type", s);
435 hal_device_property_set_string (d, "storage.drive_type", "disk");
504 hal_device_property_set_string (d, "storage.drive_type", "disk");
575 hal_device_property_set_string (d, "storage.drive_type", "floppy");
764 hal_device_property_set_string (d, "storage.drive_type", "disk");
1098 if (strcmp (hal_device_property_get_string (parent, "storage.drive_type"), "cdrom") == 0) {
1222 const char *drive_type; local
1242 drive_type = hal_device_property_get_string (d, "storage.drive_type");
1391 const char *drive_type; local
1714 const char *drive_type; local
[all...]
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-mount.c495 const char *drive_type; local
648 drive_type = libhal_drive_get_type_textual (drive);
656 } else if ((drive_type != NULL) && (strlen (drive_type) > 0)) {
657 g_strlcpy (mount_point, drive_type, sizeof (mount_point));
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Ddrive.c337 static int conv_drive_type(uint_t drive_type);
735 conv_drive_type(uint_t drive_type) argument
737 switch (drive_type) {

Completed in 28 milliseconds