summaryrefslogtreecommitdiff
path: root/sag-0.6.1-www/Invisible/sag-0.6/node40.html
blob: 0e74e36a9a2dfa04e35a3a2bafc0db31df54b260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Device files and partitions</TITLE>
<META NAME="description" CONTENT="Device files and partitions">
<META NAME="keywords" CONTENT="sag">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="sag.css">
</HEAD>
<BODY LANG="EN" >
 <A NAME="tex2html815" HREF="node41.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html813" HREF="node35.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html809" HREF="node39.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html817" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html818" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html816" HREF="node41.html">Filesystems</A>
<B>Up:</B> <A NAME="tex2html814" HREF="node35.html">Partitions</A>
<B> Previous:</B> <A NAME="tex2html810" HREF="node39.html">Partitioning a hard disk</A>
<BR> <P>
<H2><A NAME="SECTION00575000000000000000">Device files and partitions</A></H2>
<P>
	Each partition and extended partition has its own device file.
	The naming convention for these files is that a partition's
	number is appended after the name of the whole disk, with the
	convention that 1-4 are primary partitions (regardless of
	how many primary partitions there are) and 5-8 
	are logical partitions (regardless of within which primary
	partition they reside).  For example, <tt>/dev/hda1</tt><A NAME="1545">&#160;</A> is the
	first primary partition on the first IDE hard disk, and
	<tt>/dev/sdb7</tt><A NAME="1547">&#160;</A> is the third extended partition on the second
	SCSI hard disk.
	The device list in&nbsp;[<A HREF="node113.html#device-list">Anv</A>]
	gives more information.
<P>
<BR> <HR>
<P><ADDRESS>
<I>Lars Wirzenius <BR>
Sat Nov 15 02:32:11 EET 1997</I>
</ADDRESS>
</BODY>
</HTML>