Searched refs:volume (Results 1 - 25 of 37) sorted by last modified time

12

/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c588 /* 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 DMakefile26 SUBDIRS = storage volume printer network-printer acpi xkb
/osnet-11/usr/src/cmd/hal/probing/volume/
H A DMakefile28 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 Dhal-storage-eject.c81 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 Dhal-storage-mount.c89 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 Dhal-storage-shared.c254 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 Dhal-storage-shared.h59 LibHalVolume *volume, LibHalDrive *drive, const char *device,
H A Dhal-storage-unmount.c80 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 Dhal-storage-zpool.c179 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/perl/5.8.4/distrib/ext/File/Glob/
H A DGlob.pm397 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 Dbsd_glob.c242 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 DDirHandle.pm37 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/File/
H A DCopy.pm417 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 DCopy.t108 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 DDosGlob.pm213 # + 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 DFind.pm332 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 DSpec.pm178 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...]
H A DTemp.pm367 my ($volume, $directories, $file);
371 ($volume, $directories, $file) = File::Spec->splitpath( $path, 1);
383 if ($^O eq 'VMS') { # need volume to avoid relative dir spec
384 $parent = File::Spec->catdir($volume, @dirs[0..$#dirs-1]);
391 # ...and attach the volume (no filename)
392 $parent = File::Spec->catpath($volume, $parent, '');
400 ($volume, $directories, $file) = File::Spec->splitpath( $path );
403 $parent = File::Spec->catpath($volume,$directories,'');
745 my ($volume, $directories, undef) = File::Spec->splitpath( $path, 1);
757 my $dir = File::Spec->catpath($volume,
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Spec/
H A DMac.pm131 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 DOS2.pm74 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 DUnix.pm228 ($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...]
H A DWin32.pm170 ($volume,$directories,$file) = File::Spec->splitpath( $path );
171 ($volume,$directories,$file) = File::Spec->splitpath( $path, $no_file );
173 Splits a path into volume, directory, and filename portions. Assumes that
176 ( $volume, $path, '' ).
189 my ($volume,$directory,$file) = ('','','');
195 $volume = $1;
207 $volume = $1;
212 return ($volume,$directory,$file);
223 that have the concept of a volume or that have path syntax that differentiates
262 Takes volume, director
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/
H A DMan.pm398 my ($volume, $dirs, $file) = File::Spec->splitpath ($name);
/osnet-11/usr/src/lib/libntfs/
H A DMakefile93 ../common/include/ntfs/volume.h
H A DMakefile.com56 $(LIBNTFSDIR)/volume.o

Completed in 69 milliseconds

12