Lines Matching refs:of
5 partitions and there are only two differences between these two types of swap
8 (2) the header of a swap file is not in the first block of the partition that
9 holds it. From the swsusp's point of view (1) is not a problem, because it is
10 already taken care of by the swap-handling code, but (2) has to be taken into
13 In principle the location of a swap file's header may be determined with the
14 help of appropriate filesystem driver. Unfortunately, however, it requires the
17 identify a swap file swsusp uses the name of the partition that holds the file
18 and the offset from the beginning of the partition at which the swap file's
26 # dd if=/dev/zero of=<swap_file_path> bs=1024 count=<swap_file_size_in_k>
30 2) Use an application that will bmap the swap file with the help of the
31 FIBMAP ioctl and determine the location of the file's swap header, as the
32 offset, in <PAGE_SIZE> units, from the beginning of the partition which
40 and <swap_file_offset> is the offset of the swap header determined by the
41 application in 2) (of course, this step may be carried out automatically
48 with the help of the SNAPSHOT_SET_SWAP_AREA ioctl described in
58 the location of its header need not be the same as before. Thus every time
59 this happens the value of the "resume_offset=" kernel command line parameter