<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libstand/bzipfs.c, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2017-10-12T14:56:28Z</updated>
<entry>
<title>Move lib/libstand to sys/boot/libsa</title>
<updated>2017-10-12T14:56:28Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-10-12T14:56:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4eb1313ff2ab43011d091b7560cd688c7838e142'/>
<id>urn:sha1:4eb1313ff2ab43011d091b7560cd688c7838e142</id>
<content type='text'>
Move the sources to sys/boot. Make adjustments related to the
move. Kill LIBSTAND_SRC since it's no longer needed.

Sponsored by: Netflix
</content>
</entry>
<entry>
<title>Don't bother to set target for SEEK_END.</title>
<updated>2017-06-29T06:28:54Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2017-06-29T06:28:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80bfc295ef61177de618172b557d44c8e7aa3eb5'/>
<id>urn:sha1:80bfc295ef61177de618172b557d44c8e7aa3eb5</id>
<content type='text'>
While there also collapase SEEK_END into default case in lseek.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove two pieces of code (one disabled in revision 39665 and another derived</title>
<updated>2010-03-18T00:27:17Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2010-03-18T00:27:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f379d0f7f51eb0e6abc276f416dd3f733a3883e5'/>
<id>urn:sha1:f379d0f7f51eb0e6abc276f416dd3f733a3883e5</id>
<content type='text'>
from the first one) that is not used for the last 12 years.
</content>
</entry>
<entry>
<title>fix a comment typo</title>
<updated>2010-01-18T19:10:14Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2010-01-18T19:10:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9e515b1d820e1524b9b8550eaed0f261ae30418b'/>
<id>urn:sha1:9e515b1d820e1524b9b8550eaed0f261ae30418b</id>
<content type='text'>
MFC after:	3 days
</content>
</entry>
<entry>
<title>Fix a bug in gzipfs that prevented lseek() from working and add lseek()</title>
<updated>2009-12-23T21:11:03Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-12-23T21:11:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=59ab6724a4cd3c73272bfbdcfe7e3495a221cfbf'/>
<id>urn:sha1:59ab6724a4cd3c73272bfbdcfe7e3495a221cfbf</id>
<content type='text'>
support to bzip2fs.  This fixes problems with loading compressed amd64
kernel modules containing debug symbols.

Submitted by:	David Naylor  naylor.b.david (gmail)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Fix logical bug in the bzip2 reading code, which results in bogus EIO</title>
<updated>2007-12-18T01:50:49Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2007-12-18T01:50:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=056c1a0528097d5ec8be9a9f072e7864cf638a06'/>
<id>urn:sha1:056c1a0528097d5ec8be9a9f072e7864cf638a06</id>
<content type='text'>
returned on a perfectly valid bzip2 stream whose decompressed size
is multiple of read-ahead buffer size. Reproduce the problem is easy:
create some power-of-two sized file (truncate -s 1m file will do),
bzip2 it and try to load it as md_image from loader. See how it fails.

The bug doesn't affect gzip code (which most of bzip2-reading code was
copied from) probably due to the fact that libgzip doesn't report
Z_STREAM_END with the last block, but requires extra call to inflate()
to retrieve it and has some extra data in the input stream at that time.
However, apply similar fix to gzipfs.c just in the case the API will
change in the future to do what bzip2 code does.

Add some ifdef'ed code to enable testing bzipfs.c from witin normal
FreeBSD environment as opposed to the restricted loader one, so that
one can use gdb and whatnot.

Sponsored by:	Sippy Software, Inc., http://www.sippysoft.com/
MFC in:		7 days
</content>
</entry>
<entry>
<title>Re-enable support for bzip2'ed compressed filesystems.</title>
<updated>2005-05-17T16:22:54Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2005-05-17T16:22:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d09dcfcfe94f0f8f4fa6739ee84a17ce0df0ab29'/>
<id>urn:sha1:d09dcfcfe94f0f8f4fa6739ee84a17ce0df0ab29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up error handling in libstand filesystem code to be more consistent:</title>
<updated>2004-01-21T20:12:23Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2004-01-21T20:12:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fb6b710c39b8bbefd730af2d2b8704bd646e0456'/>
<id>urn:sha1:fb6b710c39b8bbefd730af2d2b8704bd646e0456</id>
<content type='text'>
- bzipfs and gzipfs now properly return errno values directly from their
  read routines rather than returning -1.
- missing errno values on error returns for the seek routines on almost
  all filesystems were added.
- fstat() now returns -1 if an error occurs rather than ignoring it.
- nfs's readdir() routine now reports valid errno values if an error or
  EOF occurs rather than EPERM  (It was just returning 0 for success and
  1 for failure).
- nullfs used the wrong semantics for every function besides close() and
  seek().  Getting it right for close() appears to be an accident at that.
- read() for buffered files no longer returns 0 (EOF) if an error occurs,
  but returns -1 instead.
</content>
</entry>
<entry>
<title>Add splitfs vfs layer into libstand, which allows loading big kernels and</title>
<updated>2002-03-17T12:18:05Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2002-03-17T12:18:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fb74e5f595af8439633ef895dd19dfdd695b6d10'/>
<id>urn:sha1:fb74e5f595af8439633ef895dd19dfdd695b6d10</id>
<content type='text'>
modules split across several physical medias. Following is how it works:

The splitfs code, when asked to open "foo" looks for a file "foo.split"
which is a text file containing a list of filenames and media names, e.g.

	foo.aa "Kernel floppy 1"
	foo.ab "Kernel floppy 2"
	foo.ac "Kernel and modules floppy"

For each file segment, the process is:

- try to open the file
- prompt "Insert the disk labelled &lt;whatever&gt; and press any key..."
- try to open the file
- return error if file could not be located

RE team is free to use this feature in the upcoming 5.0-DP1.

Reviewed by:	msmith, dcs
</content>
</entry>
<entry>
<title>Complete bzip2-1.0.2 import.</title>
<updated>2002-02-01T16:33:40Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2002-02-01T16:33:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=de78df64c7181f7001c8ab3954360b0d485d0ff4'/>
<id>urn:sha1:de78df64c7181f7001c8ab3954360b0d485d0ff4</id>
<content type='text'>
MFC in:		14 days
</content>
</entry>
</feed>
