lkml.org 
[lkml]   [2001]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 2.4.9-ac12 - problem mounting reiserfs (parse error?)
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

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

\
 
 \ /
  Last update: 2005-03-22 13:03    [from the cache]
©2003-2011 Jasper Spaans