diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2011-11-07 06:24:35 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2011-11-07 06:24:35 +0000 |
commit | fd1ca22afbc91a5524d01df9d38afecf3178a149 (patch) | |
tree | a127f9614be4efee5cc517296a0f44ae6e16ecc8 /sys/net/if.c | |
parent | add89852d67a620e0fa21f71e3d198600104bdb8 (diff) | |
download | src-fd1ca22afbc91a5524d01df9d38afecf3178a149.tar.gz src-fd1ca22afbc91a5524d01df9d38afecf3178a149.zip |
Improve error reporting when MBR can not be written.
Remove obsolete code which uses DIOCSMBR ioctl.
When writing MBR first check that GEOM_MBR is available, if it is not
available, then try write MBR directly to provider. If both are failed,
then recommend to use gpart(8).
MFC after: 2 week
Notes
Notes:
svn path=/head/; revision=227292
Diffstat (limited to 'sys/net/if.c')
0 files changed, 0 insertions, 0 deletions