⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1127-1128.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux Complete Command Reference:File Formats:EarthWeb Inc.-</TITLE>

</HEAD>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!-- ISBN=0672311046 //-->

<!-- TITLE=Linux Complete Command Reference//-->

<!-- AUTHOR=Red Hat//-->

<!-- PUBLISHER=Macmillan Computer Publishing//-->

<!-- IMPRINT=Sams//-->

<!-- CHAPTER=05 //-->

<!-- PAGES=1103-1208 //-->

<!-- UNASSIGNED1 //-->

<!-- UNASSIGNED2 //-->



<P><CENTER>

<a href="1125-1126.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="1129-1130.html">Next</A></CENTER></P>







<A NAME="PAGENUM-1127"><P>Page 1127</P></A>







<P>The sixth field (fs_passno) is used by the fsck(8) program to determine the order in which filesystem checks are done

at reboot time. The root filesystem should be specified with a

fs_passno of 1, and other filesystems should have a

fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time

to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and

fsck will assume that the filesystem does not need to be checked.

</P>



<P>The proper way to read records from fstab is to use the routine

getmntent(3).

</P>



<P><B>

FILES

</B></P>



<P>/etc/fstab

</P>



<P><B>

BUGS

</B></P>



<P>The documentation in mount(8) is often more up-to-date.

</P>



<P><B>

SEE ALSO

</B></P>



<P>getmntent(3), mount(8), swapon(8), nfs(5)

</P>



<P><B>

HISTORY

</B></P>



<P>The fstab file format appeared in 4.0 BSD.

</P>



<P>Linux 0.99, 27 November 1993

</P>



<H3><A NAME="ch05_ 17">

groff_font

</A></H3>



<P>groff_font&#151;Format of groff device and font description files.

</P>



<P><B>

DESCRIPTION

</B></P>



<P>The groff_font format is roughly a superset of the

ditroff font format. Unlike the ditroff font format, there is no

associated binary format. The font files for device

name are stored in a directory devname. There are two types of file: a device

description file called DESC and for each font F, a font file called

F. These are text files; there is no associated binary format.

</P>



<P><B>

DESC File Format

</B></P>



<P>The DESC file can contain the following types of lines:

</P>



<TABLE>



<TR><TD>

res n

</TD><TD>

There are n machine units per inch.

</TD></TR><TR><TD>

hor n

</TD><TD>

The horizontal resolution is n machine units.

</TD></TR><TR><TD>

vert n

</TD><TD>

 The vertical resolution is n machine units.

</TD></TR><TR><TD>

sizescale n

</TD><TD>

The scale factor for point sizes. By default, this has a value of

1. One scaled point is equal to one point/n. The arguments to the

unitwidth and sizes commands are given in scaled points.

</TD></TR><TR><TD>

unitwidth n

</TD><TD>

 Quantities in the font files are given in machine units for fonts whose point size is

n scaled points.

</TD></TR><TR><TD>

tcommand

</TD><TD>

This means that the postprocessor can handle the

t and u output commands.

</TD></TR><TR><TD>

sizes s1 s2 ... sn0

</TD><TD>

This means that the device has fonts at

s1, s2,&#133;sn scaled points. The list of sizes must be terminated by a

0. Each si can also be a range of sizes m_n. The list

can extend over more than one line.

</TD></TR><TR><TD>

styles S1 S2 ... Sm

</TD><TD>

The first m font positions will be associated with styles

S1&#133;Sm.

</TD></TR><TR><TD>

fonts n F1 F2 F3 ... Fn

</TD><TD>

Fonts F1&#133;Fn will be mounted in the font positions

m+1,&#133;,m+n where m is the number of styles. This command may extend over more than one line. A font

name of 0 will cause no font to be mounted on the corresponding font position.

</TD></TR></TABLE>



<A NAME="PAGENUM-1128"><P>Page 1128</P></A>





<TABLE>



<TR><TD>

family fam

</TD><TD>

The default font family is fam.

</TD></TR><TR><TD>

charset

</TD><TD>

This line and everything following in the file are ignored. It is allowed for the sake

