Deleted Added
full compact
fs.5 (115211) fs.5 (119893)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)fs.5 8.2 (Berkeley) 4/19/94
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)fs.5 8.2 (Berkeley) 4/19/94
33.\" $FreeBSD: head/share/man/man5/fs.5 115211 2003-05-21 15:55:40Z ru $
33.\" $FreeBSD: head/share/man/man5/fs.5 119893 2003-09-08 19:57:22Z ru $
34.\"
35.Dd April 19, 1994
36.Dt FS 5
37.Os
38.Sh NAME
39.Nm fs ,
40.Nm inode
41.Nd format of file system volume
42.Sh SYNOPSIS
43.In sys/param.h
44.In ufs/ffs/fs.h
45.Pp
46.In sys/types.h
47.In sys/lock.h
48.In ufs/ufs/quota.h
49.In ufs/ufs/inode.h
50.Sh DESCRIPTION
51The files
34.\"
35.Dd April 19, 1994
36.Dt FS 5
37.Os
38.Sh NAME
39.Nm fs ,
40.Nm inode
41.Nd format of file system volume
42.Sh SYNOPSIS
43.In sys/param.h
44.In ufs/ffs/fs.h
45.Pp
46.In sys/types.h
47.In sys/lock.h
48.In ufs/ufs/quota.h
49.In ufs/ufs/inode.h
50.Sh DESCRIPTION
51The files
52.Aq Pa fs.h
52.In fs.h
53and
53and
54.Aq Pa inode.h
54.In inode.h
55declare several structures, defined variables and macros
56which are used to create and manage the underlying format of
57file system objects on random access devices (disks).
58.Pp
59The block size and number of blocks which
60comprise a file system are parameters of the file system.
61Sectors beginning at
62.Dv BBLOCK

--- 6 unchanged lines hidden (view full) ---

69The actual file system begins at sector
70.Dv SBLOCK
71with the
72.Em super-block
73that is of size
74.Dv SBLOCKSIZE .
75The following structure describes the super-block and is
76from the file
55declare several structures, defined variables and macros
56which are used to create and manage the underlying format of
57file system objects on random access devices (disks).
58.Pp
59The block size and number of blocks which
60comprise a file system are parameters of the file system.
61Sectors beginning at
62.Dv BBLOCK

--- 6 unchanged lines hidden (view full) ---

69The actual file system begins at sector
70.Dv SBLOCK
71with the
72.Em super-block
73that is of size
74.Dv SBLOCKSIZE .
75The following structure describes the super-block and is
76from the file
77.Aq Pa ufs/ffs/fs.h :
77.In ufs/ffs/fs.h :
78.Bd -literal
79/*
80 * Super block for an FFS filesystem.
81 */
82struct fs {
83 int32_t fs_firstfield; /* historic filesystem linked list, */
84 int32_t fs_unused_1; /* used for incore super blocks */
85 int32_t fs_sblkno; /* offset of super-block in filesys */

--- 286 unchanged lines hidden (view full) ---

372.Ux
373file system.
374There is a unique inode allocated
375for each active file,
376each current directory, each mounted-on file,
377text file, and the root.
378An inode is `named' by its device/i-number pair.
379For further information, see the include file
78.Bd -literal
79/*
80 * Super block for an FFS filesystem.
81 */
82struct fs {
83 int32_t fs_firstfield; /* historic filesystem linked list, */
84 int32_t fs_unused_1; /* used for incore super blocks */
85 int32_t fs_sblkno; /* offset of super-block in filesys */

--- 286 unchanged lines hidden (view full) ---

372.Ux
373file system.
374There is a unique inode allocated
375for each active file,
376each current directory, each mounted-on file,
377text file, and the root.
378An inode is `named' by its device/i-number pair.
379For further information, see the include file
380.Aq Pa ufs/ufs/inode.h .
380.In ufs/ufs/inode.h .
381.Sh HISTORY
382A super-block structure named filsys appeared in
383.At v6 .
384The file system described in this manual appeared
385in
386.Bx 4.2 .
381.Sh HISTORY
382A super-block structure named filsys appeared in
383.At v6 .
384The file system described in this manual appeared
385in
386.Bx 4.2 .