[lkml]   [2004]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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

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
- 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 Mahoney
SuSE Labs
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  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