summaryrefslogtreecommitdiffstats
path: root/sys/isofs
Commit message (Collapse)AuthorAgeFilesLines
* Hide the kernel-only stuff inside #ifdef KERNEL.joerg1997-05-071-5/+14
| | | | | | XXX should be #ifdef _KERNEL XXX^2 the !KERNEL part should probably be moved out into a publically visible header file anyway.
* Oops. The function cd9660_mountroot() is gone, but i've committed anjoerg1997-05-041-3/+1
| | | | even more bogus prototype for it in my previous commit.
* This mega-commit brings the following:joerg1997-05-042-19/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . It makes cd9660 root f/s working again. . It makes CD9660 a new-style option. . It adds support to mount an ISO9660 multi-session CD-ROM as the root filesystem (the last session actually, but that's what is expected behaviour). Sigh. The CDIOREADTOCENTRYS did a copyout() of its own, and thus has been unusable for me for this work. Too bad it didn't simply stuff the max 100 entries into the struct ioc_read_toc_entry, but relied on a user supplied data buffer instead. :-( I now had to reinvent the wheel, and created a CDIOREADTOCENTRY ioctl command that can be used in a kernel context. While doing this, i noticed the following bogosities in existing CD-ROM drivers: wcd: This driver is likely to be totally bogus when someone tries two succeeding CDIOREADTOCENTRYS (or now CDIOREADTOCENTRY) commands with requesting MSF format, since it apparently operates on an internal table. scd: This driver apparently returns just a single TOC entry only for the CDIOREADTOCENTRYS command. I have only been able to test the CDIOREADTOCENTRY command with the cd(4) driver. I hereby request the respective maintainers of the other CD-ROM drivers to verify my code for their driver. When it comes to merging this CD-ROM multisession stuff into RELENG_2_2 i will only consider drivers where i've got a confirmation that it actually works.
* For multi-session CD-ROMs, we have to account for previous sessions asjoerg1997-04-291-1/+10
| | | | well in volume_space_size. Otherwise, NFS exports won't work.
* Add support for ISO9660 multi-session CD-ROMs. This is just nothingjoerg1997-04-292-2/+5
| | | | | | | | | | but searching the directory on something else than the default location. NB: this comprises an interface change to the mount_cd9660(8) utility (commit will follow). You need to rebuild both. I've got similar patches for RELENG_2_2, should i commit them too?
* Removed more traces of ISODEVMAP.bde1997-04-151-20/+1
|
* Remove all traces of undocumented feature ISODEVMAP.phk1997-04-144-128/+4
|
* Get the declaration of `struct dirent' from <sys/dirent.h>, not frombde1997-04-101-8/+4
| | | | | | <sys/dir.h>, and use the new macro GENERIC_DIRSIZ() instead of DIRSIZ(). Removed unused #includes.
* Removed unused or apparently-unused #includes, especially of thebde1997-04-101-14/+1
| | | | deprecated header <sys/dir.h>.
* Don't include <sys/ioctl.h> in the kernel. Stage 1: don't includebde1997-03-241-2/+1
| | | | | it when it is not used. In most cases, the reasons for including it went away when the special ioctl headers became self-sufficient.
* Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.bde1997-03-231-2/+2
| | | | | Fixed everything that depended on getting fcntl.h stuff from the wrong place. Most things don't depend on file.h stuff at all.
* Use the common nchstats struct instead of a private one for ncs_2passesbde1997-03-081-5/+3
| | | | | and ncs_pass2. The public one is already used for other cd9660 statistics and the private one was effectively invisible.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-2211-11/+11
| | | | ready for it yet.
* Killed more FIFO ifdefs. All gone now.bde1997-02-132-7/+0
|
* Removed bogus B_AGE policy again (see rev 1.4).bde1997-02-131-5/+0
| | | | | Removed FIFO ifdef again (see rev.1.8). This also fixes vfs initialization since the VNODEOP_SET() was inside the ifdef.
* Declare function args in order in recently K&Rised function headers.bde1997-02-121-3/+6
|
* Restored one line of "High Sierra" changes from rev.1.8.bde1997-02-111-1/+2
| | | | | The Lite2 changes in cd9660 are scarey. I probably missed some other lossage in this file.
* Restored one line of "High Sierra" changes from rev.1.6 which wasbde1997-02-111-1/+1
| | | | | | | blown away by the previous commit. Not restored: trailing whitespace changes from rev.1.7. Not restored: -Wall cleanup from rev.1.5.
* Removed High Sierra task from TODO list. Joerg did it years ago andbde1997-02-111-6/+0
| | | | | other items were removed from the list when they were done in the Lite2 merge. The Lite2 merge just broke the High Sierra changes.
* This is the kernel Lite/2 commit. There are some requisite userlanddyson1997-02-1011-1153/+1095
| | | | | | | | | | | | | | | changes, so don't expect to be able to run the kernel as-is (very well) without the appropriate Lite/2 userland changes. The system boots and can mount UFS filesystems. Untested: ext2fs, msdosfs, NFS Known problems: Incorrect Berkeley ID strings in some files. Mount_std mounts will not work until the getfsent library routine is changed. Reviewed by: various people Submitted by: Jeffery Hsu <hsu@freebsd.org>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1412-12/+12
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* This commit is the embodiment of some VFS read clustering improvements.dyson1996-12-291-2/+3
| | | | | | | | | | | | Firstly, now our read-ahead clustering is on a file descriptor basis and not on a per-vnode basis. This will allow multiple processes reading the same file to take advantage of read-ahead clustering. Secondly, there previously was a problem with large reads still using the ramp-up algorithm. Of course, that was bogus, and now we read the entire "chunk" off of the disk in one operation. The read-ahead clustering algorithm should use less CPU than the previous also (I hope :-)). NOTE: THAT LKMS MUST BE REBUILT!!!
* Fix signed/unsigned comparison warnings.alex1996-10-202-6/+6
| | | | Reviewed by: bde
* Whoops, I should've used the LINT config file. More ts -> tv changesnate1996-09-202-8/+8
| | | | for timespec structure.
* Moved the fsnode MALLOC to before the call to getnewvnode() so that thedg1996-06-121-4/+11
| | | | | | process won't possibly block before filling in the fsnode pointer (v_data) which might be dereferenced during a sync since the vnode is put on the mnt_vnodelist by getnewvnode.
* First pass at cleaning up macros relating to pages, clusters and all that.phk1996-05-021-2/+2
|
* Provide a better handling of partially corrupted directory entries.joerg1996-03-141-10/+12
| | | | Submitted by: bde
* This commit was generated by cvs2svn to compensate for changes in r14553,peter1996-03-112-11/+54
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, allpeter1996-03-1113-1019/+1107
| | | | | | | | | | | | | | | | | | files are off the vendor branch, so this should not change anything. A "U" marker generally means that the file was not changed in between the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally means that there was a change. [note, new file: cd9660_mount.h]
* | Added prototypes.bde1995-12-033-32/+79
| | | | | | | | | | | | | | | | | | cd9660_rrip.c: Added lots of bogus casts to hide type errors exposed by the prototypes. (Different structs are assumed to have a common prefix.) cd9660_vnops.c: Finished staticizing.
* | Completed function declarations and/or added prototypes.bde1995-11-211-2/+11
| |
* | Since FreeBSD clustering code now supports filesystems < PAGE_SIZE,dyson1995-11-201-2/+6
| | | | | | | | enable clustering for cd9660, thereby giving a BIG performance boost.
* | Get rid of hostnamelen variable.phk1995-11-141-3/+3
| |
* | Brought in the setattr call support from Lite-2 so that more correct errordg1995-11-121-3/+38
| | | | | | | | | | | | returns are provided. Obtained from: 4.4BSD-Lite2
* | Fix isoilk hang caused by not checking for read-onlyness in several places.dg1995-11-122-3/+19
| | | | | | | | | | | | The fix for this in Lite-2 is more complete, but these quick hacks of mine are safer for now. I plan to integrate the additional Lite-2 stuff at some later time. Should completely fix PR810.
* | Introduced a type `vop_t' for vnode operation functions and usedbde1995-11-093-136/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it 1138 times (:-() in casts and a few more times in declarations. This change is null for the i386. The type has to be `typedef int vop_t(void *)' and not `typedef int vop_t()' because `gcc -Wstrict-prototypes' warns about the latter. Since vnode op functions are called with args of different (struct pointer) types, neither of these function types is any use for type checking of the arg, so it would be preferable not to use the complete function type, especially since using the complete type requires adding 1138 casts to avoid compiler warnings and another 40+ casts to reverse the function pointer conversions before calling the functions.
* | Make a lot of stuff static.phk1995-10-314-66/+69
| |
* | Finalize GETPAGES layering scheme. Move the device GETPAGESdyson1995-10-231-1/+2
| | | | | | | | | | interface into specfs code. No need at this point to modify the PUTPAGES stuff except in the layered-type (NULL/UNION) filesystems.
* | Moved the filesystem read-only check out of the syscalls and into thedg1995-10-221-1/+4
| | | | | | | | | | | | | | | | filesystem layer, as was done in lite-2. Merged in some other cosmetic changes while I was at it. Rewrote most of msdosfs_access() to be more like ufs_access() and to include the FS read-only check. Obtained from: partially from 4.4BSD-lite2
* | Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block countdyson1995-09-042-3/+8
| | | | | | | | for VOP_BMAP. Updated affected filesystems...
* | Converted mountlist to a CIRCLEQ.dg1995-08-111-2/+2
| | | | | | | | Partially obtained from: 4.4BSD-Lite2
* | Add support for the va_filerev attribute required by NFSv3.dfr1995-08-021-1/+2
| |
* | Change `extern inline' to `static inline' so that several functionsbde1995-07-251-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | don't go away when the kernel is compiled with -O. The functions are backed up by extern versions in cd9660_util.c, but these versions are disabled by `#ifdef __notanymore__'. They could have been enabled by using `#if defined(__notanymore__) || !defined(__OPTIMIZE__)' but then I would have had to check that they still work. The correct way to handle all this is to replace `extern inline' by `EXTERN_INLINE' and define `EXTERN_INLINE' as `extern inline' in most modules and as empty in one module.
* | There is a small bug in the cd9660 code that prevents stating ofjoerg1995-07-161-1/+2
| | | | | | | | | | | | | | | | | | associated files. Submitted by: leo@dachau.marco.de (Matthias Pfaller) Not-obtained from: NetBSD. Instead sent directly to me by Matthias. (Sorry, this is to prevent people from claiming i might have gotten this from NetBSD. :)
* | Remove trailing whitespace.rgrimes1995-05-307-214/+214
| |
* | NFS diskless operation was broken because swapdev_vp wasn't initialized.dg1995-05-191-4/+4
| | | | | | | | | | | | | | These changes solve the problem in a general way by moving the initialization out of the individual fs_mountroot's and into swaponvp(). Submitted by: Poul-Henning Kamp
* | Readdir on a CDrom would return bogus "d_type" values, potentially confusingphk1995-03-281-1/+4
| | | | | | | | | | everybody (incl find(1) ?). Initialize it to DT_UNKNOWN. Maybe we can do better, but I don't have the time.
* | Add four more filesystem flags:wollman1995-03-161-2/+2
| | | | | | | | | | | | | | | | | | | | VFCF_NETWORK (this FS goes over the net) VFCF_READONLY (read-write mounts do not make any sense) VFCF_SYNTHETIC (data in this FS is not real) VFCF_LOOPBACK (this FS aliases something else) cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr; procfs, kernfs, and fdesc are synthetic.
* | Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-162-7/+5
| | | | | | | | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* | Obtained from: memories of 1.1.5bde1995-02-211-2/+2
| | | | | | | | Fix the sign of the timezone offset again.
OpenPOWER on IntegriCloud