Re: [PATCH] Documentation: power: swsusp: Fix script for unswapping

2014-08-16 Thread Pavel Machek
On Tue 2014-05-06 13:01:56, Pali Roh?r wrote: > 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. >

Re: [PATCH] Documentation: power: swsusp: Fix script for unswapping

2014-08-16 Thread Pavel Machek
On Tue 2014-05-06 13:01:56, Pali Roh?r wrote: 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.

[PATCH] Documentation: power: swsusp: Fix script for unswapping

2014-05-06 Thread Pali Rohár
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 ---

[PATCH] Documentation: power: swsusp: Fix script for unswapping

2014-05-06 Thread Pali Rohár
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.ro...@gmail.com ---