Re: [patch 1/1] PM: Adds remount fs ro at suspend

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Henrique de Moraes Holschuh
Date: Tuesday, February 6, 2007 - 7:32 am

On Tue, 06 Feb 2007, Nigel Cunningham wrote:

No.  But anything in a removable device neets to be either remounted
read-only or unmounted if that is at all possible, because the user could
unplug it.  It is of course, sync'd anyway, so if the remount/umount fails,
no corruption should happen...  but the fs will be dirty, etc.

It can get very ugly when you factor in docks and removable bays. It's not
just USB/firewire mass-storage devices and memory cards.  And there is the
patological cases where the user suspends with the device in one port, and
resumes with the device in another port.

I feel userspace *can* do all that needs to be done, but we are (currently)
very bad at it.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/1] PM: Adds remount fs ro at suspend, akuster, (Fri Feb 2, 4:50 pm)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Andrew Morton, (Fri Feb 2, 5:16 pm)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Henrique de Moraes H ..., (Fri Feb 2, 5:35 pm)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Christoph Hellwig, (Sat Feb 3, 3:08 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Pavel Machek, (Sat Feb 3, 9:19 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Christoph Hellwig, (Mon Feb 5, 9:56 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Nigel Cunningham, (Mon Feb 5, 2:28 pm)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Christoph Hellwig, (Mon Feb 5, 2:35 pm)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Henrique de Moraes H ..., (Tue Feb 6, 7:32 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Rafael J. Wysocki, (Tue Feb 6, 11:07 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Nigel Cunningham, (Tue Feb 6, 2:38 pm)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Henrique de Moraes H ..., (Wed Feb 7, 4:25 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Nigel Cunningham, (Wed Feb 7, 4:43 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Henrique de Moraes H ..., (Wed Feb 7, 5:05 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Rafael J. Wysocki, (Wed Feb 7, 7:10 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Pavel Machek, (Fri Feb 9, 3:24 pm)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Pavel Machek, (Tue Feb 13, 5:12 am)
Re: [patch 1/1] PM: Adds remount fs ro at suspend, Pavel Machek, (Wed Feb 14, 4:07 am)