lkml.org 
[lkml]   [2004]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/2] reiserfs: Warn on unsupported options
Yes, the subject sounds silly, but it's needed.

The set of allowable mount options shouldn't change based on the running
kernel configuration. The feature that the option corresponds to may be
unavailable, but in many cases it should be sufficient to warn the user that
the feature is disabled, but the mount has succeeded.

Ext3 does this for things like acl/xattr, and I feel that reiserfs should as
well.

Fortunately, the code to implement it is trivial.

In the following two messages are two patches:
* reiserfs-unsupported-opts.diff
- Adds a REISERFS_UNSUPPORTED_OPT mount flag, and uses it to denote
when a mount option is allowed, but not supported in the running
configuration.
- Rather than setting/clearing this bit, it's treated as special
and issues a warning using the name of the mount option.
* reiserfs-unsupported-acl.diff
- Uses the above flag to denote ACLs and user xattrs as unsupported
when support is not compiled in.

Currently, if a filesystem is mounted with -oacl and they are not
compiled in, the filesystem will fail to mount. With these patches, the options
are ignored with a warning.

Andrew - Please apply.

-Jeff

--
Jeff Mahoney
SuSE Labs
-
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 14:07    [W:0.021 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site