Bug 151473 - Kernel does not show 'acl' aption in /proc/mounts
Kernel does not show 'acl' aption in /proc/mounts
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Stephen Tweedie
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-03-18 07:25 EST by Milan Kerslager
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-22 06:04:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Milan Kerslager 2005-03-18 07:25:39 EST
When (re)mounting a FS with 'acl' option, this is not showed up in /proc/mounts.
As ACL does not work when a FS is mounted without this option, this could be
worth to publish this information though /proc/mounts the same way as other
mount options.
Comment 2 Stephen Tweedie 2005-04-22 06:04:52 EDT
That's how it's expected to work.  The kernel tracks _some_ of the flags in
/proc/mounts (specifically, those ones which are the same across all
filesystems); others are tracked in user space via /etc/mtab.  The mount(8)
binary assembles both of these to provide mount information.


  # mount
  /dev/hda6 on / type ext3 (rw)
  # mount -o remount,acl /
  # mount
  /dev/hda6 on / type ext3 (rw,acl)
  # mount -o remount,noacl /
  # mount
  /dev/hda6 on / type ext3 (rw,noacl)

That has been the defined behaviour for ages; if you want to see all the
information, call mount(8) directly, don't just parse /proc/mounts.

Note You need to log in before you can comment on or make changes to this bug.