[Fwd: mount]

Feuer (feuer@his.com)
Sun, 11 Oct 1998 20:25:49 -0400


This is a multi-part message in MIME format.
--------------EE4085C2C956FABD122EB7F0
Content-Type: text/plain; charset=x-user-defined
Content-Transfer-Encoding: 8bit

Help!

David Feuer wrote:

> While upgrading to linux 2.1.125, I upgraded a bunch of system
> utilities.  Guess what!  One of them messed something up!  Now when I
> mount something, I get
>
> # mount /mnt/cdrom
> [mntent]: line 0 in /etc/fstab is bad; rest of file ignored.
>
> But it works anyway.
>
> When I try
>
> # mount /dev/pts
> I get
> [mntent]: line 0 in /etc/fstab is bad; rest of file ignored
> mount: can't find /dev/pts in /etc/mtab or /etc/fstab
>
> and it doesn't mount.
> Any ideas?
> My fstab looks like this:
>
> /dev/hda11              /                       ext2    defaults 1 1
> /dev/hda6               /boot                   ext2    defaults 1 2
> /dev/hda8       /home   ext2     exec,dev,suid,rw,usrquota 1 2
> /dev/hda7               /usr                    ext2    defaults 1 2
> /dev/hda9       /usr/local      ext2     exec,dev,suid,rw 1 2
> /dev/hda10              swap                    swap    defaults 0 0
> /dev/hda1       /win95  vfat
> exec,suid,rw,conv=binary,uid=0,gid=507,mode=0770,umask=07,protect  0 0
> /dev/hda5               /win95e                 vfat    defaults 0 0
> /dev/fd0                /mnt/floppy             ext2    noauto 0 0
> /dev/cdrom      /mnt/cdrom      iso9660
> user,exec,nodev,nosuid,ro,noauto 0 0
> none                    /proc                   proc    defaults 0 0
> /dev/fd0        /mnt/winflop    vfat
> user,exec,nodev,nosuid,rw,noauto,conv=binary,gid=507,perm=774 1 1
> none           /dev/pts        devpts  gid=5,mode=620  0 0
>
> --
>
> Remove "NOSPAM" to reply.
>   ______________________________
> /  David Feuer                  \
> |  dfeuer@NOSPAMbinx.mbhs.edu   |
> |  feuer@NOSPAMhis.com          |
> |  daf@morseNOSPAM.usno.navy.mil|
> \  david@NOSPAMfeuer.his.com    /
>   -----------------------------

--------------EE4085C2C956FABD122EB7F0
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Message-ID: <362035F2.8E2C122@feuer.his.com>
Date: Sun, 11 Oct 1998 00:37:06 -0400
From: David Feuer <david@feuer.his.com>
Reply-To: feuer@!NOSPAM!his.com
X-Mailer: Mozilla 4.5b2 [en] (X11; I; Linux 2.1.125 i686)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.linux.development.system
Subject: mount
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: feuer.his.com
Organization: Heller Information Services
Path: news4.his.com!feuer.his.com

While upgrading to linux 2.1.125, I upgraded a bunch of system
utilities. Guess what! One of them messed something up! Now when I
mount something, I get

# mount /mnt/cdrom
[mntent]: line 0 in /etc/fstab is bad; rest of file ignored.

But it works anyway.

When I try

# mount /dev/pts
I get
[mntent]: line 0 in /etc/fstab is bad; rest of file ignored
mount: can't find /dev/pts in /etc/mtab or /etc/fstab

and it doesn't mount.
Any ideas?
My fstab looks like this:

/dev/hda11 / ext2 defaults
1 1
/dev/hda6 /boot ext2 defaults
1 2
/dev/hda8 /home ext2 exec,dev,suid,rw,usrquota 1 2
/dev/hda7 /usr ext2 defaults
1 2
/dev/hda9 /usr/local ext2 exec,dev,suid,rw 1 2
/dev/hda10 swap swap defaults
0 0
/dev/hda1 /win95 vfat
exec,suid,rw,conv=binary,uid=0,gid=507,mode=0770,u
mask=07,protect 0 0
/dev/hda5 /win95e vfat defaults
0 0
/dev/fd0 /mnt/floppy ext2 noauto
0 0
/dev/cdrom /mnt/cdrom iso9660
user,exec,nodev,nosuid,ro,noauto 0 0
none /proc proc defaults
0 0
/dev/fd0 /mnt/winflop vfat
user,exec,nodev,nosuid,rw,noauto,conv=b
inary,gid=507,perm=774 1 1
#none /dev/pts devpts gid=5,mode=620 0 0

-- 

Remove "NOSPAM" to reply. ______________________________ / David Feuer \ | dfeuer@NOSPAMbinx.mbhs.edu | | feuer@NOSPAMhis.com | | daf@morseNOSPAM.usno.navy.mil| \ david@NOSPAMfeuer.his.com / -----------------------------

--------------EE4085C2C956FABD122EB7F0--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/