04-A.6.1: Partitions and Labels continued (2024)

  1. Last updated
  2. Save as PDF
  • Page ID
    26837
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vectorC}[1]{\textbf{#1}}\)

    See Also
    Type

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}}\)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}\)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Partitions

    Extended Partitions

    While in most circ*mstances four partitions are enough, there are circ*mstances in which you might need to create more than four partitions. This is the reason for an Extended partition.

    An Extended partition is a special type of partition that contains "Free Space" in which more than the four Primary partitions can be created. Partitions created within the Extended partition are called Logical partitions, and any number of Logical partitions can be created within an Extended partition. The following conventions apply to Extended partitions:

    1. When you create an Extended partition, it occupies one of the four Primary partition spots. When an Extended partition exists on a hard drive, only three Primary partitions may co-exist with it. If there are four Primary partitions already on a hard drive and you wish to create an Extended partition in which to create more, one of the Primary partitions must be deleted in order to create it.
    2. Only one extended partition may be created on a hard drive (though you can have one extended partition on each of the hard drives connected to your system). The partition editor will not allow it, and it would serve no purpose at any rate. If you need the extra Extended partition space, you only need expand the one you have.
    3. An Extended partition cannot be formatted with a filesystem, such as ext4, FAT, or NTFS, nor can it directly hold data. That is the function of the Logical Drives which are created within it.
    04-A.6.1: Partitions and Labels continued (1)

    Logical Partitions

    A partition created within an Extended partition is called a Logical partition. Any number of Logical partitions may be created within an Extended partition, and they may be formatted with any filesystem.

    All Operating Systems that I am aware of are able to access any Logical partition that is formatted to a compatible filesystem. For instance, while Windows will not recognize a Linux ext2 partition without a third-party driver, it will be able to access any partition formatted with FAT or NTFS, depending on the version of Windows. Linux, of course, will access all of these.

    The image on the left shows the partitioning on my Linux system using the gparted editor. The / (root) and /usr partitions are the primary partitions. Then notice that /dev/sda3 is an extended partition. Within this extended partition then are the other three partitions on this system: /var, /home and the swap partition.

    File System Labels

    File system labels are assigned to file systems for easy identification. The labels may be up to 16 characters long and can be displayed or changed using the e2label command for ext3 or ext4 file systems. You MUST be logged in as root or use the sudo capability to execute the e2label command. You enter the /dev/designation for the partition and the name you want to use for that partition. For the above image, the command that was used to set the /dev/sda6 to be /home is:

    # e2label /dev/sda6 home

    Swap Space

    The primary function of swap space is to substitute disk space for RAM memory when real RAM fills up and more space is needed.

    For example, assume you have a computer system with 8GB of RAM. If you start up programs that don’t fill that RAM, everything is fine and no swapping is required. But suppose the spreadsheet you are working on grows when you add more rows, and that, plus everything else that's running, now fills all of RAM. Without swap space available, you would have to stop working on the spreadsheet until you could free up some of your limited RAM by shutting down some other programs.

    The kernel uses a memory management program that detects blocks (pages)of memory in which the contents have not been used recently. The memory management program swaps enough of these relatively infrequently used pages of memory out to a special partition on the hard drive specifically designated for “paging,” or swapping. This frees up RAM and makes room for more data to be entered into your spreadsheet. Those pages of memory swapped out to the hard drive are tracked by the kernel’s memory management code and can be paged back into RAM if they are needed.

    The total amount of memory in a Linux computer is the RAM plus swap space and is referred to as virtual memory. Usually, the swap space equals twice the RAM capacity.

    Adapted from:
    "How to Partition / Partitioning Basics" by Ben64, Community Help Wiki is licensed under CC BY-SA 4.0
    "An introduction to swap space on Linux systems" by David Both, OpenSource.com is licensed under CC BY-SA 4.0

    04-A.6.1: Partitions and Labels continued (2024)
    Top Articles
    What is a Retail Investor? The Pros and Cons of Being a Retail Investor
    "The Strategic Imperative: Why the Head of HR Should Report Directly to the CEO"
    Average Jonas Wife
    Fat Hog Prices Today
    Soap2Day Autoplay
    La connexion à Mon Compte
    Computer Repair Tryon North Carolina
    Cosentyx® 75 mg Injektionslösung in einer Fertigspritze - PatientenInfo-Service
    Visustella Battle Core
    Joe Gorga Zodiac Sign
    Youtube Combe
    World of White Sturgeon Caviar: Origins, Taste & Culinary Uses
    Premier Boating Center Conroe
    Gina's Pizza Port Charlotte Fl
    Hssn Broadcasts
    Robert Malone é o inventor da vacina mRNA e está certo sobre vacinação de crianças #boato
    Keniakoop
    Breakroom Bw
    Pricelinerewardsvisa Com Activate
    Convert 2024.33 Usd
    Directions To Advance Auto
    Roof Top Snipers Unblocked
    The best TV and film to watch this week - A Very Royal Scandal to Tulsa King
    Rondom Ajax: ME grijpt in tijdens protest Ajax-fans bij hoofdbureau politie
    Craigslist Missoula Atv
    Iu Spring Break 2024
    Roane County Arrests Today
    Aliciabibs
    Directions To Nearest T Mobile Store
    Mandy Rose - WWE News, Rumors, & Updates
    Creed 3 Showtimes Near Island 16 Cinema De Lux
    Lesson 1.1 Practice B Geometry Answers
    Log in or sign up to view
    Purdue Timeforge
    Abga Gestation Calculator
    Wisconsin Volleyball Team Leaked Uncovered
    Life Insurance Policies | New York Life
    Phone number detective
    Plato's Closet Mansfield Ohio
    Texters Wish You Were Here
    Agematch Com Member Login
    11301 Lakeline Blvd Parkline Plaza Ctr Ste 150
    60 X 60 Christmas Tablecloths
    Reese Witherspoon Wiki
    התחבר/י או הירשם/הירשמי כדי לראות.
    Cl Bellingham
    Wolf Of Wallstreet 123 Movies
    300+ Unique Hair Salon Names 2024
    Every Type of Sentinel in the Marvel Universe
    San Diego Padres Box Scores
    Loss Payee And Lienholder Addresses And Contact Information Updated Daily Free List Bank Of America
    Die 10 wichtigsten Sehenswürdigkeiten in NYC, die Sie kennen sollten
    Latest Posts
    Article information

    Author: Mr. See Jast

    Last Updated:

    Views: 5491

    Rating: 4.4 / 5 (55 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Mr. See Jast

    Birthday: 1999-07-30

    Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

    Phone: +5023589614038

    Job: Chief Executive

    Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

    Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.