FreeBSD Bugzilla – Attachment 113539 Details for
Bug 155104
[zfs][patch] use /dev prefix by default when importing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a.diff
a.diff (text/plain), 634 bytes, created by
swell.k
on 2011-02-27 23:00:24 UTC
(
hide
)
Description:
a.diff
Filename:
MIME Type:
Creator:
swell.k
Created:
2011-02-27 23:00:24 UTC
Size:
634 bytes
patch
obsolete
>Index: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c >=================================================================== >--- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c (revision 219090) >+++ cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c (working copy) >@@ -1129,7 +1129,11 @@ zpool_find_import_impl(libzfs_handle_t *hdl, impor > char *end, **dir = iarg->path; > size_t pathleft; > nvlist_t *ret = NULL; >+#ifdef sun > static char *default_dir = "/dev/dsk"; >+#else >+ static char *default_dir = "/dev"; >+#endif > pool_list_t pools = { 0 }; > pool_entry_t *pe, *penext; > vdev_entry_t *ve, *venext;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 155104
: 113539