PM / hibernate: Documentation: Fix script for unswapping
authorPali Rohár <pali.rohar@gmail.com>
Tue, 6 May 2014 11:01:56 +0000 (13:01 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 May 2014 23:51:16 +0000 (01:51 +0200)
commit8a54cd5bd6ebf009b96ec79510b593f7ba5c0ff3
tree3ca0ab1a76dec969fabf3e2adb97d1842b0de4dd
parentaa9abe2c8eddf426c9b89757129b132c484ee223
PM / hibernate: Documentation: Fix script for unswapping

System can have mmaped also character devices (e.g dri devices by X) or deleted
files. Running cat on character devices is really bad idea (system can hang) so
run cat only on regular files. Also mmaped files can have spaces in filenames.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
[rjw: Subject]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/swsusp.txt