From: Ted Ts'o <tytso@mit.edu>
To: Zhao Cai <zhaocai@me.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: ext4_put_super is not called during system shutdown or restart
Date: Mon, 25 Apr 2011 14:23:09 -0400 [thread overview]
Message-ID: <20110425182309.GA9486@thunk.org> (raw)
In-Reply-To: <BEC5ADCE-0B2E-4CE2-8654-9D2F7B787684@me.com>
On Mon, Apr 25, 2011 at 12:12:02AM -0400, Zhao Cai wrote:
> I would appreciate if anyone can give me an answer. Is it designed
> to be like this?
>
> Detailed situation: The system is ubuntu 11.04 installed in
> VMware. I notice that ext4_put_super() is called when I unmount a
> non-root ext4 partition. But it is not when I restart or shutdown
> the system.
>
What happens on most Linux systems is that root file system gets
remounted read/only during the reboot/shutdown sequence, whil non-root
file systems are unmounted. I haven't tried 11.04 so I can't tell you
what it is doing. If it isn't umounting the non-root file systems, or
at least remounting the non-root file systems read/only, then
something is probably going wrong. That's a question for the
distribution....
- Ted
prev parent reply other threads:[~2011-04-25 18:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 4:12 ext4_put_super is not called during system shutdown or restart Zhao Cai
2011-04-25 14:26 ` Eric Sandeen
2011-04-25 15:02 ` Amir Goldstein
2011-04-25 16:05 ` Zhao Cai
2011-04-25 16:10 ` Eric Sandeen
2011-04-25 16:12 ` Zhao Cai
2011-04-25 20:07 ` Zhao Cai
2011-04-25 20:18 ` Eric Sandeen
2011-04-25 20:43 ` Zhao Cai
2011-04-25 18:23 ` Ted Ts'o [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110425182309.GA9486@thunk.org \
--to=tytso@mit.edu \
--cc=linux-ext4@vger.kernel.org \
--cc=zhaocai@me.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).