| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather then combining hardlink creation for the geom(8) binary with
shared library build, move libraries to src/lib/geom so they are
built and installed normally. Create a common Makefile.classes
which is included by both lib/geom/Makefile and sbin/geom/Makefile
so the symlink and libraries stay in sync.
The relocation of libraries allows libraries to be build for 32-bit
compat. This also reduces the number of non-standard builds in
the system.
This commit is not sufficent to run a 32-bit /sbin/geom on a 64-bit
system out of the box as it will look in the wrong place for libraries
unless GEOM_LIBRARY_PATH is set appropriatly in the environment.
Reviewed by: bdrewery
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15360
Notes:
svn path=/head/; revision=335645
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most consumers of g_metadata_store were passing in partially unallocated
memory, resulting in stack garbage being written to disk labels. Fix them by
zeroing the memory first.
gvirstor repeated the same mistake, but in the kernel.
Also, glabel's label contained a fixed-size string that wasn't
initialized to zero.
PR: 222077
Reported by: Maxim Khitrov <max@mxcrypt.com>
Reviewed by: cem
MFC after: 3 weeks
X-MFC-With: 323314
X-MFC-With: 323338
Differential Revision: https://reviews.freebsd.org/D14164
Notes:
svn path=/head/; revision=328849
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
Notes:
svn path=/head/; revision=326276
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gpart(8) has functionality to change the label of an GPT partition.
This functionality works like it should, however, after a label change
the /dev/gpt/ entries remain unchanged. glabel(8) status output remains
unchanged. The change only takes effect after a reboot.
PR: 162690
Submitted by: sub.mesa@gmail, Ben RUBSON <ben.rubson@gmail.com>, ae
Reviewed by: allanjude, bapt, bcr
MFC after: 6 weeks.
Differential Revision: https://reviews.freebsd.org/D9935
Notes:
svn path=/head/; revision=315112
|
|
|
|
|
|
|
|
|
|
| |
This simplifies make logic/output
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=314656
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-pkg/; revision=295450
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
Notes:
svn path=/head/; revision=284345
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|
| |\
| |/
|/|
| | |
Notes:
svn path=/projects/bmake/; revision=283595
|
| |\
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=270164
|
| | |
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=266219
|
| | |
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=265802
|
| |\ \
| | | |
| | | |
| | | | |
Notes:
svn path=/projects/bmake/; revision=255263
|
| | | |
| | | |
| | | |
| | | | |
Notes:
svn path=/projects/bmake/; revision=248169
|
| | | |
| | | |
| | | |
| | | | |
Notes:
svn path=/projects/bmake/; revision=246868
|
| | | |
| | | |
| | | |
| | | | |
Notes:
svn path=/projects/bmake/; revision=242788
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Requested by: Simon Gerraty <sjg@juniper.net>
Notes:
svn path=/projects/bmake/; revision=239572
|
| |_|/
|/| |
| | |
| | | |
Notes:
svn path=/head/; revision=276360
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
Notes:
svn path=/head/; revision=267667
|
| | |
| | |
| | |
| | | |
Notes:
svn path=/head/; revision=267182
|
| | |
| | |
| | |
| | | |
Notes:
svn path=/head/; revision=267063
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
While there, also document the glabel "native" labels and explain why
there are additional nodes created for nested GEOM classes.
Reminded by: jmg
Notes:
svn path=/head/; revision=266972
|
|/
|
|
|
|
|
| |
PR: 177455
Notes:
svn path=/head/; revision=249768
|
|
|
|
|
|
|
|
|
| |
While I'm here remove redundancy and inconsistencies.
Obtained from: Juniper Networks
Notes:
svn path=/head/; revision=216468
|
|
|
|
|
|
|
|
|
|
| |
understand everything correctly, we don't really need it.
- Provide default numeric value as strings. This allows to simplify
a lot of code.
- Bump version number.
Notes:
svn path=/head/; revision=212554
|
|
|
|
|
|
|
|
|
| |
Requested by: pjd
Approved by: gnn (mentor)
MFC after: 1 month
Notes:
svn path=/head/; revision=196476
|
|
|
|
|
|
|
|
|
|
| |
Approved by: gnn (mentor)
Reviewed by: pjd
PR: 128398
Submitted by: Marius Nuennerich < marius at nuenneri.ch >
Notes:
svn path=/head/; revision=194092
|
|
|
|
|
|
|
|
| |
Actually-by: pjd
Approved by: gnn (mentor)
Notes:
svn path=/head/; revision=190424
|
|
|
|
|
|
|
|
|
| |
and define STATIC_GEOM_CLASSES when building the rescue binary. This way
geom can more easily be part of other crunched binaries, as it requires
only a Makefile change.
Notes:
svn path=/head/; revision=179550
|
|
|
|
|
|
|
|
| |
Ok'ed by: marcel
No objection: -current@
Notes:
svn path=/head/; revision=176852
|
|
|
|
|
|
|
|
|
|
| |
In order to support gpart(8), geom(8) needs to support a named
argument. Also, optional string parameters are a requirement.
Both have been added to the infrastructure. The former required
all existing classes to be adjusted.
Notes:
svn path=/head/; revision=169586
|
|
|
|
|
|
|
| |
Changes: 98722
Notes:
svn path=/head/; revision=162868
|
|
|
|
| |
Notes:
svn path=/head/; revision=155175
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
value (intmax_t) and boolean (int).
Based on that provide three functions:
- gctl_get_ascii()
- gctl_get_int()
- gctl_get_intmax()
- Hide gctl_get_param() function, as it is only used internally in
subr.c.
- Allow to provide argument name as (fmt, ...).
- Assert geom(8) bugs (missing argument is a geom(8) bug).
- Clean-up and simplify the code by using new functions and assumtions
(no more checking for missing argument).
Tested by: regression tests
Notes:
svn path=/head/; revision=153190
|
|
|
|
| |
Notes:
svn path=/head/; revision=149493
|
|
|
|
|
|
|
|
|
| |
Submitted by: Stanislav Sedov <stas@310.ru>
PR: kern/84638
MFC after: 1 week
Notes:
svn path=/head/; revision=148978
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=143586
|
|
|
|
|
|
|
|
|
| |
just leave reference to geom(8).
MFC after: 1 week
Notes:
svn path=/head/; revision=143576
|
|
|
|
|
|
|
|
|
| |
- Update copyrights.
MFC after: 1 week
Notes:
svn path=/head/; revision=143535
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shared-last-sector problem.
After this change, even if there is more than one provider with the same
last sector, the proper one will be chosen based on its size.
It still doesn't fix the 'c' partition problem (when da0s1 can be confused
with da0s1c) and situation when 'a' partition starts at offset 0
(then da0s1a can be confused with da0s1 and da0s1c). One can use '-h'
option there, when creating device or avoid sharing last sector.
Actually, when providers share the same last sector and their size is equal,
they provide exactly the same data, so the name (da0s1, da0s1a, da0s1c)
isn't important at all.
- Provide backward compatibility.
- Update copyright's year.
MFC after: 1 week
Notes:
svn path=/head/; revision=142727
|
|
|
|
| |
Notes:
svn path=/head/; revision=140415
|
|
|
|
| |
Notes:
svn path=/head/; revision=140368
|
|
|
|
|
|
|
|
| |
Manual pages fixes by: ru
MFC after: 3 days
Notes:
svn path=/head/; revision=140298
|
|
|
|
|
|
|
| |
Reviewed by: pjd
Notes:
svn path=/head/; revision=137221
|
|
|
|
|
|
|
| |
to dump metadata from given components.
Notes:
svn path=/head/; revision=132344
|
|
|
|
|
|
|
| |
Based on: simon's patch
Notes:
svn path=/head/; revision=132100
|
|
|
|
| |
Notes:
svn path=/head/; revision=131763
|
|
|
|
|
|
|
|
|
| |
less dangerous.
- Update manual pages and extend examples.
- Bump versions.
Notes:
svn path=/head/; revision=131649
|
|
|
|
|
|
|
| |
Submitted by: David Magda <dmagda@ee.ryerson.ca>
Notes:
svn path=/head/; revision=131520
|