Re: ``Slices'' vs. ``partitions''?

From: Philippe Regnauld (none@regnauld--deepo.prosa.dk.lh.bsd-dk.dk)
Date: Fri 03 Oct 1997 - 11:00:58 CEST


Date: Fri, 3 Oct 1997 11:00:58 +0200
From: Philippe Regnauld <none@regnauld--deepo.prosa.dk.lh.bsd-dk.dk>
To: bsd-dk@hotel.prosa.dk
Subject: Re: ``Slices'' vs. ``partitions''?

Niels Kristian Bech Jensen writes:
> Hi,
> Can anybody explain the concept of ``slices'' vs. ``partitions'' in
> FreeBSD?

        In FreeBSD terminology:

        - a SLICE is one of the 4 segments recognized by the BIOS, which
          DOS uses as "primary partitions"

        i.e.:

    Disk -+-- 0
          |
          +-- 1
          |
          +-- 2
          |
          +-- 3

        (but the numbering starts at 1, and goes to 4 from FBSD's point
        of view):

        Say you install FreeBSD on SLICE 1, and DOS or Linux on SLICE 0,
        then you refer to the slices like this:

        FreeBSD: /dev/sd0s2
        DOS: /dev/sd0s1

        - a PARTITION is the subpart of the FreeBSD slice:

          a
          b
          c
          d
          e
          f
          g
          h

          ... so the root and swap partition on the FreeBSD slice in our example is:

          /dev/sd0s2a
          /dev/sd0s2b

          I _think_ the notion of extended DOS "partitions is supported in
          FreeBSD, but I can't remember how -- check the handbook

        Also, when you only have one FreeBSD slice on the disk, you can
        say:

                /dev/sd0a
                /dev/sd0f
                etc...

        and omit the "s2" part, since FreeBSD "knows" what you're trying
        to mount.

        To mount the MSDOS SLICE, you would say:

        mount -t msdos /dev/sd0s1 /mnt

        There you go!

-- 
                                                              -- Phil

-[ Philippe Regnauld / Systems Administrator / regnauld@deepo.prosa.dk ]- -[ Location.: +55.4N +11.3E PGP Key: finger regnauld@hotel.prosa.dk ]-



This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:23:59 CET