Craig Rodrigues
74ff69fe44
Switch to ANSI function prototypes in a few places.
...
Get rid of some unused parameter warnings.
2011-05-03 04:44:50 +00:00
Dag-Erling Smørgrav
a92fef8afc
Implement the full range of ISO9660 number conversion routines in iso.h.
...
MFC after: 2 weeks
2005-10-18 13:35:08 +00:00
John Baldwin
a577b96977
- Change the f_isdir field of struct file to be a flags field and two
...
new flags: F_ROOTDIR and F_RR (Rock Ridge present).
- Cache the SUSP LEN_SKP parameter in struct file as well.
- If we open() '/', then force a read of the directory's contents so we
can examine the directory record of '.' to see if Rock Ridge is present.
- If Rock Ridge extensions are present, lookup Rock Ridge names in
readdir().
2001-11-06 22:31:10 +00:00
John Baldwin
417dee22b4
- Add a simple SUSP parser.
...
- Use the SUSP parser to detect Rock Ridge (RRIP) extensions and to look
up alternate names when opening files.
2001-11-06 19:59:19 +00:00
John Baldwin
d917674e85
Switch to using ANSI function declarations and add missing function
...
prototypes. I'm tired of getting stupid bugs from changing function
parameters and not getting warnings from the compiler when I goof it up.
2001-11-06 17:13:05 +00:00
Matthew Dillon
e74b6a84ce
Add __FBSDID()s to libstand
2001-09-30 22:28:01 +00:00
Andrew Gallatin
c18092b2fb
Bail if we go beyond the directory size, not just if we hit it.
...
Certain ISO fs's (like the one for 4.4-RC1 disc1 on alpha)
trigger this, and we end up opening a null file name. This causes us to get
a false match for "kernel.ko" when it does not exist.
2001-08-23 17:08:26 +00:00
Andrew Gallatin
481184b805
fix cd9660 to work on files larger than ISO_DEFAULT_BLOCK_SIZE and unbreak
...
cdboot on alphas (which has been broken since just after 4.0-RELEASE)
submitted by: jlemon
2001-04-07 23:48:46 +00:00
Jonathan Lemon
efb8ff8532
Add a readdir function to the loader fsops vector, and implement the
...
functionality for some of the filesystesms.
2000-04-29 20:47:10 +00:00
David E. O'Brien
f8c1abb102
trailing white space removal.
2000-01-18 07:43:12 +00:00
David E. O'Brien
c35874acaa
Add two new functions cd9660_readfile() & cd9660_readdir(), which
...
cd9660_read() now uses to read CDROMs. With these changes FreeBSD/Alpha
can now boot from a bootable CDROM.
Submitted by: dfr
2000-01-18 07:37:10 +00:00
Mike Smith
4ce36a791b
Path arguments to *_open functions should be const, but we were mangling
...
them.
Submitted by: write-protected text segment in BTX
1998-09-18 22:58:01 +00:00
Mike Smith
6b4f575cb1
This is libstand; a support library for standalone executables (eg. bootstrap
...
modules).
Obtained from: NetBSD, with some architectural changes and many additions.
1998-08-20 08:19:55 +00:00