source: BOOK/partitioning/common/mounting.xml@ 0b44df8

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 0b44df8 was 1d6cb8e, checked in by Chris Staub <chris@…>, 11 years ago

Use more specific command on mounting page

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-partitioning-mounting">
9 <?dbhtml filename="mounting.html"?>
10
11 <title>Mounting the New Partition</title>
12
13 <para>Now that a file system has been created, the partition needs to
14 be made accessible. In order to do this, the partition needs to be
[c07fa0e]15 mounted at a chosen mount point.</para>
[3f8be484]16
[c07fa0e]17 <para>If you haven't already, choose a mount point and assign it to the
18 <envar>CLFS</envar> environment variable by running:</para>
[3f8be484]19
[c07fa0e]20<screen><userinput>export CLFS=<replaceable>[/mnt/clfs]</replaceable></userinput></screen>
[3f8be484]21
[a8f30b25]22 <para>Next, create the mount point and mount the CLFS file system by
[3f8be484]23 running:</para>
24
[040521bc]25<screen><userinput>mkdir -pv ${CLFS}
26mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}</userinput></screen>
[3f8be484]27
28 <para>Replace <replaceable>[xxx]</replaceable> with the designation of
[a8f30b25]29 the CLFS partition.</para>
[3f8be484]30
[fb40919]31 <para>If using multiple partitions for CLFS (e.g., one for <filename
[3f8be484]32 class="directory">/</filename> and another for <filename
33 class="directory">/usr</filename>), mount them using:</para>
34
[040521bc]35<screen><userinput>mkdir -pv ${CLFS}
36mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}
37mkdir -v ${CLFS}/usr
38mount -v /dev/<replaceable>[yyy]</replaceable> ${CLFS}/usr</userinput></screen>
[3f8be484]39
40 <para>Replace <replaceable>[xxx]</replaceable> and
41 <replaceable>[yyy]</replaceable> with the appropriate partition
42 names.</para>
43
44 <para>Ensure that this new partition is not mounted with permissions
[cedee4d]45 that are too restrictive (such as the <option>nosuid</option>,
46 <option>nodev</option>, or <option>noatime</option> options).
[1d6cb8e]47 Run <command>mount | grep ${CLFS}</command> to see
[a8f30b25]48 what options are set for the mounted CLFS partition. If
[3f8be484]49 <option>nosuid</option>, <option>nodev</option>, and/or
50 <option>noatime</option> are set, the partition will need to be
51 remounted.</para>
52
53 <para>Now that there is an established place to work, it is time to
54 download the packages.</para>
55
56</sect1>
Note: See TracBrowser for help on using the repository browser.