Mounted with an absolute mount point on OpenIndiana
OpenIndiana requires that the mount points be defined on a full absolute patch. Give it what it needs.edge.strict_endians
parent
458c5eb191
commit
08ad3b4977
|
@ -3826,6 +3826,10 @@ int main(int argc, char *argv[])
|
|||
PATH_MAX - strlen(opts.mnt_point) - 1)) {
|
||||
strcat(ctx->abs_mnt_point, "/");
|
||||
strcat(ctx->abs_mnt_point, opts.mnt_point);
|
||||
#if defined(__sun) && defined (__SVR4)
|
||||
/* Solaris also wants the absolute mount point */
|
||||
opts.mnt_point = ctx->abs_mnt_point;
|
||||
#endif /* defined(__sun) && defined (__SVR4) */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3681,6 +3681,10 @@ int main(int argc, char *argv[])
|
|||
PATH_MAX - strlen(opts.mnt_point) - 1)) {
|
||||
strcat(ctx->abs_mnt_point, "/");
|
||||
strcat(ctx->abs_mnt_point, opts.mnt_point);
|
||||
#if defined(__sun) && defined (__SVR4)
|
||||
/* Solaris also wants the absolute mount point */
|
||||
opts.mnt_point = ctx->abs_mnt_point;
|
||||
#endif /* defined(__sun) && defined (__SVR4) */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue