lkml.org 
[lkml]   [2004]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: swsusp: fix devfs breakage introduced in 2.6.6
From
Date
>>>>> "Pavel" == Pavel Machek <pavel@ucw.cz> writes:

Pavel> Hi! This fixes bad interaction between devfs and swsusp.

Pavel> Check whether the swap device is the specified resume
Pavel> device, irrespective of whether they are specified by
Pavel> identical names.

Pavel> (Thus, device inode aliasing is allowed. You can say
Pavel> /dev/hda4 instead of /dev/ide/host0/bus0/target0/lun0/part4
Pavel> [if using devfs] and they'll be considered the same device.
Pavel> This is *necessary* for devfs, since the resume code can
Pavel> only recognize the form /dev/hda4, but the suspend code
Pavel> would like the long name [as shown in 'cat /proc/mounts'].)

Pavel> [Thanks to devfs hero whose name I forgot.] Pavel

The patch was submitted by me. But I'm no devfs hero at all. I'm
just a happy user of devfs who gets unhappy due to this swsusp bug.
:)



--
Sau Dan LEE 李守敦(Big5) ~{@nJX6X~}(HZ)

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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