of backwards compatibility.

</TD></TR></TABLE>



<P>The res, unitwidth, fonts, and sizes lines are compulsory. Other commands are ignored by

troff but may be used by postprocessors to store arbitrary information about the device in the

DESC file.

</P>



<P><B>

FONT FILE FORMAT

</B></P>



<P>A font file has two sections. The first section is a sequence of lines, each containing a sequence of blank delimited words;

the first word in the line is a key, and subsequent words give a value for that key.

</P>



<TABLE>



<TR><TD>

name F

</TD><TD>

The name of the font is F.

</TD></TR><TR><TD>

spacewidth n

</TD><TD>

The normal width of a space is n.

</TD></TR><TR><TD>

slant n

</TD><TD>

The characters of the font have a slant of

n degrees. (Positive means forward.)

</TD></TR><TR><TD>

ligatures lig1 lig2 ... lign [0]

</TD><TD>

Characters lig1, lig2,&#133;,lign are ligatures; possible ligatures are

ff, fi, fl, and ffl. For backwards compatibility, the list of ligatures may be terminated with a

0. The list of ligatures may not extend over more than one line.

</TD></TR><TR><TD>

special

</TD><TD>

The font is special; this means that when a character is requested that is not

present in the current font, it will be searched for in any special fonts that are mounted.

</TD></TR></TABLE>



<P>Other commands are ignored by troff but may be used by postprocessors to store arbitrary information about the font in

the font file.

</P>



<P>The first section can contain comments, which start with the

# character and extend to the end of a line.

</P>



<P>The second section contains one or two subsections. It must contain a

charset subsection and it may also contain a

kernpairs subsection. These subsections can appear in any order. Each subsection starts with a word on a line by itself.

</P>



<P>The word charset starts the charset subsection. The

charset line is followed by a sequence of lines. Each line

gives information for one character. A line comprises a number of fields separated by blanks or tabs. The format is

</P>



<!-- CODE SNIP //-->

<PRE>

name metrics type code comment

</PRE>

<!-- END CODE SNIP //-->



<P>name identifies the character: if name is a single character

c, it corresponds to the groff input character c; if it is of the form

\c where c is a single character, then it corresponds to the

groff input character nc; otherwise, it corresponds to the

groff input character \[name] (if it is exactly two characters

xx, it can be entered as \(xx). groff supports eight-bit characters;

however, some utilities have difficulties with eight-bit characters. For this reason, there is a convention that the name

charn is equivalent to the single character whose code is

n. For example, char163 is equivalent to the character with code 163, which

is the pounds sterling sign in ISO Latin-1. The name &#151; is special and indicates that the character is unnamed; such

characters can only be used by means of the \N escape sequence in

troff.

</P>



<P>The type field gives the character type:

</P>



<TABLE>



<TR><TD>

1

</TD><TD>

The character has an descender, such as p.

</TD></TR><TR><TD>

2

</TD><TD>

The character has an ascender, such as b.

</TD></TR><TR><TD>

3

</TD><TD>

The character has both an ascender and a descender, such as(.

</TD></TR></TABLE>



<P>The code field gives the code that the postprocessor uses to print the character. The character can also be input to

groff using this code by means of the \N escape sequence. The code can be any integer. If it starts with a

0, it will be interpreted as octal; if it starts with

0x or 0X, it will be interpreted as hexadecimal.

</P>



<P>Anything on the line after the code field will be ignored.

</P>



<P>The metrics field has the form:

</P>



<!-- CODE SNIP //-->

<PRE>

width[,height[,depth[,italic_correction[,left_italic_correction

&Acirc;[,subscript_correction]]]]]

</PRE>

<!-- END CODE SNIP //-->





<P>There must not be any spaces between these subfields. Missing subfields are assumed to be

0. The subfields are all decimal integers. Because there is no associated binary format, these values are not required to fit into a variable of type

char as they

</P>







<P><CENTER>

<a href="1125-1126.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="1129-1130.html">Next</A></CENTER></P>







</td>
</tr>
</table>

<!-- begin footer information -->







</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -