| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Approved by: cognet (mentor)
|
|
|
|
|
|
| |
o Correct for gpart's 1-based index, versus 0-based index used by
legacy slicers.
o Parse and understand the xs and xt parameters.
|
|
|
|
|
|
|
| |
the actual UUID) is prefixed by '!' to distinguish them from
well-known aliases.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
of disk names, where you must free each pointer, as well as the array
by hand. [1]
- Destaticize "disks" in Disk_Names, it has no reasons to be static.
PR: kern/96077 [1]
PR: kern/114110 [1]
MFC after: 1 month
Approved by: rwatson (mentor)
|
|
|
|
|
|
| |
comma looks like a period.
Noticed by: brueffer
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
Translate partitions of type "PART" to chunks of type "apple" on
PowerPC. This fixes sysinstall.
Approved by: re (kensmith)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
TARGET won't be defined on non subarches
Approved by: rwatson (mentor)
Reviewed by: jmg
|
|
|
|
|
|
|
| |
not sure why pmap.c is included as it is unchanged
Approved by: rwatson (mentor)
Reviewed by: jmg
|
| |
|
|
|
|
| |
at LBA 1, the size is not the mediasize in sectors, but one less.
|
|
|
|
|
|
| |
PR: bin/96326
Submitted by: Alex Kozlov
MFC after: 2 weeks
|
|
|
|
|
|
| |
into a .Bf/.Ef pair.
Submitted by: ru
|
|
|
|
| |
argument to get 'libdisk'. Also bump the date of the man page.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Hirokazu WATANABE
|
| |
|
| |
|
|
|
|
| |
defined in libdisk.h.
|
|
|
|
|
| |
PR: 75574
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version)
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
|
|
|
|
| |
Submitted by: Lawrence.Lee@sun.com
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
any fake value.
|
|
|
|
|
|
|
| |
classes than exiting.
Reviewed by: le
OK'ed by: phk
|
|
|
|
| |
MFC in: one week
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
dumping core.
|
|
|
|
|
|
|
|
| |
GCC doesn't warn about them without -pedantic.
Approved by: das (mentor)
PR: 56649
Reviewed by: md5
|
|
|
|
|
| |
submitted by: Suleiman Souhlal <refugee@segfaulted.com>
approved by: phk, jhb
|
| |
|
| |
|
|
|
|
| |
Glanced by: jhb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Use WARNS?= instead of WARNS=.
|
|
|
|
|
|
|
|
| |
caller without closing the disk device and freeing allocated
memory. Not closing the disk device prevents GEOM from retasting
after spoiling.
Pointy hat: marcel
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
crunched binary.
Found by: make release
|