Re: [RFC V2] init: support device of major:minor:offset format

2015-05-07 Thread Geert Uytterhoeven
On Thu, May 7, 2015 at 3:42 AM, Yu Chen wrote: > On 05/07/2015 12:49 AM, Geert Uytterhoeven wrote: >> >> On Wed, May 6, 2015 at 2:24 AM, Chen Yu wrote: >>> >>> Distribution like Ubuntu uses klibc rather than uswsusp to resume >>> system from hibernation, which will treat swap partition/file in >>

Re: [RFC V2] init: support device of major:minor:offset format

2015-05-06 Thread Yu Chen
Hi, Geert On 05/07/2015 12:49 AM, Geert Uytterhoeven wrote: On Wed, May 6, 2015 at 2:24 AM, Chen Yu wrote: Distribution like Ubuntu uses klibc rather than uswsusp to resume system from hibernation, which will treat swap partition/file in the form of major:minor:offset. For example, 8:3:0 repre

Re: [RFC V2] init: support device of major:minor:offset format

2015-05-06 Thread Geert Uytterhoeven
On Wed, May 6, 2015 at 2:24 AM, Chen Yu wrote: > Distribution like Ubuntu uses klibc rather than uswsusp to resume > system from hibernation, which will treat swap partition/file in > the form of major:minor:offset. For example, 8:3:0 represents a > swap partition in klibc, and klibc's resume proc