OpenGrok
Cross Reference: dkwedge_mbr.c
xref
: /
src
/
sys
/
dev
/
dkwedge
/
dkwedge_mbr.c
Home
|
History
|
Annotate
|
Download
|
only in
dkwedge
History log of
/src/sys/dev/dkwedge/dkwedge_mbr.c
Revision
Date
Author
Comments
1.13
26-Feb-2024
charlotte
In case of trouble reading an MBR, make sure error field is set before reporting it
1.12
11-Apr-2020
jdolecek
branches: 1.12.20;
allocate buffer for disk I/O via geteblk() instead of malloc(), so they
are properly aligned; e.g. readdisklabel() does the same
also removed the DKW_MALLOC()/DKW_FREE()/DKW_REALLOC() macros as apparently
unnecessary, these files don't seem to be compiled into any userland tools
dkwedge_gpt.c confirmed working, others compile-tested only
1.11
09-Jul-2019
maxv
branches: 1.11.8;
Fix info leak: always clear 'dkw', because some of its (otherwise
uninitialized) fields can be copied to userland, typically in the
DIOCGWEDGEINFO ioctl.
1.10
19-Jan-2017
maya
branches: 1.10.14;
use a bounded copy. NFCI
1.9
02-Dec-2015
christos
branches: 1.9.2; 1.9.4;
Skip protective MBR early too.
1.8
04-Nov-2014
mlelstv
branches: 1.8.2;
get sector size from disk structure.
1.7
07-Apr-2012
christos
branches: 1.7.2; 1.7.14;
use the partition sector size.
1.6
28-Apr-2008
martin
branches: 1.6.34; 1.6.38;
Remove clause 3 and 4 from TNF licenses
1.5
13-Aug-2006
martin
branches: 1.5.52; 1.5.54; 1.5.56;
Backout previous - it is already dealt with at the config level.
1.4
13-Aug-2006
martin
Make the discovery methods optional (as they were already declared
in conf/files)
1.3
11-Dec-2005
christos
branches: 1.3.4;
merge ktrace-lwp.
1.2
01-Jan-2005
thorpej
Make this compile again.
1.1
23-Oct-2004
thorpej
branches: 1.1.2;
MBR partition table support for wedges, enabled by the DKWEDGE_METHOD_MBR
option.
1.1.2.3
17-Jan-2005
skrll
Sync with HEAD.
1.1.2.2
02-Nov-2004
skrll
Sync with HEAD.
1.1.2.1
23-Oct-2004
skrll
file dkwedge_mbr.c was added on branch ktrace-lwp on 2004-11-02 07:51:19 +0000
1.3.4.1
09-Sep-2006
rpaulo
sync with head
1.5.56.1
16-May-2008
yamt
sync with head.
1.5.54.1
18-May-2008
yamt
sync with head.
1.5.52.1
02-Jun-2008
mjf
Sync with HEAD.
1.6.38.1
29-Apr-2012
mrg
sync to latest -current.
1.6.34.1
17-Apr-2012
yamt
sync with head
1.7.14.1
11-Nov-2014
martin
Pull up following revision(s) (requested by mlelstv in ticket #200):
sys/dev/dkwedge/dkwedge_bsdlabel.c: revision 1.23
sys/dev/dkwedge/dkwedge_mbr.c: revision 1.8
sys/dev/dkwedge/dkwedge_gpt.c: revision 1.14
Handle disks with non DEV_BSIZE sectors.
get sector size from disk structure.
Be less noisy when handling wedge name conflicts.
1.7.2.1
03-Dec-2017
jdolecek
update from HEAD
1.8.2.2
05-Feb-2017
skrll
Sync with HEAD
1.8.2.1
27-Dec-2015
skrll
Sync with HEAD (as of 26th Dec)
1.9.4.1
21-Apr-2017
bouyer
Sync with HEAD
1.9.2.1
20-Mar-2017
pgoyette
Sync with HEAD
1.10.14.2
21-Apr-2020
martin
Sync with HEAD
1.10.14.1
13-Apr-2020
martin
Mostly merge changes from HEAD upto 20200411
1.11.8.1
20-Apr-2020
bouyer
Sync with HEAD
1.12.20.1
12-Sep-2024
martin
Pull up following revision(s) (requested by rin in ticket #839):
sys/dev/dkwedge/dkwedge_mbr.c: revision 1.13
In case of trouble reading an MBR, make sure error field is set before
reporting it
Indexes created Wed Oct 22 13:09:56 GMT 2025