[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110425182309.GA9486@thunk.org>
Date: Mon, 25 Apr 2011 14:23:09 -0400
From: Ted Ts'o <tytso@....edu>
To: Zhao Cai <zhaocai@...com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: ext4_put_super is not called during system shutdown or restart
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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists