diff options
106 files changed, 270 insertions, 266 deletions
diff --git a/sys/alpha/alpha/clock.c b/sys/alpha/alpha/clock.c index 825b91480448..42e1f11a8338 100644 --- a/sys/alpha/alpha/clock.c +++ b/sys/alpha/alpha/clock.c @@ -482,7 +482,7 @@ inittodr(base) struct timespec ts; if (base < 5*SECYR) { - printf("WARNING: preposterous time in file system"); + printf("WARNING: preposterous time in filesystem"); /* read the system clock anyway */ base = 6*SECYR + 186*SECDAY + SECDAY/2; badbase = 1; @@ -509,7 +509,7 @@ inittodr(base) if (ct.year < 70 || ct.mon < 1 || ct.mon > 12 || ct.day < 1 || ct.day > 31 || ct.hour > 23 || ct.min > 59 || ct.sec > 59) { /* - * Believe the time in the file system for lack of + * Believe the time in the filesystem for lack of * anything better, resetting the TODR. */ s = splclock(); diff --git a/sys/boot/alpha/boot1/sys.c b/sys/boot/alpha/boot1/sys.c index 7b3a6f8643ae..f86df2a07bbe 100644 --- a/sys/boot/alpha/boot1/sys.c +++ b/sys/boot/alpha/boot1/sys.c @@ -186,7 +186,7 @@ block_map(int file_block) #define max(a, b) ((a) > (b) ? (a) : (b)) /* - * Sanity checks for old file systems. + * Sanity checks for old filesystems. * * XXX - goes away some day. */ diff --git a/sys/boot/efi/include/efiprot.h b/sys/boot/efi/include/efiprot.h index bd9729ec6f1a..ddbcefd17998 100644 --- a/sys/boot/efi/include/efiprot.h +++ b/sys/boot/efi/include/efiprot.h @@ -144,7 +144,7 @@ typedef struct _EFI_DISK_IO { // -// Simple file system protocol +// Simple filesystem protocol // #define SIMPLE_FILE_SYSTEM_PROTOCOL \ diff --git a/sys/boot/ficl/alpha/sysdep.h b/sys/boot/ficl/alpha/sysdep.h index a53d9c9acdaa..c8f892ed2909 100644 --- a/sys/boot/ficl/alpha/sysdep.h +++ b/sys/boot/ficl/alpha/sysdep.h @@ -183,7 +183,7 @@ typedef struct /* ** FICL_WANT_FILE ** Includes the FILE and FILE-EXT wordset and associated code. Turn this off if you do not -** have a file system! +** have a filesystem! ** Contributed by Larry Hastings */ #if !defined (FICL_WANT_FILE) diff --git a/sys/boot/ficl/i386/sysdep.h b/sys/boot/ficl/i386/sysdep.h index b3f896edb377..e1900e2a4659 100644 --- a/sys/boot/ficl/i386/sysdep.h +++ b/sys/boot/ficl/i386/sysdep.h @@ -183,7 +183,7 @@ typedef struct /* ** FICL_WANT_FILE ** Includes the FILE and FILE-EXT wordset and associated code. Turn this off if you do not -** have a file system! +** have a filesystem! ** Contributed by Larry Hastings */ #if !defined (FICL_WANT_FILE) diff --git a/sys/boot/ficl/ia64/sysdep.h b/sys/boot/ficl/ia64/sysdep.h index d0e5a2f2305b..08bc0e1f4d0b 100644 --- a/sys/boot/ficl/ia64/sysdep.h +++ b/sys/boot/ficl/ia64/sysdep.h @@ -185,7 +185,7 @@ typedef struct /* ** FICL_WANT_FILE ** Includes the FILE and FILE-EXT wordset and associated code. Turn this off if you do not -** have a file system! +** have a filesystem! ** Contributed by Larry Hastings */ #if !defined (FICL_WANT_FILE) diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index 054563dcec3d..c07f1386f6cc 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -396,10 +396,10 @@ main(int (*openfirm)(void *)) bootdev.d_dev = &ofwdisk; /* * Sun compatible bootable CD-ROMs have a disk label placed - * before the cd9660 data, with the actual file system being + * before the cd9660 data, with the actual filesystem being * in the first partition, while the other partitions contain * pseudo disk labels with embedded boot blocks for different - * architectures, which may be followed by UFS file systems. + * architectures, which may be followed by UFS filesystems. * The firmware will set the boot path to the partition it * boots from ('f' in the sun4u case), but we want the kernel * to be loaded from the cd9660 fs ('a'), so the boot path diff --git a/sys/coda/README b/sys/coda/README index f9bf3c35cdc6..19de799c0eac 100644 --- a/sys/coda/README +++ b/sys/coda/README @@ -1,12 +1,14 @@ +$FreeBSD$ + Announcing the Availability of the Coda Distributed Filesystem for BSD Unix Systems - Coda is a distributed file system like NFS and AFS. It is + Coda is a distributed filesystem like NFS and AFS. It is freely available, like NFS. But it functions much like AFS in being a -"stateful" file system. Coda and AFS cache files on your local +"stateful" filesystem. Coda and AFS cache files on your local machine to improve performance. But Coda goes a step further than AFS by letting you access the cached files when there is no available network, viz. disconnected laptops and network outages. In Coda, both @@ -25,12 +27,12 @@ progress and does have bugs. It is, though, very usable. Our interest is in making Coda available to as many people as possible and to have Coda evolve and flourish. -The bulk of the Coda file system code supports the Coda client +The bulk of the Coda filesystem code supports the Coda client program, the Coda server program and the utilities needed by both. All these programs are unix programs and can run equally well on any Unix platform. Our main development thrust is improving these programs. There is a small part of Coda that deals with the kernel to -file system interface. This code is OS specific (but should not be +filesystem interface. This code is OS specific (but should not be platform specific). Coda is currently available for several OS's and platforms: diff --git a/sys/coda/cnode.h b/sys/coda/cnode.h index c1f839192273..962d329580e4 100644 --- a/sys/coda/cnode.h +++ b/sys/coda/cnode.h @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon University. + * This code was written for the Coda filesystem at Carnegie Mellon University. * Contributers include David Steere, James Kistler, and M. Satyanarayanan. */ @@ -147,7 +147,7 @@ struct coda_clstat { extern struct coda_clstat coda_clstat; /* - * CODA structure to hold mount/file system information + * CODA structure to hold mount/filesystem information */ struct coda_mntinfo { struct vnode *mi_rootvp; diff --git a/sys/coda/coda_io.h b/sys/coda/coda_io.h index 6620f4f0c32e..4daede1e4c13 100644 --- a/sys/coda/coda_io.h +++ b/sys/coda/coda_io.h @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon University. + * This code was written for the Coda filesystem at Carnegie Mellon University. * Contributers include David Steere, James Kistler, and M. Satyanarayanan. */ diff --git a/sys/coda/coda_namecache.c b/sys/coda/coda_namecache.c index 29da91aac60b..97e5b2eccfe4 100644 --- a/sys/coda/coda_namecache.c +++ b/sys/coda/coda_namecache.c @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon University. + * This code was written for the Coda filesystem at Carnegie Mellon University. * Contributers include David Steere, James Kistler, and M. Satyanarayanan. */ diff --git a/sys/coda/coda_namecache.h b/sys/coda/coda_namecache.h index 11f2e80b12b2..2211adfa43d7 100644 --- a/sys/coda/coda_namecache.h +++ b/sys/coda/coda_namecache.h @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon University. + * This code was written for the Coda filesystem at Carnegie Mellon University. * Contributers include David Steere, James Kistler, and M. Satyanarayanan. */ diff --git a/sys/coda/coda_pioctl.h b/sys/coda/coda_pioctl.h index 2c2577ce57ee..a76c653e9f7b 100644 --- a/sys/coda/coda_pioctl.h +++ b/sys/coda/coda_pioctl.h @@ -41,7 +41,7 @@ */ /* - * ITC Remote file system - vice ioctl interface module + * ITC Remote filesystem - vice ioctl interface module */ /* diff --git a/sys/coda/coda_psdev.c b/sys/coda/coda_psdev.c index 8ed4f2299e48..392012ba3dd5 100644 --- a/sys/coda/coda_psdev.c +++ b/sys/coda/coda_psdev.c @@ -39,7 +39,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ diff --git a/sys/coda/coda_subr.c b/sys/coda/coda_subr.c index 7a3b3e038619..571f9caec0cb 100644 --- a/sys/coda/coda_subr.c +++ b/sys/coda/coda_subr.c @@ -39,7 +39,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c index e868651de716..33597d6fc792 100644 --- a/sys/coda/coda_vfsops.c +++ b/sys/coda/coda_vfsops.c @@ -39,7 +39,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ @@ -371,7 +371,7 @@ coda_root(vfsp, vpp) } /* - * Get file system statistics. + * Get filesystem statistics. */ int coda_nb_statfs(vfsp, sbp, td) diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c index 3cb9d26f8b47..719aed955082 100644 --- a/sys/coda/coda_vnops.c +++ b/sys/coda/coda_vnops.c @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ @@ -950,7 +950,7 @@ coda_inactive(v) } /* - * Remote file system operations having to do with directory manipulation. + * Remote filesystem operations having to do with directory manipulation. */ /* @@ -1681,7 +1681,7 @@ printf("coda_readdir: Internally Opening %p\n", vp); } /* - * Convert from file system blocks to device blocks + * Convert from filesystem blocks to device blocks */ int coda_bmap(v) diff --git a/sys/coda/coda_vnops.h b/sys/coda/coda_vnops.h index 29f17cfa867f..2645ba4897f5 100644 --- a/sys/coda/coda_vnops.h +++ b/sys/coda/coda_vnops.h @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 06f4ed34a7ec..b87d15f51205 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -596,7 +596,7 @@ options NFS_ROOT #NFS usable as root device # You can find details in src/sys/ufs/ifs/README . options IFS -# Soft updates is a technique for improving file system speed and +# Soft updates is a technique for improving filesystem speed and # making abrupt shutdown less risky. # options SOFTUPDATES diff --git a/sys/conf/files b/sys/conf/files index d38d49d5fcce..976468f7d227 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -730,7 +730,7 @@ geom/geom_slice.c optional geom geom/geom_subr.c optional geom geom/geom_sunlabel.c optional geom gnu/ext2fs/ext2_alloc.c optional ext2fs \ - warning "kernel contains GPL contaminated ext2fs file system" + warning "kernel contains GPL contaminated ext2fs filesystem" gnu/ext2fs/ext2_balloc.c optional ext2fs gnu/ext2fs/ext2_bmap.c optional ext2fs gnu/ext2fs/ext2_ihash.c optional ext2fs diff --git a/sys/conf/options b/sys/conf/options index 29984680593b..3de242315f54 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -111,7 +111,7 @@ CAPABILITIES opt_cap.h # Do we want the config file compiled into the kernel? INCLUDE_CONFIG_FILE opt_config.h -# Options for static file systems. These should only be used at config +# Options for static filesystems. These should only be used at config # time, since the corresponding lkms cannot work if there are any static # dependencies. Unusability is enforced by hiding the defines for the # options in a never-included header. @@ -155,8 +155,8 @@ SOFTUPDATES opt_ffs.h UFS_ACL opt_ufs.h # Enabling this option turns on support for extended attributes in UFS-based -# file systems, which can be used to support high security configurations -# as well as new file system features. +# filesystems, which can be used to support high security configurations +# as well as new filesystem features. UFS_EXTATTR opt_ufs.h UFS_EXTATTR_AUTOSTART opt_ufs.h diff --git a/sys/conf/options.alpha b/sys/conf/options.alpha index 69745f314f05..99aacf58a491 100644 --- a/sys/conf/options.alpha +++ b/sys/conf/options.alpha @@ -81,7 +81,7 @@ CLK_USE_I8254_CALIBRATION opt_clock.h TIMER_FREQ opt_clock.h # Options for emulators. These should only be used at config time, so -# they are handled like options for static file systems +# they are handled like options for static filesystems # (see src/sys/conf/options). COMPAT_LINUX opt_dontuse.h COMPAT_OSF1 opt_dontuse.h diff --git a/sys/conf/options.i386 b/sys/conf/options.i386 index b505dbd5a442..42f07d2397bf 100644 --- a/sys/conf/options.i386 +++ b/sys/conf/options.i386 @@ -23,7 +23,7 @@ BROKEN_KEYBOARD_RESET opt_reset.h KSTACK_PAGES # Options for emulators. These should only be used at config time, so -# they are handled like options for static file systems +# they are handled like options for static filesystems # (see src/sys/conf/options), except for broken debugging options. IBCS2 opt_dontuse.h COMPAT_LINUX opt_dontuse.h diff --git a/sys/conf/options.pc98 b/sys/conf/options.pc98 index 6cf1db26dfb5..3ee08803e21a 100644 --- a/sys/conf/options.pc98 +++ b/sys/conf/options.pc98 @@ -23,7 +23,7 @@ BROKEN_KEYBOARD_RESET opt_reset.h KSTACK_PAGES # Options for emulators. These should only be used at config time, so -# they are handled like options for static file systems +# they are handled like options for static filesystems # (see src/sys/conf/options), except for broken debugging options. IBCS2 opt_dontuse.h COMPAT_LINUX opt_dontuse.h diff --git a/sys/dev/aac/aacreg.h b/sys/dev/aac/aacreg.h index c360ba2b6e41..17c85b81c72b 100644 --- a/sys/dev/aac/aacreg.h +++ b/sys/dev/aac/aacreg.h @@ -679,7 +679,7 @@ struct aac_AifContainers { union aac_AifJobClient { struct aac_AifContainers container; /* For Container and - * file system progress + * filesystem progress * ops; */ int32_t scsi_dh; /* For SCSI progress * ops */ diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c index bcf2908b502e..0800b6db372c 100644 --- a/sys/dev/vinum/vinumio.c +++ b/sys/dev/vinum/vinumio.c @@ -63,7 +63,7 @@ open_drive(struct drive *drive, struct thread *td, int verbose) /* * Yes, Bruce, I know this is horrible, but we - * don't have a root file system when we first + * don't have a root filesystem when we first * try to do this. If you can come up with a * better solution, I'd really like it. I'm * just putting it in now to add ammuntion to diff --git a/sys/dev/vinum/vinumobj.h b/sys/dev/vinum/vinumobj.h index 8a7868fd9fb2..9ee5e1ec7ee2 100644 --- a/sys/dev/vinum/vinumobj.h +++ b/sys/dev/vinum/vinumobj.h @@ -66,7 +66,7 @@ enum objflags { VF_WLABEL = 0x20, /* label area is writable */ VF_LABELLING = 0x40, /* unit is currently being labelled */ VF_WANTED = 0x80, /* someone is waiting to obtain a lock */ - VF_RAW = 0x100, /* raw volume (no file system) */ + VF_RAW = 0x100, /* raw volume (no filesystem) */ VF_LOADED = 0x200, /* module is loaded */ VF_CONFIGURING = 0x400, /* somebody is changing the config */ VF_WILL_CONFIGURE = 0x800, /* somebody wants to change the config */ diff --git a/sys/dev/vinum/vinumrequest.c b/sys/dev/vinum/vinumrequest.c index 9dde28c1af07..ba4a27334427 100644 --- a/sys/dev/vinum/vinumrequest.c +++ b/sys/dev/vinum/vinumrequest.c @@ -833,8 +833,8 @@ build_rq_buffer(struct rqelement *rqe, struct plex *plex) bp->b_bcount = rqe->buflen << DEV_BSHIFT; /* number of bytes to transfer */ bp->b_resid = bp->b_bcount; /* and it's still all waiting */ bp->b_bufsize = bp->b_bcount; /* and buffer size */ - bp->b_rcred = FSCRED; /* we have the file system credentials */ - bp->b_wcred = FSCRED; /* we have the file system credentials */ + bp->b_rcred = FSCRED; /* we have the filesystem credentials */ + bp->b_wcred = FSCRED; /* we have the filesystem credentials */ if (rqe->flags & XFR_MALLOCED) { /* this operation requires a malloced buffer */ bp->b_data = Malloc(bp->b_bcount); /* get a buffer to put it in */ diff --git a/sys/fs/cd9660/cd9660_lookup.c b/sys/fs/cd9660/cd9660_lookup.c index da927e106ad6..5c7805e64ab8 100644 --- a/sys/fs/cd9660/cd9660_lookup.c +++ b/sys/fs/cd9660/cd9660_lookup.c @@ -56,7 +56,7 @@ /* * Convert a component of a pathname into a pointer to a locked inode. * This is a very central and rather complicated routine. - * If the file system is not maintained in a strict tree hierarchy, + * If the filesystem is not maintained in a strict tree hierarchy, * this can result in a deadlock situation (see comments in code below). * * The flag argument is LOOKUP, CREATE, RENAME, or DELETE depending on @@ -95,7 +95,7 @@ cd9660_lookup(ap) { register struct vnode *vdp; /* vnode for directory being searched */ register struct iso_node *dp; /* inode for directory being searched */ - register struct iso_mnt *imp; /* file system that directory is in */ + register struct iso_mnt *imp; /* filesystem that directory is in */ struct buf *bp; /* a buffer of directory entries */ struct iso_directory_record *ep = 0;/* the current directory entry */ int entryoffsetinblock; /* offset of ep in bp's buffer */ @@ -342,7 +342,7 @@ found: * infrequently since we cannot avoid this race condition without * implementing a sophisticated deadlock detection algorithm. * Note also that this simple deadlock detection scheme will not - * work if the file system has any hard links other than ".." + * work if the filesystem has any hard links other than ".." * that point backwards in the directory structure. */ pdp = vdp; diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index 70ecb010a4a8..53715e7d6da3 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -587,7 +587,7 @@ cd9660_root(mp, vpp) } /* - * Get file system statistics. + * Get filesystem statistics. */ int cd9660_statfs(mp, sbp, td) diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index 52909b141b32..7dcf1a94a1d4 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -137,7 +137,7 @@ cd9660_access(ap) /* * Disallow write attempts unless the file is a socket, * fifo, or a block or character device resident on the - * file system. + * filesystem. */ if (mode & VWRITE) { switch (vp->v_type) { diff --git a/sys/fs/coda/README b/sys/fs/coda/README index f9bf3c35cdc6..19de799c0eac 100644 --- a/sys/fs/coda/README +++ b/sys/fs/coda/README @@ -1,12 +1,14 @@ +$FreeBSD$ + Announcing the Availability of the Coda Distributed Filesystem for BSD Unix Systems - Coda is a distributed file system like NFS and AFS. It is + Coda is a distributed filesystem like NFS and AFS. It is freely available, like NFS. But it functions much like AFS in being a -"stateful" file system. Coda and AFS cache files on your local +"stateful" filesystem. Coda and AFS cache files on your local machine to improve performance. But Coda goes a step further than AFS by letting you access the cached files when there is no available network, viz. disconnected laptops and network outages. In Coda, both @@ -25,12 +27,12 @@ progress and does have bugs. It is, though, very usable. Our interest is in making Coda available to as many people as possible and to have Coda evolve and flourish. -The bulk of the Coda file system code supports the Coda client +The bulk of the Coda filesystem code supports the Coda client program, the Coda server program and the utilities needed by both. All these programs are unix programs and can run equally well on any Unix platform. Our main development thrust is improving these programs. There is a small part of Coda that deals with the kernel to -file system interface. This code is OS specific (but should not be +filesystem interface. This code is OS specific (but should not be platform specific). Coda is currently available for several OS's and platforms: diff --git a/sys/fs/coda/cnode.h b/sys/fs/coda/cnode.h index c1f839192273..962d329580e4 100644 --- a/sys/fs/coda/cnode.h +++ b/sys/fs/coda/cnode.h @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon University. + * This code was written for the Coda filesystem at Carnegie Mellon University. * Contributers include David Steere, James Kistler, and M. Satyanarayanan. */ @@ -147,7 +147,7 @@ struct coda_clstat { extern struct coda_clstat coda_clstat; /* - * CODA structure to hold mount/file system information + * CODA structure to hold mount/filesystem information */ struct coda_mntinfo { struct vnode *mi_rootvp; diff --git a/sys/fs/coda/coda_io.h b/sys/fs/coda/coda_io.h index 6620f4f0c32e..4daede1e4c13 100644 --- a/sys/fs/coda/coda_io.h +++ b/sys/fs/coda/coda_io.h @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon University. + * This code was written for the Coda filesystem at Carnegie Mellon University. * Contributers include David Steere, James Kistler, and M. Satyanarayanan. */ diff --git a/sys/fs/coda/coda_namecache.c b/sys/fs/coda/coda_namecache.c index 29da91aac60b..97e5b2eccfe4 100644 --- a/sys/fs/coda/coda_namecache.c +++ b/sys/fs/coda/coda_namecache.c @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon University. + * This code was written for the Coda filesystem at Carnegie Mellon University. * Contributers include David Steere, James Kistler, and M. Satyanarayanan. */ diff --git a/sys/fs/coda/coda_namecache.h b/sys/fs/coda/coda_namecache.h index 11f2e80b12b2..2211adfa43d7 100644 --- a/sys/fs/coda/coda_namecache.h +++ b/sys/fs/coda/coda_namecache.h @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon University. + * This code was written for the Coda filesystem at Carnegie Mellon University. * Contributers include David Steere, James Kistler, and M. Satyanarayanan. */ diff --git a/sys/fs/coda/coda_pioctl.h b/sys/fs/coda/coda_pioctl.h index 2c2577ce57ee..a76c653e9f7b 100644 --- a/sys/fs/coda/coda_pioctl.h +++ b/sys/fs/coda/coda_pioctl.h @@ -41,7 +41,7 @@ */ /* - * ITC Remote file system - vice ioctl interface module + * ITC Remote filesystem - vice ioctl interface module */ /* diff --git a/sys/fs/coda/coda_psdev.c b/sys/fs/coda/coda_psdev.c index 8ed4f2299e48..392012ba3dd5 100644 --- a/sys/fs/coda/coda_psdev.c +++ b/sys/fs/coda/coda_psdev.c @@ -39,7 +39,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ diff --git a/sys/fs/coda/coda_subr.c b/sys/fs/coda/coda_subr.c index 7a3b3e038619..571f9caec0cb 100644 --- a/sys/fs/coda/coda_subr.c +++ b/sys/fs/coda/coda_subr.c @@ -39,7 +39,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c index e868651de716..33597d6fc792 100644 --- a/sys/fs/coda/coda_vfsops.c +++ b/sys/fs/coda/coda_vfsops.c @@ -39,7 +39,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ @@ -371,7 +371,7 @@ coda_root(vfsp, vpp) } /* - * Get file system statistics. + * Get filesystem statistics. */ int coda_nb_statfs(vfsp, sbp, td) diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c index 3cb9d26f8b47..719aed955082 100644 --- a/sys/fs/coda/coda_vnops.c +++ b/sys/fs/coda/coda_vnops.c @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ @@ -950,7 +950,7 @@ coda_inactive(v) } /* - * Remote file system operations having to do with directory manipulation. + * Remote filesystem operations having to do with directory manipulation. */ /* @@ -1681,7 +1681,7 @@ printf("coda_readdir: Internally Opening %p\n", vp); } /* - * Convert from file system blocks to device blocks + * Convert from filesystem blocks to device blocks */ int coda_bmap(v) diff --git a/sys/fs/coda/coda_vnops.h b/sys/fs/coda/coda_vnops.h index 29f17cfa867f..2645ba4897f5 100644 --- a/sys/fs/coda/coda_vnops.h +++ b/sys/fs/coda/coda_vnops.h @@ -40,7 +40,7 @@ */ /* - * This code was written for the Coda file system at Carnegie Mellon + * This code was written for the Coda filesystem at Carnegie Mellon * University. Contributers include David Steere, James Kistler, and * M. Satyanarayanan. */ diff --git a/sys/fs/hpfs/hpfs_vfsops.c b/sys/fs/hpfs/hpfs_vfsops.c index 7550842bb5e0..f5340d4ddb3b 100644 --- a/sys/fs/hpfs/hpfs_vfsops.c +++ b/sys/fs/hpfs/hpfs_vfsops.c @@ -104,7 +104,7 @@ hpfs_mount ( dprintf(("hpfs_mount():\n")); /* *** - * Mounting non-root file system or updating a file system + * Mounting non-root filesystem or updating a filesystem *** */ diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 748e61523ab6..827b297d02a7 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -726,9 +726,9 @@ hpfs_access(ap) dprintf(("hpfs_access(0x%x):\n", hp->h_no)); /* - * Disallow write attempts on read-only file systems; + * Disallow write attempts on read-only filesystems; * unless the file is a socket, fifo, or a block or - * character device resident on the file system. + * character device resident on the filesystem. */ if (mode & VWRITE) { switch ((int)vp->v_type) { diff --git a/sys/fs/msdosfs/msdosfs_fat.c b/sys/fs/msdosfs/msdosfs_fat.c index e4c0bb84d353..c1b8a9df0816 100644 --- a/sys/fs/msdosfs/msdosfs_fat.c +++ b/sys/fs/msdosfs/msdosfs_fat.c @@ -128,9 +128,9 @@ fatblock(pmp, ofs, bnp, sizep, bop) * dep - address of denode representing the file of interest * findcn - file relative cluster whose filesystem relative cluster number * and/or block number are/is to be found - * bnp - address of where to place the file system relative block number. + * bnp - address of where to place the filesystem relative block number. * If this pointer is null then don't return this quantity. - * cnp - address of where to place the file system relative cluster number. + * cnp - address of where to place the filesystem relative cluster number. * If this pointer is null then don't return this quantity. * * NOTE: Either bnp or cnp must be non-null. diff --git a/sys/fs/msdosfs/msdosfs_lookup.c b/sys/fs/msdosfs/msdosfs_lookup.c index 3f0bb76d5216..79b0589e506e 100644 --- a/sys/fs/msdosfs/msdosfs_lookup.c +++ b/sys/fs/msdosfs/msdosfs_lookup.c @@ -511,7 +511,7 @@ foundroot: * infrequently since we cannot avoid this race condition without * implementing a sophisticated deadlock detection algorithm. * Note also that this simple deadlock detection scheme will not - * work if the file system has any hard links other than ".." + * work if the filesystem has any hard links other than ".." * that point backwards in the directory structure. */ pdp = vdp; diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index 1f35f5358903..0a5cc480de44 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -246,9 +246,9 @@ msdosfs_access(ap) file_mode &= pmp->pm_mask; /* - * Disallow write attempts on read-only file systems; + * Disallow write attempts on read-only filesystems; * unless the file is a socket, fifo, or a block or - * character device resident on the file system. + * character device resident on the filesystem. */ if (mode & VWRITE) { switch (vp->v_type) { @@ -388,7 +388,7 @@ msdosfs_setattr(ap) * users to attempt to set SF_SETTABLE bits or anyone to * set unsupported bits. However, we ignore attempts to * set ATTR_ARCHIVE for directories `cp -pr' from a more - * sensible file system attempts it a lot. + * sensible filesystem attempts it a lot. */ if (suser_cred(cred, PRISON_ROOT)) { if (vap->va_flags & SF_SETTABLE) @@ -425,9 +425,9 @@ msdosfs_setattr(ap) if (vap->va_size != VNOVAL) { /* - * Disallow write attempts on read-only file systems; + * Disallow write attempts on read-only filesystems; * unless the file is a socket, fifo, or a block or - * character device resident on the file system. + * character device resident on the filesystem. */ switch (vp->v_type) { case VDIR: diff --git a/sys/fs/msdosfs/msdosfsmount.h b/sys/fs/msdosfs/msdosfsmount.h index 8099deeb4d17..a3bb34ff9c20 100644 --- a/sys/fs/msdosfs/msdosfsmount.h +++ b/sys/fs/msdosfs/msdosfsmount.h @@ -58,7 +58,7 @@ MALLOC_DECLARE(M_MSDOSFSMNT); #endif /* - * Layout of the mount control block for a msdos file system. + * Layout of the mount control block for a msdos filesystem. */ struct msdosfsmount { struct mount *pm_mountp;/* vfs mount struct for this fs */ diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c index 5eaa02fe845e..82e11584040b 100644 --- a/sys/fs/ntfs/ntfs_vfsops.c +++ b/sys/fs/ntfs/ntfs_vfsops.c @@ -114,7 +114,7 @@ ntfs_mount ( if( path == NULL) { /* *** - * Mounting root file system + * Mounting root filesystem *** */ @@ -141,7 +141,7 @@ ntfs_mount ( /* *** - * Mounting non-root file system or updating a file system + * Mounting non-root filesystem or updating a filesystem *** */ diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index f9e09e85b054..52e24c693cec 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -370,9 +370,9 @@ ntfs_access(ap) dprintf(("ntfs_access: %d\n",ip->i_number)); /* - * Disallow write attempts on read-only file systems; + * Disallow write attempts on read-only filesystems; * unless the file is a socket, fifo, or a block or - * character device resident on the file system. + * character device resident on the filesystem. */ if (mode & VWRITE) { switch ((int)vp->v_type) { diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index ad62bf940c2b..f22e8704eb85 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -48,19 +48,19 @@ * * (See mount_nullfs(8) for more information.) * - * The null layer duplicates a portion of the file system + * The null layer duplicates a portion of the filesystem * name space under a new name. In this respect, it is - * similar to the loopback file system. It differs from + * similar to the loopback filesystem. It differs from * the loopback fs in two respects: it is implemented using * a stackable layers techniques, and its "null-node"s stack above * all lower-layer vnodes, not just over directory vnodes. * * The null layer has two purposes. First, it serves as a demonstration * of layering by proving a layer which does nothing. (It actually - * does everything the loopback file system does, which is slightly + * does everything the loopback filesystem does, which is slightly * more than nothing.) Second, the null layer can serve as a prototype * layer. Since it provides all necessary layer framework, - * new file system layers can be created very easily be starting + * new filesystem layers can be created very easily be starting * with a null layer. * * The remainder of this man page examines the null layer as a basis @@ -79,7 +79,7 @@ * * OPERATION OF A NULL LAYER * - * The null layer is the minimum file system layer, + * The null layer is the minimum filesystem layer, * simply bypassing all possible operations to the lower layer * for processing there. The majority of its activity centers * on the bypass routine, through which nearly all vnode operations @@ -141,7 +141,7 @@ * * CREATING OTHER FILE SYSTEM LAYERS * - * One of the easiest ways to construct new file system layers is to make + * One of the easiest ways to construct new filesystem layers is to make * a copy of the null layer, rename all files and variables, and * then begin modifing the copy. Sed can be used to easily rename * all variables. @@ -494,7 +494,7 @@ null_access(ap) /* * Disallow write attempts on read-only layers; * unless the file is a socket, fifo, or a block or - * character device resident on the file system. + * character device resident on the filesystem. */ if (mode & VWRITE) { switch (vp->v_type) { diff --git a/sys/fs/nwfs/nwfs_mount.h b/sys/fs/nwfs/nwfs_mount.h index 23274a75c596..dd445d911226 100644 --- a/sys/fs/nwfs/nwfs_mount.h +++ b/sys/fs/nwfs/nwfs_mount.h @@ -55,7 +55,7 @@ #define NWFS_VOLNAME_LEN 48 -/* Layout of the mount control block for a netware file system. */ +/* Layout of the mount control block for a netware filesystem. */ struct nwfs_args { int connRef; /* connection reference */ char mount_point[MAXPATHLEN]; diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c index 490f861d617d..dc7d6340f394 100644 --- a/sys/fs/nwfs/nwfs_vfsops.c +++ b/sys/fs/nwfs/nwfs_vfsops.c @@ -63,7 +63,7 @@ int nwfs_debuglevel = 0; static int nwfs_version = NWFS_VERSION; SYSCTL_DECL(_vfs_nwfs); -SYSCTL_NODE(_vfs, OID_AUTO, nwfs, CTLFLAG_RW, 0, "Netware file system"); +SYSCTL_NODE(_vfs, OID_AUTO, nwfs, CTLFLAG_RW, 0, "Netware filesystem"); SYSCTL_INT(_vfs_nwfs, OID_AUTO, version, CTLFLAG_RD, &nwfs_version, 0, ""); SYSCTL_INT(_vfs_nwfs, OID_AUTO, debuglevel, CTLFLAG_RW, &nwfs_debuglevel, 0, ""); @@ -435,23 +435,23 @@ nwfs_statfs(mp, sbp, td) if (error) return error; secsize = 512; /* XXX how to get real value ??? */ sbp->f_spare2=0; /* placeholder */ - /* fundamental file system block size */ + /* fundamental filesystem block size */ sbp->f_bsize = vi.sectors_per_block*secsize; /* optimal transfer block size */ sbp->f_iosize = NWFSTOCONN(nmp)->buffer_size; - /* total data blocks in file system */ + /* total data blocks in filesystem */ sbp->f_blocks= vi.total_blocks; /* free blocks in fs */ sbp->f_bfree = vi.free_blocks + vi.purgeable_blocks; /* free blocks avail to non-superuser */ sbp->f_bavail= vi.free_blocks+vi.purgeable_blocks; - /* total file nodes in file system */ + /* total file nodes in filesystem */ sbp->f_files = vi.total_dir_entries; /* free file nodes in fs */ sbp->f_ffree = vi.available_dir_entries; sbp->f_flags = 0; /* copy of mount exported flags */ if (sbp != &mp->mnt_stat) { - sbp->f_fsid = mp->mnt_stat.f_fsid; /* file system id */ + sbp->f_fsid = mp->mnt_stat.f_fsid; /* filesystem id */ sbp->f_owner = mp->mnt_stat.f_owner; /* user that mounted the filesystem */ sbp->f_type = mp->mnt_vfc->vfc_typenum; /* type of filesystem */ bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN); diff --git a/sys/fs/smbfs/smbfs.h b/sys/fs/smbfs/smbfs.h index 3078ae5eb82d..90dc8f04457f 100644 --- a/sys/fs/smbfs/smbfs.h +++ b/sys/fs/smbfs/smbfs.h @@ -49,7 +49,7 @@ #define SMBFS_MAXPATHCOMP 256 /* maximum number of path components */ -/* Layout of the mount control block for a netware file system. */ +/* Layout of the mount control block for a netware filesystem. */ struct smbfs_args { int version; int dev; diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index db08f5eb4bc0..6610ecf60f6c 100644 --- a/sys/fs/smbfs/smbfs_smb.c +++ b/sys/fs/smbfs/smbfs_smb.c @@ -170,11 +170,11 @@ smbfs_smb_statfs2(struct smb_share *ssp, struct statfs *sbp, md_get_uint32le(mdp, &units); md_get_uint32le(mdp, &funits); md_get_uint16le(mdp, &bsize); - sbp->f_bsize = bpu * bsize; /* fundamental file system block size */ - sbp->f_blocks= units; /* total data blocks in file system */ + sbp->f_bsize = bpu * bsize; /* fundamental filesystem block size */ + sbp->f_blocks= units; /* total data blocks in filesystem */ sbp->f_bfree = funits; /* free blocks in fs */ sbp->f_bavail= funits; /* free blocks avail to non-superuser */ - sbp->f_files = 0xffff; /* total file nodes in file system */ + sbp->f_files = 0xffff; /* total file nodes in filesystem */ sbp->f_ffree = 0xffff; /* free file nodes in fs */ smb_t2_done(t2p); return 0; @@ -206,11 +206,11 @@ smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp, md_get_uint16le(mdp, &bpu); md_get_uint16le(mdp, &bsize); md_get_uint16le(mdp, &funits); - sbp->f_bsize = bpu * bsize; /* fundamental file system block size */ - sbp->f_blocks= units; /* total data blocks in file system */ + sbp->f_bsize = bpu * bsize; /* fundamental filesystem block size */ + sbp->f_blocks= units; /* total data blocks in filesystem */ sbp->f_bfree = funits; /* free blocks in fs */ sbp->f_bavail= funits; /* free blocks avail to non-superuser */ - sbp->f_files = 0xffff; /* total file nodes in file system */ + sbp->f_files = 0xffff; /* total file nodes in filesystem */ sbp->f_ffree = 0xffff; /* free file nodes in fs */ smb_rq_done(rqp); return 0; diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index f1324a10f7c4..5edff3f5045a 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -70,7 +70,7 @@ static int smbfs_version = SMBFS_VERSION; vm_zone_t smbfsmount_zone; #endif -SYSCTL_NODE(_vfs, OID_AUTO, smbfs, CTLFLAG_RW, 0, "SMB/CIFS file system"); +SYSCTL_NODE(_vfs, OID_AUTO, smbfs, CTLFLAG_RW, 0, "SMB/CIFS filesystem"); SYSCTL_INT(_vfs_smbfs, OID_AUTO, version, CTLFLAG_RD, &smbfs_version, 0, ""); SYSCTL_INT(_vfs_smbfs, OID_AUTO, debuglevel, CTLFLAG_RW, &smbfs_debuglevel, 0, ""); @@ -389,7 +389,7 @@ smbfs_statfs(struct mount *mp, struct statfs *sbp, struct thread *td) return error; sbp->f_flags = 0; /* copy of mount exported flags */ if (sbp != &mp->mnt_stat) { - sbp->f_fsid = mp->mnt_stat.f_fsid; /* file system id */ + sbp->f_fsid = mp->mnt_stat.f_fsid; /* filesystem id */ sbp->f_owner = mp->mnt_stat.f_owner; /* user that mounted the filesystem */ sbp->f_type = mp->mnt_vfc->vfc_typenum; /* type of filesystem */ bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN); diff --git a/sys/ia64/ia64/clock.c b/sys/ia64/ia64/clock.c index f3dc73cf1eae..97a8e3fc3964 100644 --- a/sys/ia64/ia64/clock.c +++ b/sys/ia64/ia64/clock.c @@ -299,7 +299,7 @@ inittodr(base) struct timespec ts; if (base < 5*SECYR) { - printf("WARNING: preposterous time in file system"); + printf("WARNING: preposterous time in filesystem"); /* read the system clock anyway */ base = 6*SECYR + 186*SECDAY + SECDAY/2; badbase = 1; @@ -313,7 +313,7 @@ inittodr(base) if (ct.year < 70 || ct.mon < 1 || ct.mon > 12 || ct.day < 1 || ct.day > 31 || ct.hour > 23 || ct.min > 59 || ct.sec > 59) { /* - * Believe the time in the file system for lack of + * Believe the time in the filesystem for lack of * anything better, resetting the TODR. */ s = splclock(); diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c index da927e106ad6..5c7805e64ab8 100644 --- a/sys/isofs/cd9660/cd9660_lookup.c +++ b/sys/isofs/cd9660/cd9660_lookup.c @@ -56,7 +56,7 @@ /* * Convert a component of a pathname into a pointer to a locked inode. * This is a very central and rather complicated routine. - * If the file system is not maintained in a strict tree hierarchy, + * If the filesystem is not maintained in a strict tree hierarchy, * this can result in a deadlock situation (see comments in code below). * * The flag argument is LOOKUP, CREATE, RENAME, or DELETE depending on @@ -95,7 +95,7 @@ cd9660_lookup(ap) { register struct vnode *vdp; /* vnode for directory being searched */ register struct iso_node *dp; /* inode for directory being searched */ - register struct iso_mnt *imp; /* file system that directory is in */ + register struct iso_mnt *imp; /* filesystem that directory is in */ struct buf *bp; /* a buffer of directory entries */ struct iso_directory_record *ep = 0;/* the current directory entry */ int entryoffsetinblock; /* offset of ep in bp's buffer */ @@ -342,7 +342,7 @@ found: * infrequently since we cannot avoid this race condition without * implementing a sophisticated deadlock detection algorithm. * Note also that this simple deadlock detection scheme will not - * work if the file system has any hard links other than ".." + * work if the filesystem has any hard links other than ".." * that point backwards in the directory structure. */ pdp = vdp; diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 70ecb010a4a8..53715e7d6da3 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -587,7 +587,7 @@ cd9660_root(mp, vpp) } /* - * Get file system statistics. + * Get filesystem statistics. */ int cd9660_statfs(mp, sbp, td) diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index 52909b141b32..7dcf1a94a1d4 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -137,7 +137,7 @@ cd9660_access(ap) /* * Disallow write attempts unless the file is a socket, * fifo, or a block or character device resident on the - * file system. + * filesystem. */ if (mode & VWRITE) { switch (vp->v_type) { diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 20477ffc527c..d5c565680605 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -413,7 +413,7 @@ proc0_post(void *dummy __unused) /* * Now we can look at the time, having had a chance to verify the - * time from the file system. Pretend that proc0 started now. + * time from the filesystem. Pretend that proc0 started now. */ sx_slock(&allproc_lock); LIST_FOREACH(p, &allproc, p_list) { diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c index 7e033a28c8b7..662619784a4a 100644 --- a/sys/kern/kern_acct.c +++ b/sys/kern/kern_acct.c @@ -302,7 +302,7 @@ encode_comp_t(s, us) } /* - * Periodically check the file system to see if accounting + * Periodically check the filesystem to see if accounting * should be turned on or off. Beware the case where the vnode * has been vgone()'d out from underneath us, e.g. when the file * system containing the accounting file has been forcibly unmounted. diff --git a/sys/kern/kern_acl.c b/sys/kern/kern_acl.c index 55ab33efbabd..72769db62a59 100644 --- a/sys/kern/kern_acl.c +++ b/sys/kern/kern_acl.c @@ -362,7 +362,7 @@ error: } /* - * For the purposes of file systems maintaining the _OBJ entries in an + * For the purposes of filesystems maintaining the _OBJ entries in an * inode with a mode_t field, this routine converts a mode_t entry * to an acl_perm_t. */ @@ -471,7 +471,7 @@ acl_posix1e_perms_to_mode(struct acl_entry *acl_user_obj_entry, /* * Perform a syntactic check of the ACL, sufficient to allow an - * implementing file system to determine if it should accept this and + * implementing filesystem to determine if it should accept this and * rely on the POSIX.1e ACL properties. */ int diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index e03c09f1a44c..15837d304e8d 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1402,7 +1402,7 @@ fdfree(td) * * This is a gross hack to plug the hole. A better solution would involve * a special vop or other form of generalized access control mechanism. We - * go ahead and just reject all procfs file systems accesses as dangerous. + * go ahead and just reject all procfs filesystems accesses as dangerous. * * Since setugidsafety calls this only for fd 0, 1 and 2, this check is * sufficient. We also don't for check setugidness since we know we are. diff --git a/sys/kern/subr_acl_posix1e.c b/sys/kern/subr_acl_posix1e.c index 55ab33efbabd..72769db62a59 100644 --- a/sys/kern/subr_acl_posix1e.c +++ b/sys/kern/subr_acl_posix1e.c @@ -362,7 +362,7 @@ error: } /* - * For the purposes of file systems maintaining the _OBJ entries in an + * For the purposes of filesystems maintaining the _OBJ entries in an * inode with a mode_t field, this routine converts a mode_t entry * to an acl_perm_t. */ @@ -471,7 +471,7 @@ acl_posix1e_perms_to_mode(struct acl_entry *acl_user_obj_entry, /* * Perform a syntactic check of the ACL, sufficient to allow an - * implementing file system to determine if it should accept this and + * implementing filesystem to determine if it should accept this and * rely on the POSIX.1e ACL properties. */ int diff --git a/sys/kern/vfs_acl.c b/sys/kern/vfs_acl.c index 55ab33efbabd..72769db62a59 100644 --- a/sys/kern/vfs_acl.c +++ b/sys/kern/vfs_acl.c @@ -362,7 +362,7 @@ error: } /* - * For the purposes of file systems maintaining the _OBJ entries in an + * For the purposes of filesystems maintaining the _OBJ entries in an * inode with a mode_t field, this routine converts a mode_t entry * to an acl_perm_t. */ @@ -471,7 +471,7 @@ acl_posix1e_perms_to_mode(struct acl_entry *acl_user_obj_entry, /* * Perform a syntactic check of the ACL, sufficient to allow an - * implementing file system to determine if it should accept this and + * implementing filesystem to determine if it should accept this and * rely on the POSIX.1e ACL properties. */ int diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 44dec6d4d845..5cbef87fd206 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -1025,7 +1025,7 @@ checkdirs(olddp, newdp) } /* - * Unmount a file system. + * Unmount a filesystem. * * Note: unmount takes a path to the vnode mounted on as argument, * not special file (as before). @@ -1071,7 +1071,7 @@ unmount(td, uap) } /* - * Don't allow unmounting the root file system. + * Don't allow unmounting the root filesystem. */ if (mp->mnt_flag & MNT_ROOTFS) { vput(vp); @@ -1090,7 +1090,7 @@ unmount(td, uap) } /* - * Do the actual file system unmount. + * Do the actual filesystem unmount. */ int dounmount(mp, flags, td) @@ -3810,7 +3810,7 @@ out: #ifdef COMPAT_43 /* - * Read a block of directory entries in a file system independent format. + * Read a block of directory entries in a filesystem independent format. */ #ifndef _SYS_SYSPROTO_H_ struct ogetdirentries_args { @@ -3950,7 +3950,7 @@ unionread: #endif /* COMPAT_43 */ /* - * Read a block of directory entries in a file system independent format. + * Read a block of directory entries in a filesystem independent format. */ #ifndef _SYS_SYSPROTO_H_ struct getdirentries_args { diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index 6c86c2a8da96..f294aa0de5a9 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -369,7 +369,7 @@ vfs_rm_vnodeops(const void *data) struct vattr va_null; /* - * Initialize the vnode structures and initialize each file system type. + * Initialize the vnode structures and initialize each filesystem type. */ /* ARGSUSED*/ static void @@ -380,7 +380,7 @@ vfsinit(void *dummy) } SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_FIRST, vfsinit, NULL) -/* Register a new file system type in the global table */ +/* Register a new filesystem type in the global table */ int vfs_register(struct vfsconf *vfc) { @@ -426,7 +426,7 @@ vfs_register(struct vfsconf *vfc) } -/* Remove registration of a file system type */ +/* Remove registration of a filesystem type */ int vfs_unregister(struct vfsconf *vfc) { @@ -463,7 +463,7 @@ vfs_unregister(struct vfsconf *vfc) } /* - * Standard kernel module handling code for file system modules. + * Standard kernel module handling code for filesystem modules. * Referenced from VFS_SET(). */ int diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index f2d284ccb0ef..bb589831e139 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -411,7 +411,7 @@ dirloop: * 2. If this vnode is the root of a mounted * filesystem, then replace it with the * vnode which was mounted on so we take the - * .. in the other file system. + * .. in the other filesystem. * 3. If the vnode is the top directory of * the jail or chroot, don't let them out. */ @@ -514,7 +514,7 @@ unionlookup: /* * Check to see if the vnode has been mounted on; - * if so find the root of the mounted file system. + * if so find the root of the mounted filesystem. */ while (dp->v_type == VDIR && (mp = dp->v_mountedhere) && (cnp->cn_flags & NOCROSSMOUNT) == 0) { @@ -576,7 +576,7 @@ nextname: goto dirloop; } /* - * Disallow directory write attempts on read-only file systems. + * Disallow directory write attempts on read-only filesystems. */ if (rdonly && (cnp->cn_nameiop == DELETE || cnp->cn_nameiop == RENAME)) { @@ -718,7 +718,7 @@ relookup(dvp, vpp, cnp) ("relookup: symlink found.\n")); /* - * Disallow directory write attempts on read-only file systems. + * Disallow directory write attempts on read-only filesystems. */ if (rdonly && (cnp->cn_nameiop == DELETE || cnp->cn_nameiop == RENAME)) { diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index bb92a8c0f68a..4a34e3e53219 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -650,7 +650,7 @@ vlrureclaim(struct mount *mp, int count) /* * Attempt to recycle vnodes in a context that is always safe to block. - * Calling vlrurecycle() from the bowels of file system code has some + * Calling vlrurecycle() from the bowels of filesystem code has some * interesting deadlock problems. */ static struct proc *vnlruproc; @@ -1576,7 +1576,7 @@ reassignbuf(bp, newvp) /* * Create a vnode for a device. - * Used for mounting the root file system. + * Used for mounting the root filesystem. */ int bdevvp(dev, vpp) @@ -1685,7 +1685,7 @@ addalias(nvp, dev) * vnode is being eliminated in vgone. The process is awakened * when the transition is completed, and an error returned to * indicate that the vnode is no longer usable (possibly having - * been changed to a new file system type). + * been changed to a new filesystem type). */ int vget(vp, flags, td) @@ -2051,7 +2051,7 @@ vlruvp(struct vnode *vp) } /* - * Disassociate the underlying file system from a vnode. + * Disassociate the underlying filesystem from a vnode. */ static void vclean(vp, flags, td) @@ -3110,7 +3110,7 @@ NDFREE(ndp, flags) } /* - * Common file system object access control check routine. Accepts a + * Common filesystem object access control check routine. Accepts a * vnode's type, "mode", uid and gid, requested access mode, credentials, * and optional call-by-reference privused argument allowing vaccess() * to indicate to the caller whether privilege was used to satisfy the diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 44dec6d4d845..5cbef87fd206 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1025,7 +1025,7 @@ checkdirs(olddp, newdp) } /* - * Unmount a file system. + * Unmount a filesystem. * * Note: unmount takes a path to the vnode mounted on as argument, * not special file (as before). @@ -1071,7 +1071,7 @@ unmount(td, uap) } /* - * Don't allow unmounting the root file system. + * Don't allow unmounting the root filesystem. */ if (mp->mnt_flag & MNT_ROOTFS) { vput(vp); @@ -1090,7 +1090,7 @@ unmount(td, uap) } /* - * Do the actual file system unmount. + * Do the actual filesystem unmount. */ int dounmount(mp, flags, td) @@ -3810,7 +3810,7 @@ out: #ifdef COMPAT_43 /* - * Read a block of directory entries in a file system independent format. + * Read a block of directory entries in a filesystem independent format. */ #ifndef _SYS_SYSPROTO_H_ struct ogetdirentries_args { @@ -3950,7 +3950,7 @@ unionread: #endif /* COMPAT_43 */ /* - * Read a block of directory entries in a file system independent format. + * Read a block of directory entries in a filesystem independent format. */ #ifndef _SYS_SYSPROTO_H_ struct getdirentries_args { diff --git a/sys/net/zlib.h b/sys/net/zlib.h index 7316305ba2f3..a9d3a7859267 100644 --- a/sys/net/zlib.h +++ b/sys/net/zlib.h @@ -928,7 +928,7 @@ extern const char * EXPORT gzerror OF((gzFile file, int *errnum)); /* Returns the error message for the last error which occurred on the given compressed file. errnum is set to zlib error number. If an - error occurred in the file system and not in the compression library, + error occurred in the filesystem and not in the compression library, errnum is set to Z_ERRNO and the application may consult errno to get the exact error code. */ diff --git a/sys/netncp/ncp_lib.h b/sys/netncp/ncp_lib.h index e1fee6c46165..68678300fb2c 100644 --- a/sys/netncp/ncp_lib.h +++ b/sys/netncp/ncp_lib.h @@ -205,7 +205,7 @@ int ncp_get_queue_job_ids(NWCONN_HANDLE, u_int32_t, u_int32_t, int ncp_get_queue_job_info(NWCONN_HANDLE, u_int32_t, u_int32_t, struct nw_queue_job_entry *); /* - * file system and volume calls + * filesystem and volume calls */ int ncp_read(NWCONN_HANDLE, ncp_fh *, off_t, size_t, char *); int ncp_write(NWCONN_HANDLE, ncp_fh *, off_t, size_t, char *); diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 0f8476539331..ef1222e732ec 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -501,7 +501,7 @@ nfs_mountroot(struct mount *mp, struct thread *td) VTONFS(vp)->n_size = VTONFS(vp)->n_vattr.va_size = nd->swap_nblks * DEV_BSIZE ; /* - * Since the swap file is not the root dir of a file system, + * Since the swap file is not the root dir of a filesystem, * hack it to a regular file. */ vp->v_type = VREG; @@ -907,7 +907,7 @@ nfs_unmount(struct mount *mp, int mntflags, struct thread *td) nmp = VFSTONFS(mp); /* * Goes something like this.. - * - Call vflush() to clear out vnodes for this file system + * - Call vflush() to clear out vnodes for this filesystem * - Close the socket * - Free up the data structures */ diff --git a/sys/nfsserver/nfs.h b/sys/nfsserver/nfs.h index 25ab85df1e05..18768af9d3c8 100644 --- a/sys/nfsserver/nfs.h +++ b/sys/nfsserver/nfs.h @@ -77,7 +77,7 @@ #define B_INVAFTERWRITE B_NOCACHE /* - * The IO_METASYNC flag should be implemented for local file systems. + * The IO_METASYNC flag should be implemented for local filesystems. * (Until then, it is nothin at all.) */ #ifndef IO_METASYNC diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c index 05272f26d798..73bee420fc6d 100644 --- a/sys/nfsserver/nfs_serv.c +++ b/sys/nfsserver/nfs_serv.c @@ -391,7 +391,7 @@ nfsrv_setattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, /* * If the size is being changed write acces is required, otherwise - * just check for a read only file system. + * just check for a read only filesystem. */ if (vap->va_size == ((u_quad_t)((quad_t) -1))) { if (rdonly || (vp->v_mount->mnt_flag & MNT_RDONLY)) { @@ -3864,7 +3864,7 @@ nfsrv_fsinfo(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, /* * XXX - * There should be file system VFS OP(s) to get this information. + * There should be filesystem VFS OP(s) to get this information. * For now, assume ufs. */ if (slp->ns_so->so_type == SOCK_DGRAM) @@ -4028,9 +4028,9 @@ nfsrv_access(struct vnode *vp, int flags, struct ucred *cred, int rdonly, if (flags & VWRITE) { /* Just vn_writechk() changed to check rdonly */ /* - * Disallow write attempts on read-only file systems; + * Disallow write attempts on read-only filesystems; * unless the file is a socket or a block or character - * device resident on the file system. + * device resident on the filesystem. */ if (rdonly || (vp->v_mount->mnt_flag & MNT_RDONLY)) { switch (vp->v_type) { diff --git a/sys/security/lomac/kernel_util.c b/sys/security/lomac/kernel_util.c index 99cd6cbd2d8a..4a4999d82a64 100644 --- a/sys/security/lomac/kernel_util.c +++ b/sys/security/lomac/kernel_util.c @@ -292,7 +292,7 @@ sysarch(struct thread *td, struct sysarch_args *uap) { extern int lomac_mmap(struct proc *, struct mmap_args *); /* - * Mount a file system. + * Mount a filesystem. */ #ifndef _SYS_SYSPROTO_H_ struct mount_args { @@ -344,7 +344,7 @@ finish: } /* - * Unmount a file system. + * Unmount a filesystem. * * Note: unmount takes a path to the vnode mounted on as argument, * not special file (as before). @@ -390,7 +390,7 @@ unmount(td, uap) } /* - * Don't allow unmounting the root file system. + * Don't allow unmounting the root filesystem. */ if (mp->mnt_flag & MNT_ROOTFS) { vput(vp); diff --git a/sys/security/lomac/lomacfs_vnops.c b/sys/security/lomac/lomacfs_vnops.c index 430da86eddb2..28e9a2602bcd 100644 --- a/sys/security/lomac/lomacfs_vnops.c +++ b/sys/security/lomac/lomacfs_vnops.c @@ -344,7 +344,7 @@ lomacfs_cachedlookup( /* * Check to see if the vnode has been mounted on; - * if so find the root of the mounted file system. + * if so find the root of the mounted filesystem. */ if (lvp->v_type == VDIR && (mp = lvp->v_mountedhere) && (cnp->cn_flags & NOCROSSMOUNT) == 0) { diff --git a/sys/sys/acl.h b/sys/sys/acl.h index 6d27e401b669..3f261cd4acd6 100644 --- a/sys/sys/acl.h +++ b/sys/sys/acl.h @@ -152,7 +152,7 @@ __END_DECLS * Supported POSIX.1e ACL manipulation and assignment/retrieval API * _np calls are local extensions that reflect an environment capable of * opening file descriptors of directories, and allowing additional - * ACL type for different file systems (i.e., AFS). + * ACL type for different filesystems (i.e., AFS). */ __BEGIN_DECLS int acl_add_perm(acl_permset_t _permset_d, acl_perm_t _perm); diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index 6928408a606f..2c46c7254d58 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -240,11 +240,11 @@ static const char *dktypenames[] = { #define FS_SYSV 4 /* System V */ #define FS_V71K 5 /* V7 with 1K blocks (4.1, 2.9) */ #define FS_V8 6 /* Eighth Edition, 4K blocks */ -#define FS_BSDFFS 7 /* 4.2BSD fast file system */ -#define FS_MSDOS 8 /* MSDOS file system */ -#define FS_BSDLFS 9 /* 4.4BSD log-structured file system */ +#define FS_BSDFFS 7 /* 4.2BSD fast filesystem */ +#define FS_MSDOS 8 /* MSDOS filesystem */ +#define FS_BSDLFS 9 /* 4.4BSD log-structured filesystem */ #define FS_OTHER 10 /* in use, but unknown/unsupported */ -#define FS_HPFS 11 /* OS/2 high-performance file system */ +#define FS_HPFS 11 /* OS/2 high-performance filesystem */ #define FS_ISO9660 12 /* ISO 9660, normally CD-ROM */ #define FS_BOOT 13 /* partition contains bootstrap */ #define FS_VINUM 14 /* Vinum drive */ diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h index 6928408a606f..2c46c7254d58 100644 --- a/sys/sys/diskmbr.h +++ b/sys/sys/diskmbr.h @@ -240,11 +240,11 @@ static const char *dktypenames[] = { #define FS_SYSV 4 /* System V */ #define FS_V71K 5 /* V7 with 1K blocks (4.1, 2.9) */ #define FS_V8 6 /* Eighth Edition, 4K blocks */ -#define FS_BSDFFS 7 /* 4.2BSD fast file system */ -#define FS_MSDOS 8 /* MSDOS file system */ -#define FS_BSDLFS 9 /* 4.4BSD log-structured file system */ +#define FS_BSDFFS 7 /* 4.2BSD fast filesystem */ +#define FS_MSDOS 8 /* MSDOS filesystem */ +#define FS_BSDLFS 9 /* 4.4BSD log-structured filesystem */ #define FS_OTHER 10 /* in use, but unknown/unsupported */ -#define FS_HPFS 11 /* OS/2 high-performance file system */ +#define FS_HPFS 11 /* OS/2 high-performance filesystem */ #define FS_ISO9660 12 /* ISO 9660, normally CD-ROM */ #define FS_BOOT 13 /* partition contains bootstrap */ #define FS_VINUM 14 /* Vinum drive */ diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index 6928408a606f..2c46c7254d58 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -240,11 +240,11 @@ static const char *dktypenames[] = { #define FS_SYSV 4 /* System V */ #define FS_V71K 5 /* V7 with 1K blocks (4.1, 2.9) */ #define FS_V8 6 /* Eighth Edition, 4K blocks */ -#define FS_BSDFFS 7 /* 4.2BSD fast file system */ -#define FS_MSDOS 8 /* MSDOS file system */ -#define FS_BSDLFS 9 /* 4.4BSD log-structured file system */ +#define FS_BSDFFS 7 /* 4.2BSD fast filesystem */ +#define FS_MSDOS 8 /* MSDOS filesystem */ +#define FS_BSDLFS 9 /* 4.4BSD log-structured filesystem */ #define FS_OTHER 10 /* in use, but unknown/unsupported */ -#define FS_HPFS 11 /* OS/2 high-performance file system */ +#define FS_HPFS 11 /* OS/2 high-performance filesystem */ #define FS_ISO9660 12 /* ISO 9660, normally CD-ROM */ #define FS_BOOT 13 /* partition contains bootstrap */ #define FS_VINUM 14 /* Vinum drive */ diff --git a/sys/sys/errno.h b/sys/sys/errno.h index 3558b3673ca1..51da0672698b 100644 --- a/sys/sys/errno.h +++ b/sys/sys/errno.h @@ -84,7 +84,7 @@ __END_DECLS #define EFBIG 27 /* File too large */ #define ENOSPC 28 /* No space left on device */ #define ESPIPE 29 /* Illegal seek */ -#define EROFS 30 /* Read-only file system */ +#define EROFS 30 /* Read-only filesystem */ #define EMLINK 31 /* Too many links */ #define EPIPE 32 /* Broken pipe */ diff --git a/sys/sys/extattr.h b/sys/sys/extattr.h index 2d656241cdbd..2bc7d0a63430 100644 --- a/sys/sys/extattr.h +++ b/sys/sys/extattr.h @@ -29,7 +29,7 @@ */ /* * Developed by the TrustedBSD Project. - * Support for extended file system attributes. + * Support for extended filesystem attributes. */ #ifndef _SYS_EXTATTR_H_ diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h index 7b28e518a9dc..649d45c798cb 100644 --- a/sys/sys/kernel.h +++ b/sys/sys/kernel.h @@ -134,7 +134,7 @@ enum sysinit_sub_id { SI_SUB_INIT_IF = 0x3000000, /* prep for net interfaces */ SI_SUB_DRIVERS = 0x3100000, /* Let Drivers initialize */ SI_SUB_CONFIGURE = 0x3800000, /* Configure devices */ - SI_SUB_VFS = 0x4000000, /* virtual file system*/ + SI_SUB_VFS = 0x4000000, /* virtual filesystem*/ SI_SUB_CLOCKS = 0x4800000, /* real time and stat clocks*/ SI_SUB_CLIST = 0x5800000, /* clists*/ SI_SUB_SYSV_SHM = 0x6400000, /* System V shared memory*/ diff --git a/sys/sys/mount.h b/sys/sys/mount.h index ca9bdcc4d8c6..7be2b0541726 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -54,7 +54,7 @@ struct netcred; struct netexport; -typedef struct fsid { int32_t val[2]; } fsid_t; /* file system id type */ +typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ /* * File identifier. @@ -69,7 +69,7 @@ struct fid { }; /* - * file system statistics + * filesystem statistics */ #define MFSNAMELEN 16 /* length of fs type name, including null */ @@ -82,14 +82,14 @@ struct fid { struct statfs { long f_spare2; /* placeholder */ - long f_bsize; /* fundamental file system block size */ + long f_bsize; /* fundamental filesystem block size */ long f_iosize; /* optimal transfer block size */ - long f_blocks; /* total data blocks in file system */ + long f_blocks; /* total data blocks in filesystem */ long f_bfree; /* free blocks in fs */ long f_bavail; /* free blocks avail to non-superuser */ - long f_files; /* total file nodes in file system */ + long f_files; /* total file nodes in filesystem */ long f_ffree; /* free file nodes in fs */ - fsid_t f_fsid; /* file system id */ + fsid_t f_fsid; /* filesystem id */ uid_t f_owner; /* user that mounted the filesystem */ int f_type; /* type of filesystem */ int f_flags; /* copy of mount exported flags */ @@ -107,8 +107,8 @@ struct statfs { #ifdef _KERNEL /* - * Structure per mounted file system. Each mounted file system has an - * array of operations and an instance record. The file systems are + * Structure per mounted filesystem. Each mounted filesystem has an + * array of operations and an instance record. The filesystems are * put on a doubly linked list. * * NOTE: mnt_nvnodelist and mnt_reservedvnlist. At the moment vnodes @@ -159,12 +159,12 @@ struct mount { * User specifiable flags. */ #define MNT_RDONLY 0x00000001 /* read only filesystem */ -#define MNT_SYNCHRONOUS 0x00000002 /* file system written synchronously */ +#define MNT_SYNCHRONOUS 0x00000002 /* filesystem written synchronously */ #define MNT_NOEXEC 0x00000004 /* can't exec from filesystem */ #define MNT_NOSUID 0x00000008 /* don't honor setuid bits on fs */ #define MNT_NODEV 0x00000010 /* don't interpret special files */ #define MNT_UNION 0x00000020 /* union with underlying filesystem */ -#define MNT_ASYNC 0x00000040 /* file system written asynchronously */ +#define MNT_ASYNC 0x00000040 /* filesystem written asynchronously */ #define MNT_SUIDDIR 0x00100000 /* special handling of SUID on dirs */ #define MNT_SOFTDEP 0x00200000 /* soft updates being done */ #define MNT_NOSYMFOLLOW 0x00400000 /* do not follow symlinks */ @@ -178,7 +178,7 @@ struct mount { * NFS export related mount flags. */ #define MNT_EXRDONLY 0x00000080 /* exported read only */ -#define MNT_EXPORTED 0x00000100 /* file system is exported */ +#define MNT_EXPORTED 0x00000100 /* filesystem is exported */ #define MNT_DEFEXPORTED 0x00000200 /* exported to the world */ #define MNT_EXPORTANON 0x00000400 /* use anon uid mapping for everyone */ #define MNT_EXKERB 0x00000800 /* exported with Kerberos uid mapping */ @@ -357,7 +357,7 @@ extern int nfs_mount_type; /* vfc_typenum for nfs, or -1 */ extern struct vfsconf *vfsconf; /* head of list of filesystem types */ /* - * Operations supported on mounted file system. + * Operations supported on mounted filesystem. */ #ifdef __STDC__ struct nameidata; diff --git a/sys/sys/namei.h b/sys/sys/namei.h index 4e0ba5cba55b..a06a045bc83a 100644 --- a/sys/sys/namei.h +++ b/sys/sys/namei.h @@ -142,7 +142,7 @@ struct nameidata { #define DOWHITEOUT 0x040000 /* do whiteouts */ #define WILLBEDIR 0x080000 /* new files will be dirs; allow trailing / */ #define ISUNICODE 0x100000 /* current component name is unicode*/ -#define PDIRUNLOCK 0x200000 /* file system lookup() unlocked parent dir */ +#define PDIRUNLOCK 0x200000 /* filesystem lookup() unlocked parent dir */ #define NOCROSSMOUNT 0x400000 /* do not cross mount points */ #define PARAMASK 0x3ffe00 /* mask of parameter descriptors */ diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 65275d66e227..da705b84920e 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -280,7 +280,7 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_entry); #define CTL_UNSPEC 0 /* unused */ #define CTL_KERN 1 /* "high kernel": proc, limits */ #define CTL_VM 2 /* virtual memory */ -#define CTL_VFS 3 /* file system, mount type is next */ +#define CTL_VFS 3 /* filesystem, mount type is next */ #define CTL_NET 4 /* network, see socket.h */ #define CTL_DEBUG 5 /* debugging parameters */ #define CTL_HW 6 /* generic cpu/io */ diff --git a/sys/sys/unpcb.h b/sys/sys/unpcb.h index a3b73e194fcb..754cce6523dc 100644 --- a/sys/sys/unpcb.h +++ b/sys/sys/unpcb.h @@ -45,7 +45,7 @@ * instance of a UNIX internal protocol. * * A socket may be associated with an vnode in the - * file system. If so, the unp_vnode pointer holds + * filesystem. If so, the unp_vnode pointer holds * a reference count to this vnode, which should be irele'd * when the socket goes away. * diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 68c7fa1324e6..182854af82f0 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -165,7 +165,7 @@ struct vnode { /* * Vnode flags. */ -#define VROOT 0x00001 /* root of its file system */ +#define VROOT 0x00001 /* root of its filesystem */ #define VTEXT 0x00002 /* vnode is a pure text prototype */ #define VSYSTEM 0x00004 /* vnode being used by kernel */ #define VISTTY 0x00008 /* vnode represents a tty */ @@ -196,7 +196,7 @@ struct vattr { short va_nlink; /* number of references to file */ uid_t va_uid; /* owner user id */ gid_t va_gid; /* owner group id */ - udev_t va_fsid; /* file system id */ + udev_t va_fsid; /* filesystem id */ long va_fileid; /* file id */ u_quad_t va_size; /* file size in bytes */ long va_blocksize; /* blocksize preferred for i/o */ diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 1034dbde9571..2dbb487df871 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -77,7 +77,7 @@ static ino_t ffs_nodealloccg(struct inode *, int, ufs_daddr_t, int); static ufs_daddr_t ffs_mapsearch(struct fs *, struct cg *, ufs_daddr_t, int); /* - * Allocate a block in the file system. + * Allocate a block in the filesystem. * * The size of the requested block is given, which must be some * multiple of fs_fsize and <= fs_bsize. @@ -160,8 +160,8 @@ nospace: softdep_request_cleanup(fs, ITOV(ip)); goto retry; } - ffs_fserr(fs, ip->i_number, "file system full"); - uprintf("\n%s: write failed, file system is full\n", fs->fs_fsmnt); + ffs_fserr(fs, ip->i_number, "filesystem full"); + uprintf("\n%s: write failed, filesystem is full\n", fs->fs_fsmnt); return (ENOSPC); } @@ -336,8 +336,8 @@ nospace: softdep_request_cleanup(fs, vp); goto retry; } - ffs_fserr(fs, ip->i_number, "file system full"); - uprintf("\n%s: write failed, file system is full\n", fs->fs_fsmnt); + ffs_fserr(fs, ip->i_number, "filesystem full"); + uprintf("\n%s: write failed, filesystem is full\n", fs->fs_fsmnt); return (ENOSPC); } @@ -572,7 +572,7 @@ fail: } /* - * Allocate an inode in the file system. + * Allocate an inode in the filesystem. * * If allocating a directory, use ffs_dirpref to select the inode. * If allocating in a directory, the following hierarchy is followed: @@ -1850,7 +1850,7 @@ ffs_clusteracct(fs, cgp, blkno, cnt) } /* - * Fserr prints the name of a file system with an error diagnostic. + * Fserr prints the name of a filesystem with an error diagnostic. * * The form of the error message is: * fs: error message diff --git a/sys/ufs/ffs/ffs_balloc.c b/sys/ufs/ffs/ffs_balloc.c index dbfe075d582a..b2e3595dd026 100644 --- a/sys/ufs/ffs/ffs_balloc.c +++ b/sys/ufs/ffs/ffs_balloc.c @@ -50,7 +50,7 @@ #include <ufs/ffs/ffs_extern.h> /* - * Balloc defines the structure of file system storage + * Balloc defines the structure of filesystem storage * by allocating the physical blocks on a device given * the inode and the logical block number in a file. */ diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 130c02c4dc15..5408448bd9a2 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -1103,7 +1103,7 @@ top: /* * Executed during filesystem system initialization before - * mounting any file systems. + * mounting any filesystems. */ void softdep_initialize() @@ -1179,7 +1179,7 @@ softdep_mount(devvp, mp, fs, cred) /* * Protecting the freemaps (or bitmaps). * - * To eliminate the need to execute fsck before mounting a file system + * To eliminate the need to execute fsck before mounting a filesystem * after a power failure, one must (conservatively) guarantee that the * on-disk copy of the bitmaps never indicate that a live inode or block is * free. So, when a block or inode is allocated, the bitmap should be @@ -1194,7 +1194,7 @@ softdep_mount(devvp, mp, fs, cred) * that any additional link additions can be made dependent on the inode * allocation. * - * The ufs file system maintains a number of free block counts (e.g., per + * The ufs filesystem maintains a number of free block counts (e.g., per * cylinder group, per cylinder and per <cylinder, rotational position> pair) * in addition to the bitmaps. These counts are used to improve efficiency * during allocation and therefore must be consistent with the bitmaps. @@ -2432,7 +2432,7 @@ free_allocindir(aip, inodedep) * simply of the inode number. * * As directory entries are added and deleted, the free space within a - * directory block can become fragmented. The ufs file system will compact + * directory block can become fragmented. The ufs filesystem will compact * a fragmented directory block to make space for a new entry. When this * occurs, the offsets of previously added entries change. Any "diradd" * dependency structures corresponding to these entries must be updated with @@ -3455,7 +3455,7 @@ initiate_write_inodeblock(inodedep, bp) /* * This routine is called during the completion interrupt * service routine for a disk write (from the procedure called - * by the device driver to inform the file system caches of + * by the device driver to inform the filesystem caches of * a request completion). It should be called early in this * procedure, before the block is made available to other * processes or other routines are called. @@ -4007,7 +4007,7 @@ handle_written_filepage(pagedep, bp) /* * Writing back in-core inode structures. * - * The file system only accesses an inode's contents when it occupies an + * The filesystem only accesses an inode's contents when it occupies an * "in-core" inode structure. These "in-core" structures are separate from * the page frames used to cache inode blocks. Only the latter are * transferred to/from the disk. So, when the updated contents of the diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index eab47f94fc61..f1dfc481d288 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -148,7 +148,7 @@ ffs_mount(mp, path, data, ndp, td) mode_t accessmode; /* - * Use NULL path to indicate we are mounting the root file system. + * Use NULL path to indicate we are mounting the root filesystem. */ if (path == NULL) { if ((error = bdevvp(rootdev, &rootvp))) { @@ -163,7 +163,7 @@ ffs_mount(mp, path, data, ndp, td) } /* - * Mounting non-root file system or updating a file system + * Mounting non-root filesystem or updating a filesystem */ if ((error = copyin(data, (caddr_t)&args, sizeof(struct ufs_args)))!= 0) return (error); @@ -784,7 +784,7 @@ ffs_mountfs(devvp, mp, td, malloctype) * - for each file in .attribute, enable that file with * an attribute of the same name. * Not clear how to report errors -- probably eat them. - * This would all happen while the file system was busy/not + * This would all happen while the filesystem was busy/not * available, so would effectively be "atomic". */ (void) ufs_extattr_autostart(mp, td); @@ -810,7 +810,7 @@ out: } /* - * Sanity checks for old file systems. + * Sanity checks for old filesystems. * * XXX - goes away some day. */ @@ -968,7 +968,7 @@ ffs_flushfiles(mp, flags, td) } /* - * Get file system statistics. + * Get filesystem statistics. */ int ffs_statfs(mp, sbp, td) @@ -1082,7 +1082,7 @@ loop: } mtx_unlock(&mntvnode_mtx); /* - * Force stale file system control information to be flushed. + * Force stale filesystem control information to be flushed. */ if (waitfor == MNT_WAIT) { if ((error = softdep_flushworklist(ump->um_mountp, &count, td))) @@ -1411,7 +1411,7 @@ ffs_sbupdate(mp, waitfor) fs->fs_fmod = 0; fs->fs_time = time_second; bcopy((caddr_t)fs, bp->b_data, (u_int)fs->fs_sbsize); - /* Restore compatibility to old file systems. XXX */ + /* Restore compatibility to old filesystems. XXX */ dfs = (struct fs *)bp->b_data; /* XXX */ if (fs->fs_postblformat == FS_42POSTBLFMT) /* XXX */ dfs->fs_nrpos = -1; /* XXX */ diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h index da854f9496e6..837f902dc209 100644 --- a/sys/ufs/ffs/fs.h +++ b/sys/ufs/ffs/fs.h @@ -38,18 +38,18 @@ #define _UFS_FFS_FS_H_ /* - * Each disk drive contains some number of file systems. - * A file system consists of a number of cylinder groups. + * Each disk drive contains some number of filesystems. + * A filesystem consists of a number of cylinder groups. * Each cylinder group has inodes and data. * - * A file system is described by its super-block, which in turn + * A filesystem is described by its super-block, which in turn * describes the cylinder groups. The super-block is critical * data and is replicated in each cylinder group to protect against * catastrophic loss. This is done at `newfs' time and the critical * super-block data does not change, so the copies need not be * referenced further unless disaster strikes. * - * For file system fs, the offsets of the various blocks of interest + * For filesystem fs, the offsets of the various blocks of interest * are given in the super block as: * [fs->fs_sblkno] Super-block * [fs->fs_cblkno] Cylinder group block @@ -76,12 +76,12 @@ * Large files consist of exclusively large data blocks. To avoid * undue wasted disk space, the last data block of a small file may be * allocated as only as many fragments of a large block as are - * necessary. The file system format retains only a single pointer + * necessary. The filesystem format retains only a single pointer * to such a fragment, which is a piece of a single large block that * has been divided. The size of such a fragment is determinable from * information in the inode, using the ``blksize(fs, ip, lbn)'' macro. * - * The file system records space availability at the fragment level; + * The filesystem records space availability at the fragment level; * to determine block availability, aligned fragments are examined. */ @@ -97,7 +97,7 @@ #define MINBSIZE 4096 /* - * The path name on which the file system is mounted is maintained + * The path name on which the filesystem is mounted is maintained * in fs_fsmnt. MAXMNTLEN defines the amount of space allocated in * the super block for this name. */ @@ -129,11 +129,11 @@ #define FS_MAXCONTIG 16 /* - * MINFREE gives the minimum acceptable percentage of file system + * MINFREE gives the minimum acceptable percentage of filesystem * blocks which may be free. If the freelist drops below this level * only the superuser may continue to allocate blocks. This may * be set to 0 if no reserve of free blocks is deemed necessary, - * however throughput drops by fifty percent if the file system + * however throughput drops by fifty percent if the filesystem * is run at between 95% and 100% full; thus the minimum default * value of fs_minfree is 5%. However, to get good clustering * performance, 10% is a better choice. hence we use 10% as our @@ -215,10 +215,10 @@ struct csum { }; /* - * Super block for an FFS file system. + * Super block for an FFS filesystem. */ struct fs { - int32_t fs_firstfield; /* historic file system linked list, */ + int32_t fs_firstfield; /* historic filesystem linked list, */ int32_t fs_unused_1; /* used for incore super blocks */ ufs_daddr_t fs_sblkno; /* addr of super-block in filesys */ ufs_daddr_t fs_cblkno; /* offset of cyl-block in filesys */ @@ -271,7 +271,7 @@ struct fs { int32_t fs_nsect; /* sectors per track */ int32_t fs_spc; /* sectors per cylinder */ /* this comes from the disk driver partitioning */ - int32_t fs_ncyl; /* cylinders in file system */ + int32_t fs_ncyl; /* cylinders in filesystem */ /* these fields can be computed from the others */ int32_t fs_cpg; /* cylinders per group */ int32_t fs_ipg; /* inodes per group */ @@ -280,7 +280,7 @@ struct fs { struct csum fs_cstotal; /* cylinder summary information */ /* these fields are cleared at mount time */ int8_t fs_fmod; /* super block modified flag */ - int8_t fs_clean; /* file system is clean flag */ + int8_t fs_clean; /* filesystem is clean flag */ int8_t fs_ronly; /* mounted read-only flag */ int8_t fs_flags; /* see FS_ flags below */ u_char fs_fsmnt[MAXMNTLEN]; /* name mounted on */ @@ -390,7 +390,7 @@ struct fs { #define fs_cs(fs, indx) fs_csp[indx] /* - * Cylinder group block for a file system. + * Cylinder group block for a filesystem. */ #define CG_MAGIC 0x090255 struct cg { @@ -448,7 +448,7 @@ struct cg { /* * The following structure is defined - * for compatibility with old file systems. + * for compatibility with old filesystems. */ struct ocg { int32_t cg_firstfield; /* historic linked list of cyl groups */ @@ -472,15 +472,15 @@ struct ocg { }; /* - * Turn file system block numbers into disk block addresses. - * This maps file system blocks to device size blocks. + * Turn filesystem block numbers into disk block addresses. + * This maps filesystem blocks to device size blocks. */ #define fsbtodb(fs, b) ((b) << (fs)->fs_fsbtodb) #define dbtofsb(fs, b) ((b) >> (fs)->fs_fsbtodb) /* * Cylinder group macros to locate things in cylinder groups. - * They calc file system addresses of cylinder group data structures. + * They calc filesystem addresses of cylinder group data structures. */ #define cgbase(fs, c) ((ufs_daddr_t)((fs)->fs_fpg * (c))) #define cgdmin(fs, c) (cgstart(fs, c) + (fs)->fs_dblkno) /* 1st data */ @@ -492,9 +492,9 @@ struct ocg { /* * Macros for handling inode numbers: - * inode number to file system block offset. + * inode number to filesystem block offset. * inode number to cylinder group number. - * inode number to file system block address. + * inode number to filesystem block address. */ #define ino_to_cg(fs, x) ((x) / (fs)->fs_ipg) #define ino_to_fsba(fs, x) \ @@ -503,8 +503,8 @@ struct ocg { #define ino_to_fsbo(fs, x) ((x) % INOPB(fs)) /* - * Give cylinder group number for a file system block. - * Give cylinder group block number for a file system block. + * Give cylinder group number for a filesystem block. + * Give cylinder group block number for a filesystem block. */ #define dtog(fs, d) ((d) / (fs)->fs_fpg) #define dtogd(fs, d) ((d) % (fs)->fs_fpg) @@ -563,7 +563,7 @@ struct ocg { ((off_t)((fs)->fs_dsize) * (percentreserved) / 100)) /* - * Determining the size of a file block in the file system. + * Determining the size of a file block in the filesystem. */ #define blksize(fs, ip, lbn) \ (((lbn) >= NDADDR || (ip)->i_size >= smalllblktosize(fs, (lbn) + 1)) \ @@ -594,7 +594,7 @@ struct ocg { #define INOPF(fs) ((fs)->fs_inopb >> (fs)->fs_fragshift) /* - * Number of indirects in a file system block. + * Number of indirects in a filesystem block. */ #define NINDIR(fs) ((fs)->fs_nindir) diff --git a/sys/ufs/ufs/README.acls b/sys/ufs/ufs/README.acls index aabf333fcb84..cd2287839b31 100644 --- a/sys/ufs/ufs/README.acls +++ b/sys/ufs/ufs/README.acls @@ -22,30 +22,30 @@ Support for UFS access control lists may be enabled by adding: to your kernel configuration. As ACLs rely on the availability of extended attributes, you must also enable support for extended attributes on the -underlying file system. Currently, this requires the use of UFS EAs, which +underlying filesystem. Currently, this requires the use of UFS EAs, which may be enabled by adding: options UFS_EXTATTR -to your kernel. Because of file system mount atomicity requirements, +to your kernel. Because of filesystem mount atomicity requirements, it is also recommended that: options UFS_EXTATTR_AUTOSTART be added to the kernel so as to support the atomic enabling of the -required extended attributes with the file system mount operation. To +required extended attributes with the filesystem mount operation. To enable ACLs, two extended attributes must be available in the EXTATTR_NAMESPACE_SYSTEM namespace: "posix1e.acl_access", which holds the access ACL, and "posix1e.acl_default" which holds the default ACL for directories. If you're using UFS Extended Attributes, the following commands may be used to create the necessary EA backing files for -ACLs in the file system root of each file system. In these examples, -the root file system is used; see README.extattr for more details. +ACLs in the filesystem root of each filesystem. In these examples, +the root filesystem is used; see README.extattr for more details. mkdir -p /.attribute/system cd /.attribute/system extattrctl initattr -p / 388 posix1e.acl_access extattrctl initattr -p / 388 posix1e.acl_default -On the next mount of the root file system, the attributes will be +On the next mount of the root filesystem, the attributes will be automatically started, and ACLs will be enabled. diff --git a/sys/ufs/ufs/README.extattr b/sys/ufs/ufs/README.extattr index dd5aa40989ea..3928892cdef9 100644 --- a/sys/ufs/ufs/README.extattr +++ b/sys/ufs/ufs/README.extattr @@ -13,7 +13,7 @@ the form name=value, where name is an nul-terminated string in the style of a filename, and value is a binary blob of zero or more bytes. The UFS extended attribute service layers support for extended attributes onto a backing file, in the style of the quota implementation, meaning that it -requires no underlying format changes in the file system. This design +requires no underlying format changes in the filesystem. This design choice exchanges simplicity, usability and easy deployment for performance. When defined, extended attribute names exist in a series of disjoint namespaces: currently, two namespaces are defined: @@ -28,12 +28,12 @@ Support for UFS extended attributes may be enabled by adding: options UFS_EXTATTR -to your kernel configuration file. This allows UFS-based file systems to +to your kernel configuration file. This allows UFS-based filesystems to support extended attributes, but requires manual administration of EAs using the extattrctl tool, including the starting of EA support for each -file system, and the enabling of individual attributes for the file +filesystem, and the enabling of individual attributes for the file system. The extattrctl utility may be used to initialize backing files -before first use, to start and stop EA service on a file system, and to +before first use, to start and stop EA service on a filesystem, and to enable and disable named attributes. The command lines for extattrctl take the following forms: @@ -43,7 +43,7 @@ take the following forms: extattrctl enable [path] [attrnamespace] [attrname] [attrfile] extattrctl disable [path] [attrnamespace] [attrname] -In each case, [path] is used to indicate the mounted file system on which +In each case, [path] is used to indicate the mounted filesystem on which to perform the operation. [attrnamespace] refers to the namespace in which the attribute is being manipulated, and may be "system" or "user". The [attrname] is the attribute name to use for the operation. The @@ -56,10 +56,10 @@ creating a sparse backing file. This prevents attribute operations from failing in low disk-space conditions (which can be important when EAs are used for security purposes), but pre-allocation will consume space proportional to the product of the defined maximum attribute size and -number of attributes on the specified file system. +number of attributes on the specified filesystem. Manual configuration increases administrative overhead, but also -introduces the possibility of race conditions during file system mount, if +introduces the possibility of race conditions during filesystem mount, if EAs are used to support other features, as starting the EAs manually is not atomic with the mount operation. To address this problem, an additional kernel option may be defined to auto-start EAs on a UFS file @@ -68,19 +68,19 @@ system based on special directories at mount-time: options UFS_EXTATTR_AUTOSTART If this option is defined, UFS will search for a ".attribute" -sub-directory of the file system root during the mount operation. If it -is found, EA support will be started for the file system. UFS will then +sub-directory of the filesystem root during the mount operation. If it +is found, EA support will be started for the filesystem. UFS will then search for "system" and "user" sub-directories of the ".attribute" directory for any potential backing files, and enable an EA for each valid backing file with the name of the backing file as the attribute name. For example, by creating the following tree, the two EAs, posix1e.acl_access and posix1e.acl_default will be enabled in the system -namespace of the root file system, reserving space for attribute data: +namespace of the root filesystem, reserving space for attribute data: mkdir -p /.attribute/system cd /.attribute/system extattrctl initattr -p / 388 posix1e.acl_access extattrctl initattr -p / 388 posix1e.acl_default -On the next mount of the root file system, the attributes will be +On the next mount of the root filesystem, the attributes will be automatically started. diff --git a/sys/ufs/ufs/dinode.h b/sys/ufs/ufs/dinode.h index 368a88e3bb94..016879795185 100644 --- a/sys/ufs/ufs/dinode.h +++ b/sys/ufs/ufs/dinode.h @@ -43,7 +43,7 @@ #define _UFS_UFS_DINODE_H_ /* - * The root inode is the root of the file system. Inode 0 can't be used for + * The root inode is the root of the filesystem. Inode 0 can't be used for * normal purposes and historically bad blocks were linked to inode 1, thus * the root inode is 2. (Inode 1 is no longer used for this purpose, however * numerous dump tapes make this assumption, so we are stuck with it). diff --git a/sys/ufs/ufs/extattr.h b/sys/ufs/ufs/extattr.h index 70f1b9c1c361..96736903f4f1 100644 --- a/sys/ufs/ufs/extattr.h +++ b/sys/ufs/ufs/extattr.h @@ -29,7 +29,7 @@ */ /* * Developed by the TrustedBSD Project. - * Support for extended file system attributes. + * Support for extended filesystem attributes. */ #ifndef _UFS_UFS_EXTATTR_H_ diff --git a/sys/ufs/ufs/ufs_acl.c b/sys/ufs/ufs/ufs_acl.c index 242691a4743a..d1fc393b125c 100644 --- a/sys/ufs/ufs/ufs_acl.c +++ b/sys/ufs/ufs/ufs_acl.c @@ -242,7 +242,7 @@ ufs_getacl(ap) POSIX1E_ACL_ACCESS_EXTATTR_NAME, &len, (char *) ap->a_aclp, ap->a_td); switch (error) { - /* XXX: If ufs_getacl() should work on file systems without + /* XXX: If ufs_getacl() should work on filesystems without * the EA configured, add case EOPNOTSUPP here. */ case ENOATTR: /* @@ -301,7 +301,7 @@ ufs_getacl(ap) * and an empty ACL, as required by POSIX.1e. */ switch (error) { - /* XXX: If ufs_getacl() should work on file systems without + /* XXX: If ufs_getacl() should work on filesystems without * the EA configured, add case EOPNOTSUPP here. */ case ENOATTR: bzero(ap->a_aclp, sizeof(*ap->a_aclp)); @@ -434,7 +434,7 @@ ufs_setacl(ap) } /* * Map lack of attribute definition in UFS_EXTATTR into lack of - * support for ACLs on the file system. + * support for ACLs on the filesystem. */ if (error == ENOATTR) return (EOPNOTSUPP); diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 92469a600e64..69df5ad1287b 100644 --- a/sys/ufs/ufs/ufs_extattr.c +++ b/sys/ufs/ufs/ufs_extattr.c @@ -38,7 +38,7 @@ */ /* * Developed by the TrustedBSD Project. - * Support for file system extended attribute: UFS-specific support functions. + * Support for filesystem extended attribute: UFS-specific support functions. */ #include "opt_ufs.h" @@ -318,7 +318,7 @@ ufs_extattr_lookup(struct vnode *start_dvp, int lockparent, char *dirname, #endif /* !UFS_EXTATTR_AUTOSTART */ /* - * Enable an EA using the passed file system, backing vnode, attribute name, + * Enable an EA using the passed filesystem, backing vnode, attribute name, * namespace, and proc. Will perform a VOP_OPEN() on the vp, so expects vp * to be locked when passed in. The vnode will be returned unlocked, * regardless of success/failure of the function. As a result, the caller @@ -469,7 +469,7 @@ ufs_extattr_autostart(struct mount *mp, struct thread *td) int error; /* - * Does UFS_EXTATTR_FSROOTSUBDIR exist off the file system root? + * Does UFS_EXTATTR_FSROOTSUBDIR exist off the filesystem root? * If so, automatically start EA's. */ error = VFS_ROOT(mp, &rvp); @@ -581,7 +581,7 @@ unlock: } /* - * Enable a named attribute on the specified file system; provide an + * Enable a named attribute on the specified filesystem; provide an * unlocked backing vnode to hold the attribute data. */ static int diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c index a5d219fdafbf..7b37f54e3e36 100644 --- a/sys/ufs/ufs/ufs_lookup.c +++ b/sys/ufs/ufs/ufs_lookup.c @@ -81,7 +81,7 @@ SYSCTL_INT(_debug, OID_AUTO, dircheck, CTLFLAG_RW, &dirchk, 0, ""); /* * Convert a component of a pathname into a pointer to a locked inode. * This is a very central and rather complicated routine. - * If the file system is not maintained in a strict tree hierarchy, + * If the filesystem is not maintained in a strict tree hierarchy, * this can result in a deadlock situation (see comments in code below). * * The cnp->cn_nameiop argument is LOOKUP, CREATE, RENAME, or DELETE depending @@ -574,7 +574,7 @@ found: * infrequently since we cannot avoid this race condition without * implementing a sophisticated deadlock detection algorithm. * Note also that this simple deadlock detection scheme will not - * work if the file system has any hard links other than ".." + * work if the filesystem has any hard links other than ".." * that point backwards in the directory structure. */ pdp = vdp; diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c index 4e156fca1574..ab4a0af7500e 100644 --- a/sys/ufs/ufs/ufs_quota.c +++ b/sys/ufs/ufs/ufs_quota.c @@ -383,7 +383,7 @@ chkdquot(ip) */ /* - * Q_QUOTAON - set up a quota file for a particular file system. + * Q_QUOTAON - set up a quota file for a particular filesystem. */ int quotaon(td, mp, type, fname) diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 5eba4bf10324..5981cd13d858 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -341,9 +341,9 @@ ufs_access(ap) #endif /* - * Disallow write attempts on read-only file systems; + * Disallow write attempts on read-only filesystems; * unless the file is a socket, fifo, or a block or - * character device resident on the file system. + * character device resident on the filesystem. */ if (mode & VWRITE) { switch (vp->v_type) { @@ -523,9 +523,9 @@ ufs_setattr(ap) } if (vap->va_size != VNOVAL) { /* - * Disallow write attempts on read-only file systems; + * Disallow write attempts on read-only filesystems; * unless the file is a socket, fifo, or a block or - * character device resident on the file system. + * character device resident on the filesystem. */ switch (vp->v_type) { case VDIR: diff --git a/sys/ufs/ufs/ufsmount.h b/sys/ufs/ufs/ufsmount.h index 12010a3a06ba..c53bbb203ec2 100644 --- a/sys/ufs/ufs/ufsmount.h +++ b/sys/ufs/ufs/ufsmount.h @@ -111,7 +111,7 @@ struct ufsmount { #define VFSTOUFS(mp) ((struct ufsmount *)((mp)->mnt_data)) /* - * Macros to access file system parameters in the ufsmount structure. + * Macros to access filesystem parameters in the ufsmount structure. * Used by ufs_bmap. */ #define MNINDIR(ump) ((ump)->um_nindir) diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index fbe2921bf7a9..4292a53cf059 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -414,7 +414,7 @@ vnode_pager_iodone(bp) } /* - * small block file system vnode pager input + * small block filesystem vnode pager input */ static int vnode_pager_input_smlfs(object, m) |