Skip to contentSkip to conversation

(Repost) add a message in mount/remount/umount for ext2/ext3/ext4

RFC PATCH In review Toshiyuki Okajima 1 participant 1 message Sep 30, 2009

lore
Share & tools
lore
#0 lore raw

cover (Repost) add a message in mount/remount/umount for ext2/ext3/ext4

Hi.

Under the current implementation, we cannot know in the system log (/var/log/messages) when the filesystem (ext2/ext3/ext4) is unmounted. For enterprise users, they often want to observe certain filesystems' actions (mount/unmount) in the system log. Besides, by the system log, we occasionally wants to know whether a certain filesystem has been unmounted or not at the time when a problem happens.

The following patch series implement above demand. Please apply it.

P.S.
This mail is reposted.
But I received several comments for the previous mail. Thanks to Andreas, Eric and Andrew.
I don't modify "PATCH 1/3" and "PATCH 3/3". But I modify "PATCH 2/3".

---
 fs/ext2/super.c |   15 +++++++++++++++
 fs/ext3/super.c |   30 +++++++++++++++++++++---------
 fs/ext4/super.c |   30 ++++++++++++++++++++++--------
 3 files changed, 58 insertions(+), 17 deletions(-)