| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
comma looks like a period.
Noticed by: brueffer
Notes:
svn path=/head/; revision=173881
|
| |
|
|
| |
Notes:
svn path=/head/; revision=173791
|
| |
|
|
| |
Notes:
svn path=/head/; revision=173738
|
| |
|
|
|
|
|
|
|
|
|
| |
as they would have been translated from partitions of type "GPT".
This fixes sysinstall, now that geom_part has taken over from
geom_gpt.
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=172286
|
| |
|
|
|
|
|
|
|
|
| |
Translate partitions of type "PART" to chunks of type "apple" on
PowerPC. This fixes sysinstall.
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=172285
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, any parse error will result in the calling program exiting with an
unpleasant message. This change will cause libdisk to issue a warning and
ignore lines it cannot parse instead of bluntly terminating the unfortunate
enough program.
This change will allow you to use sysinstall if you have a NTFS parition with
a space in the name (such as 'Win Xp'). In such a case, a line like the
following will appear in the kern.geom.conftxt output:
2 LABEL ntfs/Win Xp 209818635264 512 i 0 o 0
As the fields are space-separated, libdisk would go beserk and exit the program.
This would happen if using FreeBSD 7.0 snapshot images (as GEOM_LABEL is in
the installation kernel as well), thus making it impossible to install FreeBSD
without renaming your NTFS paritions.
Reported by: Dwight Berendse <dwight at berendse dot org>
Nod from: phk
Reviewed by: imp
Approved by: re (bmah), imp (mentor)
MFC after: 1 month
Notes:
svn path=/head/; revision=171734
|
| |
|
|
|
|
|
|
|
|
| |
TARGET won't be defined on non subarches
Approved by: rwatson (mentor)
Reviewed by: jmg
Notes:
svn path=/head/; revision=163149
|
| |
|
|
|
|
|
|
|
|
| |
not sure why pmap.c is included as it is unchanged
Approved by: rwatson (mentor)
Reviewed by: jmg
Notes:
svn path=/head/; revision=163148
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161547
|
| |
|
|
|
|
|
| |
at LBA 1, the size is not the mediasize in sectors, but one less.
Notes:
svn path=/head/; revision=161135
|
| |
|
|
|
|
|
|
|
| |
PR: bin/96326
Submitted by: Alex Kozlov
MFC after: 2 weeks
Notes:
svn path=/head/; revision=158033
|
| |
|
|
|
|
|
|
|
| |
into a .Bf/.Ef pair.
Submitted by: ru
Notes:
svn path=/head/; revision=155036
|
| |
|
|
|
|
|
| |
argument to get 'libdisk'. Also bump the date of the man page.
Notes:
svn path=/head/; revision=154917
|
| |
|
|
| |
Notes:
svn path=/head/; revision=154915
|
| |
|
|
| |
Notes:
svn path=/head/; revision=154814
|
| |
|
|
| |
Notes:
svn path=/head/; revision=154247
|
| |
|
|
| |
Notes:
svn path=/head/; revision=152758
|
| |
|
|
| |
Notes:
svn path=/head/; revision=145013
|
| |
|
|
|
|
|
| |
Submitted by: Hirokazu WATANABE
Notes:
svn path=/head/; revision=144334
|
| |
|
|
| |
Notes:
svn path=/head/; revision=143306
|
| |
|
|
| |
Notes:
svn path=/head/; revision=141846
|
| |
|
|
|
|
|
| |
defined in libdisk.h.
Notes:
svn path=/head/; revision=139720
|
| |
|
|
|
|
|
|
| |
PR: 75574
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version)
Notes:
svn path=/head/; revision=139389
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=139167
|
| |
|
|
|
|
|
|
|
|
|
| |
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
Notes:
svn path=/head/; revision=139106
|
| |
|
|
|
|
|
| |
Submitted by: Lawrence.Lee@sun.com
Notes:
svn path=/head/; revision=137512
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the GPT partition on i386 and adm64 as type=gpt, subtype=0 and with the
sname set to the UUID. This prevents sysinstall from bombing out. This
also makes sure the GPT partition shows up in sysinstall so as to avoid
accidental "clobberage".
PR: bin/72896
Notes:
svn path=/head/; revision=137092
|
| |
|
|
|
|
|
| |
any fake value.
Notes:
svn path=/head/; revision=136910
|
| |
|
|
|
|
|
|
|
|
| |
classes than exiting.
Reviewed by: le
OK'ed by: phk
Notes:
svn path=/head/; revision=135153
|
| |
|
|
|
|
|
| |
MFC in: one week
Notes:
svn path=/head/; revision=135145
|
| |
|
|
|
|
|
|
|
| |
the chunk will never be added to the list in that case. Use type mbr
for GPT nested MBRs and use type part for any partition we don't know
or care about. Since the subtype is 0, this should not cause confusion.
Notes:
svn path=/head/; revision=133179
|
| |
|
|
| |
Notes:
svn path=/head/; revision=133032
|
| |
|
|
| |
Notes:
svn path=/head/; revision=133028
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131504
|
| |
|
|
|
|
|
| |
dumping core.
Notes:
svn path=/head/; revision=130067
|
| |
|
|
|
|
|
|
|
|
|
| |
GCC doesn't warn about them without -pedantic.
Approved by: das (mentor)
PR: 56649
Reviewed by: md5
Notes:
svn path=/head/; revision=129302
|
| |
|
|
|
|
|
|
| |
submitted by: Suleiman Souhlal <refugee@segfaulted.com>
approved by: phk, jhb
Notes:
svn path=/head/; revision=128541
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127617
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127604
|
| |
|
|
|
|
|
| |
Glanced by: jhb
Notes:
svn path=/head/; revision=127595
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
addresses. For arch's with 64-bit longs, this is a nop, but for i386 this
allows sysinstall to properly handle disks and filesystems > 1 TB.
Changes from the original patch include:
- Use d_addr_t rather than inventing a blkcnt type based on int64_t.
- Use strtoimax() rather than strtoull() to parse d_addr_t's from config
files.
- Use intmax_t casts and %jd rather than %llu to printf d_addr_t values.
Tested on: i386
Tested by: kuriyama
Submitted by: julian
MFC after: 1 month
Notes:
svn path=/head/; revision=127081
|
| |
|
|
|
|
|
| |
Use WARNS?= instead of WARNS=.
Notes:
svn path=/head/; revision=126176
|
| |
|
|
|
|
|
|
|
|
|
| |
caller without closing the disk device and freeing allocated
memory. Not closing the disk device prevents GEOM from retasting
after spoiling.
Pointy hat: marcel
Notes:
svn path=/head/; revision=125253
|
| |
|
|
|
|
|
|
|
| |
return an error value that made Write_Disk() abort. While on the
subject, improve the initialization of the error variable in read_gpt()
and update_gpt() even though nothing was broken there.
Notes:
svn path=/head/; revision=125124
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125084
|
| |
|
|
|
|
|
|
|
| |
crunched binary.
Found by: make release
Notes:
svn path=/head/; revision=122839
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
on whether the parent chunk is of type whole. This also applies to
MBR slices for non-GPT disks. Since most of the GPT handling is
conditionally compiled, do the same with the partition naming.
This fixes a braino that caused slices to be named as GPT partitions
and generally messing up an install.
Pointy hat: marcel
Notes:
svn path=/head/; revision=122570
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
index referencing it. We need to know the original type and name
so that we know what to put in the table when we reconstruct it.
o Clear the table entries before we rebuild it to avoid that we
end up with stale data.
o Sequentially populate the table entries from the chunks. For the
chunks that have an index (now referencing the saved copy) we
use the saved type and name. This way we can handle unknown types
better. In all cases we update the start and end LBAs.
Notes:
svn path=/head/; revision=122025
|
| |
|
|
|
|
|
|
|
| |
filling in the GPT entry. Both are already in sector numbers (LBA)
and exactly what we need for the entry. We now write a structurally
correct GPT partitioning.
Notes:
svn path=/head/; revision=121931
|
| |
|
|
|
|
|
|
|
|
|
|
| |
part of the disk. The first appears to be a typo and instead of
dividing the media size with the sector size, we multiplied. The
second is an off-by-1 error that's the result of mixing up count
and index. The code in question is only applicable for virgin disks
and is used to create the "whole" chunk, which covers only the GPT
usable portion of the disk.
Notes:
svn path=/head/; revision=121930
|