/osnet-11/usr/src/cmd/hal/tools/ |
H A D | hal-storage-unmount.c | 80 LibHalVolume *volume; local 170 volume = libhal_volume_from_udi (hal_ctx, udi); 171 if (volume == NULL) { 191 drive_udi = libhal_volume_get_storage_device_udi (volume); 194 unknown_error ("Cannot get drive_udi from volume"); 203 udi, volume, drive, device, invoked_by_uid,
|
H A D | hal-storage-eject.c | 81 LibHalVolume *volume; local 159 /* should be either volume or storage */ 160 if ((volume = libhal_volume_from_udi (hal_ctx, udi)) != NULL) { 161 drive_udi = libhal_volume_get_storage_device_udi (volume); 184 printf ("processing drive's volume %s (%d of %d)\n", volume_udi, i + 1, num_volumes); 188 unknown_eject_error ("Cannot get volume object");
|
H A D | hal-storage-zpool.c | 179 LibHalVolume *volume; local 223 /* should be a volume */ 224 if ((volume = libhal_volume_from_udi (hal_ctx, udi)) == NULL) { 225 unknown_zpool_error ("Invalid volume"); 227 if ((drive_udi = libhal_volume_get_storage_device_udi (volume)) == NULL ) { 233 if ((libhal_volume_get_fstype (volume) == NULL) || 234 (strcmp (libhal_volume_get_fstype (volume), "zfs") != 0)) { 237 if ((libhal_volume_get_label (volume) == NULL) || 238 (strlen (libhal_volume_get_label (volume)) == 0)) { 247 libhal_volume_get_label (volume), [all...] |
H A D | hal-storage-shared.c | 254 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device); 264 LibHalVolume *volume, LibHalDrive *drive, const char *device, 296 if (volume != NULL) { 298 if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", &error) || 305 * set volume.ignore on all volumes, but still want 314 if (!libhal_volume_is_mounted (volume)) { 315 not_mounted ("According to HAL, the volume is not mounted"); 259 handle_unmount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, gboolean option_lazy, gboolean option_force, DBusConnection *system_bus) argument
|
H A D | hal-storage-mount.c | 89 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device); 285 if (libhal_device_query_capability (hal_ctx, udi, "volume", &error)) { 345 /* see if a volume is mounted at this mount point */ 349 mounted_vol = volume_findby (hal_ctx, "volume.mount_point", _mount_point); 453 LibHalVolume *volume, LibHalDrive *drive, const char *device, 512 if (volume != NULL) { 514 if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", &error) || 521 * set volume.ignore on all volumes, but still want 530 label = libhal_volume_get_label (volume); 531 uuid = libhal_volume_get_uuid (volume); 448 handle_mount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, DBusConnection *system_bus) argument 1133 LibHalVolume *volume; local [all...] |
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfsfix.c | 89 char *volume; member in struct:__anon62 147 if (!opt.volume) 148 opt.volume = argv[optind - 1]; 165 if (opt.volume == NULL) { 197 /* Get a pointer to the volume information attribute. */ 230 /* Set the volume flags. */ 261 ntfs_log_error("Error setting volume flags.\n"); 445 dev = ntfs_device_alloc(opt.volume, 0, &ntfs_device_default_io_ops, 455 ntfs_log_perror("Failed to startup volume"); 488 if (!ntfs_check_if_mounted(opt.volume, [all...] |
H A D | ntfscmp.c | 947 static ntfs_volume *mount_volume(const char *volume) argument 952 if (ntfs_check_if_mounted(volume, &mntflag)) { 953 perr_println("Failed to check '%s' mount state", volume); 961 "You must 'umount' it first.\n", volume); 964 vol = ntfs_mount(volume, NTFS_MNT_RDONLY); 969 perr_println("Opening '%s' as NTFS failed", volume); 971 printf(invalid_ntfs_msg, volume);
|
H A D | ntfsclone.c | 73 #include "volume.h" 119 char *volume; member in struct:__anon59 178 * stupidly used the volume version as the image version... )-: I hope NTFS 352 if (opt.volume) 354 opt.volume = argv[optind-1]; 401 if (opt.volume == NULL) { 1195 static void mft_record_write_with_same_usn(ntfs_volume *volume, ntfs_inode *ni) argument 1200 if (ntfs_mft_record_write(volume, ni->mft_no, ni->mrec)) 1204 static void mft_inode_write_with_same_usn(ntfs_volume *volume, ntfs_inode *ni) argument 1208 mft_record_write_with_same_usn(volume, n 1219 walk_clusters(ntfs_volume *volume, struct ntfs_walk_cluster *walk) argument 1330 volume_size(ntfs_volume *volume, s64 nr_clusters) argument [all...] |
H A D | ntfsresize.c | 9 * This utility will resize an NTFS volume without data loss. 63 #include "volume.h" 116 "This software has detected that the NTFS volume is already opened by another\n" 145 char *volume; member in struct:__anon66 176 int outsider; /* num of clusters outside the volume */ 318 " Resize an NTFS volume non-destructively, safely move any data if needed.\n" 321 " -s, --size SIZE Resize volume to SIZE[k|M|G] bytes\n" 335 " omitted then the NTFS volume will be enlarged to the DEVICE size.\n" 360 "NTFS volume.\n"); 397 err_exit("Illegal new volume siz [all...] |
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | gnome-vfs-method.c | 43 #include "volume.h" 129 ntfs_volume *volume; local 150 volume = g_hash_table_lookup(uri_parent_string_hash, uri_parent_string); 152 if (!volume) { 170 if (!(volume = ntfs_mount(uri->parent->text, 178 g_strdup(uri_parent_string), volume); 183 *volume_return = volume; 188 ntfs_volume *volume, const gchar *pathname) 197 g_return_val_if_fail(volume != NULL, GNOME_VFS_ERROR_BAD_PARAMETERS); 210 inode = ntfs_inode_open(volume, mre 187 inode_open_by_pathname(ntfs_inode **inode_return, ntfs_volume *volume, const gchar *pathname) argument 267 ntfs_volume *volume; local 527 ntfs_volume *volume; local 568 ntfs_volume *volume; local [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/labels/ |
H A D | sun.c | 88 u_int8_t volume[8]; /* Volume name */ member in struct:_SunRawLabel
|
/osnet-11/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_storage.c | 588 /* trigger initial probe-volume */ 633 /* remove child (can only be single volume) */ 707 * sd instance -> HAL storage, sd minor node -> HAL volume, 851 * For volume's devfs_path we'll use minor_path/slice instead of 872 * Storage minor nodes are potential "volume" objects. 896 HalDevice *volume; local 1024 /* XXX detect volume removal? */ 1025 volume = hal_device_store_match_key_value_string (hald_get_gdl (), 1027 if ((volume == NULL) || !hal_device_has_capability(volume, "volum [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/File/Glob/ |
H A D | bsd_glob.c | 242 static OSErr GetVolInfo(short volume, Boolean indexed, FSSpec *spec); 304 /* Check if we need to match a volume name (e.g. '*HD:*') */ 325 * (b) Remove a single trailing ':', unless it's a "match volume only" 348 up above the volume root, see above. 885 /* Get and match a list of volume names */ 1222 '::', there must be a preceding ':[^:]+'. Hence, a volume path like 1261 volume path. We can't move up the 1295 not a volume path (e.g. HD:) and not a path consisting 1379 /* Return a FSSpec record for the specified volume 1383 GetVolInfo(short volume, Boolea argument [all...] |
/osnet-11/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 157 libhal_volume_policy_compute_size_as_string (LibHalVolume *volume) argument 170 size = libhal_volume_get_size (volume); 203 /* volume may be NULL (e.g. if drive supports removable media) */ 205 libhal_drive_policy_compute_display_name (LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy) argument 225 if (volume != NULL) 226 size_str = libhal_volume_policy_compute_size_as_string (volume); 351 libhal_volume_policy_compute_display_name (LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy) argument 364 volume_label = libhal_volume_get_label (volume); 372 size_str = libhal_volume_policy_compute_size_as_string (volume); 374 /* If the volume labe 518 libhal_drive_policy_compute_icon_name(LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy) argument 548 libhal_volume_policy_compute_icon_name(LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy) argument 606 libhal_volume_policy_should_be_visible(LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy, const char *target_mount_point) argument 1064 libhal_volume_get_storage_device_udi(LibHalVolume *volume) argument 1260 libhal_volume_get_msdos_part_table_type(LibHalVolume *volume) argument 1274 libhal_volume_get_msdos_part_table_start(LibHalVolume *volume) argument 1288 libhal_volume_get_msdos_part_table_size(LibHalVolume *volume) argument 1406 libhal_volume_get_size(LibHalVolume *volume) argument 1415 libhal_volume_get_disc_capacity(LibHalVolume *volume) argument 1533 libhal_volume_get_udi(LibHalVolume *volume) argument 1539 libhal_volume_get_device_file(LibHalVolume *volume) argument 1544 libhal_volume_get_device_major(LibHalVolume *volume) argument 1549 libhal_volume_get_device_minor(LibHalVolume *volume) argument 1555 libhal_volume_get_fstype(LibHalVolume *volume) argument 1561 libhal_volume_get_fsversion(LibHalVolume *volume) argument 1567 libhal_volume_get_fsusage(LibHalVolume *volume) argument 1573 libhal_volume_is_mounted(LibHalVolume *volume) argument 1579 libhal_volume_is_mounted_read_only(LibHalVolume *volume) argument 1585 libhal_volume_is_partition(LibHalVolume *volume) argument 1591 libhal_volume_is_disc(LibHalVolume *volume) argument 1597 libhal_volume_get_partition_number(LibHalVolume *volume) argument 1603 libhal_volume_get_partition_scheme(LibHalVolume *volume) argument 1609 libhal_volume_get_partition_type(LibHalVolume *volume) argument 1615 libhal_volume_get_partition_label(LibHalVolume *volume) argument 1621 libhal_volume_get_partition_uuid(LibHalVolume *volume) argument 1627 libhal_volume_get_partition_flags(LibHalVolume *volume) argument 1634 libhal_volume_get_partition_start_offset(LibHalVolume *volume) argument 1640 libhal_volume_get_partition_media_size(LibHalVolume *volume) argument 1646 libhal_volume_get_label(LibHalVolume *volume) argument 1652 libhal_volume_get_mount_point(LibHalVolume *volume) argument 1658 libhal_volume_get_uuid(LibHalVolume *volume) argument 1664 libhal_volume_disc_has_audio(LibHalVolume *volume) argument 1670 libhal_volume_disc_has_data(LibHalVolume *volume) argument 1676 libhal_volume_disc_is_blank(LibHalVolume *volume) argument 1682 libhal_volume_disc_is_rewritable(LibHalVolume *volume) argument 1688 libhal_volume_disc_is_appendable(LibHalVolume *volume) argument 1694 libhal_volume_get_disc_type(LibHalVolume *volume) argument 1700 libhal_volume_should_ignore(LibHalVolume *volume) argument 1753 libhal_volume_crypto_get_backing_volume_udi(LibHalVolume *volume) argument 1759 libhal_volume_crypto_get_clear_volume_udi(LibHalContext *hal_ctx, LibHalVolume *volume) argument 1991 libhal_volume_policy_is_mountable(LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy) argument 1996 libhal_volume_policy_get_desired_mount_point(LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy) argument 2001 libhal_volume_policy_get_mount_options(LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy) argument 2026 libhal_volume_policy_get_mount_fs(LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePolicy *policy) argument [all...] |