Re: confusing /etc/fstab

From: Paul Howarth (paul_at_city-fan.org)
Date: 01/31/05

  • Next message: ne...: "Re: A KDevelop question."
    Date: Mon, 31 Jan 2005 13:35:52 +0000
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Robert Storey wrote:
    > What's confusing to me here is that, in Fedora, I can't figure out which
    > partition is mounted where. Is my / partition /dev/hda3, or /dev/hda5,
    > or ??? Ditto for swap, or any other partition. If I wanted to make
    > some change in the partition table (for example, adding a /home
    > partition) I have no idea how I could get /etc/fstab to recognize it.
    >
    > I've tried making some sense out of fstab-sync, but so far it's pretty
    > opague. Where does Fedora store the partition information? Anybody know
    > some links that can explain this messy filesystem table?

    If you just run the command "mount" (you don't have to be root), you'll
    see which partitions are mounted where. You can use either hardcoded
    partition names such as "/dev/hda7" or filesystem label references such
    as "LABEL=/home" in /etc/fstab; either will work OK. You can assign a
    label to a partition when you create the filesystem on it by using the
    -L option in mke2fs, and you can set or change the label of an existing
    partition using the -L option in tune2fs.

    Paul.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: ne...: "Re: A KDevelop question."

    Relevant Pages

    • Re: Error on first boot
      ... But now once everything is done a Fedora ... I would take this to mean that fsck can't find a partition whose label is "/". ...
      (Fedora)
    • Re: How to set label on swap partition
      ... so it is no longer recognized by Fedora as a swap. ... > doesn't want to set label since it is not a ext2/ext3 partition. ...
      (Fedora)
    • Re: Moving / mountpoint
      ... >>I'd suggest making the partition on the new disk the same size or bigger ... >>partition across rather than mounting the filesystem and using a regular ... > using a label. ... Since the original entry used ...
      (Fedora)
    • Labels
      ... You will find that the installer for f8 is setting up LABEL for the root partition which is /1 and for the swap partition swap=/dev/sda2 and it works fine. ... For Fedora 7 the root partition is LABEL=f7-main and the boot partition is LABEL=f7-boot. ...
      (Fedora)
    • How to set label on swap partition
      ... It looks like running Ubuntu LiveCD removed a label from my swap ... so it is no longer recognized by Fedora as a swap. ... doesn't want to set label since it is not a ext2/ext3 partition. ...
      (Fedora)