Searched refs:volume (Results 1 - 25 of 37) sorted by relevance

12

/osnet-11/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.h224 LibHalVolume *volume,
227 LibHalVolume *volume,
282 void libhal_volume_free (LibHalVolume *volume);
283 dbus_uint64_t libhal_volume_get_size (LibHalVolume *volume);
284 dbus_uint64_t libhal_volume_get_disc_capacity (LibHalVolume *volume);
286 const char *libhal_volume_get_udi (LibHalVolume *volume);
287 const char *libhal_volume_get_device_file (LibHalVolume *volume);
288 unsigned int libhal_volume_get_device_major (LibHalVolume *volume);
289 unsigned int libhal_volume_get_device_minor (LibHalVolume *volume);
290 const char *libhal_volume_get_fstype (LibHalVolume *volume);
[all...]
H A Dlibhal-storage.c157 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...]
/osnet-11/usr/src/cmd/hal/probing/
H A DMakefile26 SUBDIRS = storage volume printer network-printer acpi xkb
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Spec/
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 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...]
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 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...]
/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-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...]
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-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-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-shared.h59 LibHalVolume *volume, LibHalDrive *drive, const char *device,
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
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsfix.c89 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 Dntfsclone.c73 #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 Dntfsresize.c9 * 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...]
H A Dntfscmp.c947 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);
/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 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 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...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dgnome-vfs-method.c43 #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/libntfs/
H A DMakefile.com56 $(LIBNTFSDIR)/volume.o
H A DMakefile93 ../common/include/ntfs/volume.h
/osnet-11/usr/src/lib/nsswitch/pynss/common/
H A Dnssbase.py125 self.volume = 0
127 self.volume = 2
133 def verbose(self, volume = 1):
135 self.volume = volume
165 if self.volume:
185 if self.volume > 1:
190 if self.volume > 0:

Completed in 252 milliseconds

12