/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/hal/probing/ |
H A D | Makefile | 26 SUBDIRS = storage volume printer network-printer acpi xkb
|
/osnet-11/usr/src/cmd/hal/probing/volume/ |
H A D | Makefile | 28 PROG = hald-probe-volume 29 OBJS = probe-volume.o cdutils.o fsutils.o logger.o 30 SRCS = probe-volume.c
|
/osnet-11/usr/src/cmd/hal/tools/ |
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-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...] |
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-shared.h | 59 LibHalVolume *volume, LibHalDrive *drive, const char *device,
|
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-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...] |
/osnet-11/usr/src/cmd/ntfsprogs/ |
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 | 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 | 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 | 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/cmd/perl/5.8.4/distrib/ext/File/Glob/ |
H A D | Glob.pm | 397 always begins with a volume name, a relative pathname should always 398 begin with a ':'. If specifying a volume name only, a trailing ':' is 403 full path always begins with a volume name. A relative pathname on Mac 406 is optional. If specifying a volume name only, a trailing ':' is 413 that a single trailing ':' in the pattern is ignored (unless it's a volume
|
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/cmd/perl/5.8.4/distrib/lib/ |
H A D | DirHandle.pm | 37 with a volume name, a relative pathname should always begin with a 38 ':'. If specifying a volume name only, a trailing ':' is required.
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/ |
H A D | MM_VMS.pm | 2019 volume:[your.prefix.some.dir]
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
H A D | Copy.pm | 417 with a volume name, a relative pathname should always begin with a 418 ':'. If specifying a volume name only, a trailing ':' is required. 427 copy("file1", "tmp:file1"); # error, since 'tmp:' is not a volume 432 # volume to another
|
H A D | Copy.t | 108 unless (-e 'lib:') { # make sure there's no volume called 'lib' 110 eval { (copy "file-$$", "lib:") || die "'lib:' is not a volume name"; }; 112 print "not " unless ( $@ =~ m|'lib:' is not a volume name| );
|
H A D | DosGlob.pm | 213 # + If there's a volume name in the pattern, we push a separate pattern 214 # for each mounted volume that matches (with '*', '?' and '\' escaped). 215 # + If there's no volume name in the original pattern, it is pushed 236 if ($pat =~ /^([^:]+:)(.*)\z/) { # match a volume name? 245 #print "volume regex: '$vol_pat' \n"; 247 foreach my $volume (@mounted_volumes) { 248 if ($volume =~ m|^$vol_pat\z|ios) { 251 # escape char '\' are valid characters for volume names. 253 $volume =~ s|([*?\\])|\\$1|g; 254 push @new_pat, $volume [all...] |
H A D | Find.pm | 332 While a full path always begins with a volume name, a relative pathname 333 should always begin with a ':'. If specifying a volume name only, a 354 on every volume, which are all located at the volume root level (i.e. 385 named "Desktop Folder" on the particular disk volume. Note that, although 387 volume actually maintains its own "Desktop Folder" directory. 458 # only if it's not a volume name 460 unless ($cdir =~ /^[^:]+:$/) { # volume name 477 if ($fn =~ /^[^:]+:/) { # a volume name like DataHD:*
|
H A D | Spec.pm | 178 Splits a path in to volume, directory, and filename portions. On systems 179 with no concept of volume, returns '' for volume. 181 ($volume,$directories,$file) = File::Spec->splitpath( $path ); 182 ($volume,$directories,$file) = File::Spec->splitpath( $path, $no_file ); 201 that have the concept of a volume or that have path syntax that differentiates 210 Takes volume, directory and file portions and returns an entire path. Under 211 Unix, $volume is ignored, and directory and file are concatenated. A '/' is 212 inserted if need be. On other OSs, $volume is significant. 214 $full_path = File::Spec->catpath( $volume, [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Spec/ |
H A D | Mac.pm | 131 If the first argument is an empty string "" or is a volume name, i.e. matches 145 volume, which is the closest in concept to Unix' "/". This should help 150 For absolute paths, some cleanup is done, to ensure that the volume 174 by passing either an empty string or a path that begins with a volume 179 of absolute paths. It takes volume, directory and file portions and 182 C<catpath()> to concatenate I<volume names> and I<directory 208 } elsif ($args[0] =~ /^[^:]+:/) { # absolute path, volume name 260 # remove updirs immediately following the volume name 305 To concatenate I<volume names>, I<directory paths> and I<filenames>, 343 returns the name of the startup volume, sinc [all...] |
H A D | OS2.pm | 74 my ($volume,$directory,$file) = ('','',''); 80 $volume = $1; 92 $volume = $1; 97 return ($volume,$directory,$file); 108 my ($self,$volume,$directory,$file) = @_; 111 # whatever separator is first in the $volume 112 $volume .= $1 113 if ( $volume =~ m@^([\\/])[\\/][^\\/]+[\\/][^\\/]+\Z(?!\n)@s && 117 $volume .= $directory ; 119 # If the volume i [all...] |
H A D | Unix.pm | 228 ($volume,$directories,$file) = File::Spec->splitpath( $path ); 229 ($volume,$directories,$file) = File::Spec->splitpath( $path, $no_file ); 231 Splits a path into volume, directory, and filename portions. On systems 232 with no concept of volume, returns '' for volume. 249 my ($volume,$directory,$file) = ('','',''); 260 return ($volume,$directory,$file); 271 that have the concept of a volume or that have path syntax that differentiates 295 Takes volume, directory and file portions and returns an entire path. Under 296 Unix, $volume i [all...] |