[lkml]   [2004]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Suspend 2 merge: 9/51: init/* changes.

> >> 1) Make name_to_dev_t non init. Why should you need to reboot if all you
> >> want to do is change the device you're using to suspend? That's M_'s way
> >
> > Well, if you change it using /proc and forget to change kernel cmd line, you'll have
> > a problem. Do you really change this so often?
> name_to_dev_t needs to be non-init in order to make it possible to
> trigger a resume when the block device driver isn't static. Pavel, would
> you be willing to consider a patch to make it possible to trigger swsusp
> resume from userspace? That gets things working with initrd kernels.
> I've been using something along these lines for a few weeks now, and it
> hasn't eaten my filesystem yet.

Given it is not too intrusive... why not. Send it for comments.
I probably will not use this myself, so you'll need to test/maintain

> Yes, I was thinking of this mostly from a distribution perspective.
> There's always potential for data-loss if users resume after touching
> the root filesystem. On the other hand, it's currently possible for them
> to do that anyway (think booting a different kernel without swsusp
> support, then rebooting back into the swsusp one)

64 bytes from icmp_seq=28 ttl=51 time=448769.1 ms

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:08    [W:0.182 / U:1.260 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site