Searched defs:mount_point (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/stat/common/
H A Ddsr.h51 char *mount_point; member in struct:mnt_info
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-cleanup-all-mountpoints.c98 char *mount_point; local
106 printf (" mount_point = '%s'\n", line_elements[5]);
112 mount_point = line_elements[5];
115 if (g_rmdir (mount_point) == 0) {
118 printf ("Removed mount_point '%s'", mount_point);
H A Dhal-storage-cleanup-mountpoint.c49 do_cleanup (const char *mount_point) argument
107 printf (" mount_point = '%s'\n", line_elements[5]);
110 if (strcmp (line_elements[5], mount_point) == 0) {
132 printf ("Found entry for mount point '%s' in /media/.hal-mtab", mount_point);
158 if (g_rmdir (mount_point) != 0) {
174 char *mount_point; local
180 mount_point = getenv ("HALD_CLEANUP");
181 if (mount_point == NULL)
185 printf ("in hal-storage-cleanup-mountpoint for mount point '%s'\n", mount_point);
187 do_cleanup (mount_point);
[all...]
H A Dhal-storage-shared.c95 mtab_next (gpointer handle, char **mount_point) argument
104 #error TODO: set *mount_point to g_strdup()-ed value if mount_point!=NULL
109 if (mount_point != NULL) {
110 *mount_point = g_strdup (mnt.mnt_mountp);
122 if (mount_point != NULL) {
123 *mount_point = g_strdup (mnt->mnt_dir);
159 fstab_next (gpointer handle, char **mount_point) argument
166 /* TODO: fill out mount_point */
167 if (mount_point !
702 audit_volume(const adt_export_data_t *imported_state, au_event_t event_id, int result, const char *auth_used, const char *mount_point, const char *device, const char *options) argument
[all...]
H A Dhal-storage-mount.c123 invalid_mount_point (const char *mount_point) argument
126 fprintf (stderr, "The mount point '%s' is invalid\n", mount_point);
131 mount_point_not_available (const char *mount_point) argument
134 fprintf (stderr, "The mount point '%s' is already occupied\n", mount_point);
346 mounted_vol = volume_findby (hal_ctx, "volume.mount_point", _mount_point);
392 device_is_mounted (const char *device, char **mount_point) argument
405 while (((entry = mtab_next (handle, mount_point)) != NULL) && (ret == FALSE)) {
456 char mount_point[256]; local
535 if (strlen (fgets (mount_point, sizeof (mount_point), stdi
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c72 static char mount_point[MAXPATHLEN + 1]; variable
308 if ((realpath(argv[optind+1], mount_point) == NULL) ||
309 (stat(mount_point, &st) == -1)) {
315 err(EX_MNT, gettext("can't mount on %s"), mount_point);
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Dvold.c139 char *mount_point,
637 char *mount_point; local
656 mount_point = aa[ai]->aa_mountpoint;
676 mount_point = "none";
723 mount_point,
737 char *mount_point,
767 dprintf("\tcreate_one_notify_file(): mount_point = %s\n", mount_point);
829 mount_point,
836 mount_point,
736 create_one_notify_file(char *fstype, char *mount_point, char *notify_file, char *raw_partitionp, char *reason, char *symdev) argument
[all...]
H A Drmm_common.c187 "volume.mount_point", name, volumes)) != NULL)) {
314 const char *mount_point = NULL; local
337 ((mount_point = libhal_volume_get_mount_point(v)) != NULL) &&
338 (strlen(mount_point) > 0)) {
339 (void) printf("%s%s", comma ? "," : "", mount_point);
1158 "volume.mount_point", NULL))) {
1160 "volume.mount_point", udi);
1240 char *mount_point = NULL; local
1248 mount_point = strdup(mnt.mnt_mountp);
1253 return (mount_point);
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c1020 hal_device_property_set_string (d, "volume.mount_point", "");
1434 char *mount_point = (char *) data1; local
1436 HAL_INFO (("Cleaned up mount point '%s'", mount_point));
1437 g_free (mount_point);
1451 char *mount_point; local
1497 hal_device_property_set_string (d, "volume.mount_point", m.mnt_mountp);
1509 mount_point = g_strdup (hal_device_property_get_string (d, "volume.mount_point"));
1510 if (mount_point == NULL || strlen (mount_point)
1580 const char *mount_point; local
[all...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.c997 hal_util_is_mounted_by_hald (const char *mount_point) argument
1011 /*HAL_DEBUG (("examining /media/.hal-mtab for %s", mount_point));*/
1061 HAL_DEBUG ((" mount_point = '%s'", line_elements[5]));
1062 HAL_DEBUG ((" (comparing against '%s')", mount_point));
1065 if (strcmp (line_elements[5], mount_point) == 0) {
1067 /*HAL_INFO (("device at '%s' is indeed mounted by HAL's Mount()", mount_point));*/
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c612 const char *mount_point; local
644 mount_point = libhal_volume_get_mount_point (volume);
648 if (mount_point == NULL)
649 mount_point = target_mount_point;
656 if (mount_point != NULL) {
658 if (strcmp (mount_point, fhs23_toplevel_mount_points[i]) == 0)
732 char *mount_point; /* NULL iff !is_mounted */ member in struct:LibHalVolume_s
835 libhal_free_string (vol->mount_point);
1156 LIBHAL_PROP_EXTRACT_STRING ("volume.mount_point", vol->mount_point);
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h354 char *mount_point; /* if mounted, this is where */ variable
H A Dutilities.c63 caddr_t mount_point = NULL; variable
1068 if (mount_point == NULL) {
1069 mount_point = strdup(mntent->mnt_mountp);
1070 if (mount_point == NULL) {

Completed in 97 milliseconds