public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: Wayne Whitney <whitney@math.berkeley.edu>
Cc: Fabian Arias <dewback@vtr.net>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.9-ac12 - problem mounting reiserfs (parse error?)
Date: Wed, 19 Sep 2001 13:29:35 -0600	[thread overview]
Message-ID: <20010919132935.M14526@turbolinux.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0109191053400.1244-100000@portland.hansa.lan> <Pine.LNX.4.40.0109191248360.5460-100000@ronto.dewback.cl> <200109191904.f8JJ40001476@adsl-209-76-109-63.dsl.snfc21.pacbell.net>
In-Reply-To: <200109191904.f8JJ40001476@adsl-209-76-109-63.dsl.snfc21.pacbell.net>

On Sep 19, 2001  12:04 -0700, Wayne Whitney wrote:
> I also have reiserfs mounts from /etc/fstab failing in 2.4.9-ac12, so
> I straced the mount process.  With options "defaults" in /etc/fstab,
> "mount /usr/local" does:
> 
>   mount("/dev/hde8", "/usr/local", "reiserfs", 0xc0ed0000, 0x80597a8) = -1 EINVAL (Invalid argument)

Could you run gdb on your mount and show us what *data contains at this
point (last parameter).  According to man(8) "defaults" expands to
"rw,suid,dev,exec,auto,nouser,async".  You could also try putting
all of these in /etc/fstab explicitly and remove them one at a time
until we find which one it is complaining about.  Either mount(8)
shouldn't be appending this option to the mount data, or reiserfs
needs to parse it in the kernel.

> While "mount /dev/hde8 /usr/local" gives:
> 
>   mount("/dev/hde8", "/usr/local", "reiserfs", 0xc0ed0000, 0) = 0

Works OK, no option data passed.

> But with the options "notail" in /etc/fstab, "mount /usr/local" does:
> 
>   mount("/dev/hde8", "/usr/local", "reiserfs", 0xc0ed0000, 0x806d3e0) = 0

Works OK, has "notail" but not any other options from "defaults".

Cheers, Andreas
--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert


  reply	other threads:[~2001-09-19 19:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-19 15:02 2.4.9-ac12 - problem mounting reiserfs (parse error?) Pavel Roskin
2001-09-19 16:49 ` Fabian Arias
2001-09-19 19:04   ` Wayne Whitney
2001-09-19 19:29     ` Andreas Dilger [this message]
2001-09-19 20:14       ` Wayne Whitney
2001-09-19 20:29         ` Andreas Dilger
2001-09-19 21:08         ` Wayne Whitney
2001-09-19 19:47   ` boris
2001-09-19 20:31     ` Andreas Dilger
2001-09-20  0:25   ` [PATCH] " Pavel Roskin
2001-09-22  0:10     ` [PATCH] 2.4.9-ac13 - parse_options() in reiserfs still broken Pavel Roskin
2001-09-22  0:23       ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010919132935.M14526@turbolinux.com \
    --to=adilger@turbolabs.com \
    --cc=dewback@vtr.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=whitney@math.berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox