Searched refs:removable (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/lib/libsmedia/plugins/pcata/common/
H A Da_generic.c130 /* Is it a removable magnetic disk? */
132 int32_t removable = 0; local
134 ret_val = ioctl(handle->sm_fd, DKIOCREMOVABLE, &removable);
139 if (removable) {
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dscsi.h94 /* Set to 0 when not removable, 1 when removable. */
95 int removable; member in struct:grub_scsi
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dmedia.c275 if (!dp->removable) {
276 /* not removable, so media name is devid */
283 /* This is a removable media drive. */
349 /* First verify the media name for removable media */
350 if (dp->p.disk->removable) {
428 if (dp->removable) {
587 * This function handles removable media.
H A Dalias.c218 if (diskp->removable) {
219 /* This is a removable drive with no media. */
224 /* not removable, so must be dead */
H A Dfindevs.c57 #define REMOVABLE_PROP "removable-media"
961 diskp->removable = 1;
964 diskp->removable = 1;
967 diskp->removable = get_prop(REMOVABLE_PROP, args->node);
969 if (diskp->removable == -1) {
970 diskp->removable = 0;
973 * x86 does not have removable property.
974 * Check for common removable drives, zip & jaz,
982 diskp->removable = 1;
985 diskp->removable
[all...]
H A Ddisks_private.h113 int removable; member in struct:disk
H A Ddrive.c153 struct removable { struct in union:conf_feature::features
170 } removable; member in union:conf_feature::features
911 if (diskp->removable) {
925 /* can't tell diff between dead & no media on removable drives */
1037 * drive was a CD-ROM or not. The kernal lumps all of the removable multi-media
H A Dpartition.c316 /* on sparc, only removable media can have fdisk parts. */
698 /* First verify the media name for removable media */
699 if (dp->p.disk->removable) {
H A Dslice.c329 /* First verify the media name for removable media */
330 if (dp->p.disk->removable) {
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-install.in66 removable=no
139 --removable the installation device is removable
253 --removable)
254 removable=yes ;;
450 if test $removable = yes; then
451 # The specification makes stricter requirements of removable
827 if test "$removable" = no && test -n "$efi_distributor" && \
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dlistener.c600 bool removable; local
604 removable = sockpath != NULL &&
621 if (removable &&
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dscsi.c119 /* Determine if the device is removable and the type of the device
151 scsi->removable = iqd.rmb >> GRUB_SCSI_REMOVABLE_BIT;
444 grub_dprintf ("scsi", "inquiry: devtype=0x%02x removable=%d\n",
445 scsi->devtype, scsi->removable);

Completed in 45 milliseconds