| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follow-up on r322318 and r322319 and remove the deprecated modules.
Shift some now-unused kernel files into userspace utilities that incorporate
them. Remove references to removed GEOM classes in userspace utilities.
Reviewed by: imp (earlier version)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D21249
Notes:
svn path=/head/; revision=351001
|
|
|
|
|
|
|
|
|
|
|
| |
This change doesn't make any attempt to add support for these slices to the
relevent GEOM classes. Just register the number in fdisk and the canonical
list of kernel macros (diskmbr.h).
Obtained from: DragonFlyBSD (794d80aa519b394b3174f20776a) (small subset of)
Notes:
svn path=/head/; revision=347948
|
|
|
|
|
|
|
|
|
|
| |
especially for 4Kn drives with PMBR's
Approved by: bde (mentor)
MFC: 3 days
Notes:
svn path=/head/; revision=339707
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
|
|
|
|
|
|
|
|
|
| |
This simplifies make logic/output
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=314656
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Julian Elischer [1] and the Mach 2.5 Installation notes [2].
I was unable to pin point the exact version of Mach the fdisk utility appeared as I could not find documentation older than version 2.5 & no source code or repo history.
fdisk utility appears as a separate utility[3] in v2.5. Due to this, I have avoided stating the exact version fdisk first appeared in Mach.
Add authors section.
Make correction pointed by igor
[1] https://groups.google.com/d/topic/comp.unix.bsd/Hhi45vAHxDg/discussion
[2] ftp://ftp.mcs.vuw.ac.nz/doc/misc/mach-i386-doc/i386_install.ps
[3] ftp://ftp.mcs.vuw.ac.nz/doc/misc/mach-i386-doc/i386_manpages.ps
PR: 212469
Approved by: bcr (mentor)
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D8104
Notes:
svn path=/head/; revision=306731
|
|
|
|
| |
Notes:
svn path=/head/; revision=298861
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-pkg/; revision=295450
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
go asking what debug flags to set for GEOM to make it work. Advice
them to use gpart(8) instead.
Something similar should probably done with disklabel,
but I need to rewrite the disklabel examples first.
Reviewed by: wblock@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3315
Notes:
svn path=/head/; revision=287396
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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=265044
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Notes:
svn path=/projects/bmake/; revision=256424
|
| | | | |
| | | | |
| | | | |
| | | | | |
Notes:
svn path=/projects/bmake/; revision=248169
|
| | | | |
| | | | |
| | | | |
| | | | | |
Notes:
svn path=/projects/bmake/; revision=246868
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Requested by: Simon Gerraty <sjg@juniper.net>
Notes:
svn path=/projects/bmake/; revision=239572
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reduce overlinking
Notes:
svn path=/head/; revision=275030
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation
This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h
Discussed at: BSDcan
Notes:
svn path=/head/; revision=268351
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
only being able to create 1TB partitions:
o) Use an unsigned 32-bit quantity to store the number of disk sectors.
o) Detect overflow of said 32-bit quantity and clamp to 2^32.
o) Rather than returning the disk sector count from get_params, return 0 on
success, since its return value is only ever compared to -1 to detect
failure. This would cause returning 2^32 sectors to be interpreted as an
error.
Reviewed by: bde ("good for a quick fix")
Notes:
svn path=/head/; revision=258686
|
|/
|
|
|
|
|
|
|
| |
Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only
Notes:
svn path=/head/; revision=255977
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=234345
|
|
|
|
|
|
|
|
| |
Pointed by: jh
MFC after: 1 week
Notes:
svn path=/head/; revision=227295
|
|
|
|
|
|
|
|
|
|
|
|
| |
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:
svn path=/head/; revision=227292
|
|
|
|
|
|
|
|
| |
PR: misc/162262
MFC after: 3 days
Notes:
svn path=/head/; revision=227280
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=227272
|
|
|
|
|
|
|
|
|
| |
These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.
Notes:
svn path=/head/; revision=227081
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=226908
|
|
|
|
|
|
|
|
|
|
| |
that doesn't have a /boot/mbr, and you touch it to get past the previous
error message...
MFC after: 1 week
Notes:
svn path=/head/; revision=226907
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
maximum value instead of number of bits. But for case when
limitation is not needed it erroneously skips conversion to
number and always returns zero. So, don't skip conversion
for case when limitation is not needed.
PR: bin/159765
Approved by: re (kib)
Notes:
svn path=/head/; revision=225007
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fdisk(1) internally uses a signed int. Should a user attempt to specify
a slice containing more than 2^31 - 1 sectors, an error will be reported
on systems with sizeof(long) == 4 and the slice size will be silently
truncated on systems with sizeof(long) > 4.
Instead use an unsigned long to store the slice size in fdisk(1). This
allows the user to specify a slice size up to the maximum permitted by
the MBR on-disk format and does not have any problems with silent
truncation should the use specify an slice size larger than 2^32 on systems
with sizeof(long) > 4.
Submitted by: Mark Johnston (markjdb AT gmail DOT com)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=224150
|
|
|
|
|
|
|
|
|
| |
instead of supplying number of bits.
Submitted by: bde
Notes:
svn path=/head/; revision=217808
|
|
|
|
|
|
|
|
|
|
|
| |
o Sector numbers are only 6 bits in the MBR;
o bde'cize name of the local variable.
Submitted by: bde
Notes:
svn path=/head/; revision=217771
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by the MBR for the given parameter and set that parameter to the
maximum value instead of just truncating the most significant part
silently.
Could happen for example if the capacity of the device is more
than 2TB, so that the number of sectors is greater than 2Mib.
MFC after: 1 month
Notes:
svn path=/head/; revision=217714
|
|
|
|
|
|
|
|
|
| |
Fix support for identifying the given /dev/vinum/root example.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=212724
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=212247
|
|
|
|
| |
Notes:
svn path=/head/; revision=194333
|
|
|
|
|
|
|
| |
Pointed out by: marcel
Notes:
svn path=/head/; revision=194244
|
|
|
|
|
|
|
| |
Suggested by: trhodes
Notes:
svn path=/head/; revision=192772
|
|
|
|
|
|
|
|
|
|
|
| |
so that it understands '*' as 'DTRT'.
PR: 68312
Submitted by: Rene de Vries - rene at tunix dot nl (mostly)
MFC after: 3 weeks
Notes:
svn path=/head/; revision=192745
|
|
|
|
|
|
|
|
|
| |
Add entries for DELL and ASUS recovery partitions.
MFC after: 3 days
Notes:
svn path=/head/; revision=187248
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
replace the table of partition with a simpler and faster array of strings.
The change in the array is done mechanically, using vi commands.
Most entries in the table are probably 15+ years old and largely outdated,
so the next step is to remove stale entries with more current values.
Submitted by: Christoph Mallon, with small changes from me
MFC after: 3 days
Notes:
svn path=/head/; revision=187246
|
|
|
|
|
|
|
|
|
|
|
| |
pass a pointer instead of an index to print_part()
so it does not depend on a static variable.
Submitted by: Christoph Mallon
MFC after: 3 days
Notes:
svn path=/head/; revision=187241
|
|
|
|
|
|
|
|
| |
Submitted by: Christoph Mallon
MFC after: 3 days
Notes:
svn path=/head/; revision=187239
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Remove a dead field of a struct. It serves no purpose anymore.
+ Remove a \n at the end of the format string of err(); the err()
function already adds a \n ;
+ remove many unnecessary casts which obfuscate the code.
This file has a huge number of indentation bugs, but I'd rather fix
them when/if we happen to modify the relevant parts of the code.
Submitted by: Christoph Mallon
MFC after: 3 days
Notes:
svn path=/head/; revision=187203
|
|
|
|
|
|
|
|
|
| |
- While there, make error messages consistent with the rest.
Approved by: kib (mentor)
Notes:
svn path=/head/; revision=183487
|
|
|
|
|
|
|
|
| |
PR: bin/127573
Submitted by: Eygene Ryabinkin
Notes:
svn path=/head/; revision=183296
|