Re: What have I done now seems weird

From: Jeff Vian (jvian10_at_charter.net)
Date: 09/28/04

  • Next message: Douglas Furlong: "LVM2 Snapshots causing reboot problems."
    To: kiwi-hawk@paradise.net.nz, For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Tue, 28 Sep 2004 10:31:57 -0500
    
    

    On Tue, 2004-09-28 at 01:14, Peter Cague wrote:
    > Hi
    >
    > I followed the instructions as per ntfs drives and did all the command
    > line stuff and they worked fine but when I put the command lines into my
    > fstab the come up as bad lines
    >
    > LABEL=/ / ext3 defaults
    > 1 1
    > none /dev/pts devpts gid=5,mode=620
    > 0 0
    > none /dev/shm tmpfs defaults
    > 0 0
    > LABEL=/home /home ext3 defaults
    > 1 2
    > none /proc proc defaults
    > 0 0
    > none /sys sysfs defaults
    > 0 0
    > LABEL=/usr /usr ext3 defaults
    > 1 2
    > /dev/hdb5 swap swap defaults
    > 0 0
    > /dev/cdrom /mnt/cdrom udf,iso9660
    > noauto,owner,kudzu,ro 0 0
    > /dev/fd0 /mnt/floppy auto
    > noauto,owner,kudzu 0 0

    Command line syntax WILL NOT work in fstab. Follow the fstab syntax.

    > /dev/hda1 /mnt/Windoz -t ntfs -r -o unmask=0222
    > /dev/hda2 /mnt/Bits -t ntfs -r -o unmask=0222
    >

    /dev/hda1 /mnt/Windoz ntfs noauto,users,ro 0 0

    This will allow any user to mount the filesystem, with full permissions,
    read only, and will not automatically mount it at boot time..

    Did you not notice the extreme difference between the lines you added
    and the structure of the original fstab lines above?

    man fstab for the full information on what options are available and the
    format required for each line.

    > if I run the two above lines at the prompt they work?
    >
    > Cheers
    > Pete
    >

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

  • Next message: Douglas Furlong: "LVM2 Snapshots causing reboot problems."

    Relevant Pages

    • RE: Machine not Booting - Continued
      ... with out the fstab /dev/md0 hashed out. ... have u tried to use the mount ... command to fix bad blocks like you suggested or has this done it already. ... within the Corus group of companies, ...
      (RedHat)
    • RE: Machine not Booting - Continued
      ... The entry in the fstab is now hashed ... command to fix bad blocks like you suggested or has this done it already. ... The error seems like its able to mount the partition but is not able to ... within the Corus group of companies, ...
      (RedHat)
    • Re: Message-ID: <4DED42CF.9000008@verizon.net>
      ... fstab if you simply want to mount a partition. ... for the command line which unfortunately don't exactly fit your ... should not plug / unplug any USB disks and keep the machine running. ...
      (Ubuntu)
    • Re: Message-ID: <4DED42CF.9000008@verizon.net>
      ... fstab if you simply want to mount a partition. ... for the command line which unfortunately don't exactly fit your ... should not plug / unplug any USB disks and keep the machine running. ...
      (Ubuntu)
    • Re: newbie in trouble - recovering fstab
      ... Somehow while I tried to find a way ... > of moving my /home directory to a partition of it's own everything is ... > Somehow trying to edit in vi from the command line, ... > an edited fstab, supposed to mount the new partition, i managed to ...
      (Fedora)