| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Also, return chunk type efi in case we find an EFI partition in
the GPT. We used to return FAT due to a lack of EFI type.
|
|
|
|
|
| |
on ia64, because that's where we need to put the loader and the
kernel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Remove all code guarded by !defined(__ia64__). This file is
specifically written for ia64,
o Handle the case when read_block() or write_block() fails. We
don't want sysinstall(8) to signal a thumbs-up on error,
o Set the starting (cyl,hd,sect) triple to 0xFFFFFF when either
bios_hd or bios_sect is zero or the LBA us not representable
with the triple. In that case automaticly initialize the
ending triple with 0xFFFFFF as well,
o Reindent Write_Int32() as it was different than the rest of
the file,
o Remove some unused variables that appeared to be used but
were effectively useless.
o Plug a memory leak: The second timne we read the MBR, we write
out a modified block, but didn't free the memory after writing.
o Replace d1->sector_size with 512 when we read/write the MBR.
We ignore the sector size in cases we shouldn't but adhered to
it in cases it would be wrong if the sector_size wasn't 512.
This file should eventually be rewritten to write out a GPT. For
now, a MBR will do...
|
| |
|
|
|
|
| |
the buffer has zero length (n == 0).
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be static for 5.0. I may remove this for 5.1 or 5.2. No more
binaries or libarires will be generated with __sF starting as of
yesterday. Originally the plan had been to eliminate this for 5.0,
but we didn't get the __std{in,out,err}p changes merged into -stable
until yesterday (rather than in September 2001 like it should have
been). Given that didn't happen on time, we can't do the other part
of the scheme now.
# Please do not change this without talking to me first.
|
| |
|
| |
|
|
|
|
| |
4.4BSD extensions to the single-byte ctype functions.
|
| |
|
| |
|
|
|
|
| |
- Fix to convert to the name of partition.
|
|
|
|
|
|
|
| |
manipulating file ACLs. Update the status of the implementation a bit,
update the copyright, etc.
Obtained from: TrustedBSD Project
|
| |
|
|
|
|
| |
correct value in the next statement.
|
| |
|
|
|
|
| |
- Miscellaneous cleanups.
|
| |
|
|
|
|
| |
(merged i386 changes from chunk.c 1.41 and disk.c 1.100)
|
|
|
|
|
|
|
| |
to use the same start condition as the i386 version. However, since
Alpha's only have one fake "slice" from sysinstall's perspective we don't
need to use a loop, but can just write out the BSD label in the first
fake "slice".
|
|
|
|
|
| |
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs
|
|
|
|
|
|
|
| |
o Remove a (currently) no-longer-pertinent entry from errors.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs
|
|
|
|
|
| |
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
|
| |
with them in non-C cases.
Requested by: Patrick Hartling <patrick@137.org>
|
| |
|
|
|
|
|
|
|
| |
a partial-write is followed by an error.
PR: 43335
MFC after: 1 week
|
|
|
|
|
| |
implementation status of these services has changed substantially
since this man page was last updated.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
the page myself. The new language is more accurate than what was there
before, but the most accurate way of describing the funcionality eludes
me.
PR: kern/33904
MFC after: 1 month
|
|
|
|
| |
were missing.
|
|
|
|
| |
Requested by: Steve Kargl <sgk@troutmask.apl.washington.edu> (submitter)
|
| |
|
| |
|
|
|
|
|
|
|
| |
of heads end the number of sectors per track. If there's an obvious
insanity (heads and sectors are both zero or the media size is not
an integral multiple of heads times sector) we set the number of
cylinders to zero.
|
|
|
|
|
|
| |
if WANT_COMPAT4_STDIO is defined when compiling libc.
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
|
|
|
|
|
|
|
|
|
|
| |
1. When the parition type is not an integer, try to parse the type
as an UUID. If that succeeds, map the UUID to chunk_e.
2. For GPT partitions, pass the type constructed in point 1 above
to Add_Chunk.
While here, fix the MBREXT case by only checking if the first 3
characters are MBR. This avoids duplication.
|
|
|
|
|
| |
with GPT chunks of type "part" do not necessarily live under chunks
of type "freebsd". We don't necessarily have a disklabel.
|
|
|
|
| |
Spotted by: Frode Nordahl <frode@nordahl.net>
|
|
|
|
|
|
|
|
|
|
|
| |
the data value returned by kevent()'s EVFILT_READ filter on non-TCP
sockets accurately reflects the amount of data that can be read from the
sockets by applications.
PR: 30634
Reviewed by: -net, -arch
Sponsored by: NTT Multimedia Communications Labs
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fix typos in rwlock stubs.
* Add pthread_XXX counterparts to the _pthread_XXX stubs which libraries
like libX11 can use to ensure thread-safety without requiring the use
of a thread library.
Submitted by: Terry Lambert (pthread_cond_broadcast)
Reviewed by: deischen
|
|
|
|
| |
it defines.
|
|
|
|
|
|
|
|
| |
HUGE_VAL is not properly aligned on some architectures. The previous
fix now works because the two versions of 'math.h' (include/math.h
and lib/msun/src/math.h) have since been merged into one.
PR: bin/43544
|
|
|
|
|
|
|
| |
accidentally call a stub or application provided version of the
same routine.
Submitted by: dfr
|
| |
|
| |
|
| |
|
| |
|
| |
|