Searched defs:removable (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c54 * returns 1 if device pointed by 'link' is a removable hotplugged disk,
62 int removable = 0; local
89 (void) ioctl(fd, DKIOCREMOVABLE, &removable);
93 if (removable && hotpluggable)
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_menu.c121 int32_t removable; local
151 if (ioctl(fd, DKIOCREMOVABLE, &removable) < 0) {
156 if (!removable) {
158 gettext("Not a removable media device\n"));
409 * List removable devices.
415 int removable; local
442 removable = find_device(defer, tmpstr);
443 if (removable == -1)
448 * manager is running and no removable devices are found.
451 if (defer || (vol_running && (removable
[all...]
H A Drmf_misc.c1122 int removable = 0; local
1223 if (!ioctl(t_dev->d_fd, DKIOCREMOVABLE, &removable) &&
1226 if (removable || hotpluggable) {
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dlistener.c600 bool removable; local
604 removable = sockpath != NULL &&
621 if (removable &&
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddisks_private.h105 int removable; member in struct:disk
H A Ddrive.c144 struct removable { struct in union:conf_feature::features
161 } removable; member in union:conf_feature::features
856 if (diskp->removable) {
870 /* can't tell diff between dead & no media on removable drives */
992 * drive was a CD-ROM or not. The kernal lumps all of the removable multi-media
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c1093 int removable; local
1112 removable = 0;
1148 /* see if device is removable */
1153 (void) ioctl(fd, DKIOCREMOVABLE, &removable);
1155 if (removable == 0)
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_mddb.c2246 int removable = 0; local
2262 * Check if this is a removable device. If it is we
2281 DDI_PROP_DONTPASS, "removable-media",
2285 removable = 1;
2291 if (removable)

Completed in 99 milliseconds