This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
btrfs [2022/05/16 19:53] 65.108.0.71 old revision restored (2021/09/16 23:27) |
btrfs [2022/06/30 00:20] 154.54.249.206 old revision restored (2022/02/17 00:05) |
||
---|---|---|---|
Line 6: | Line 6: | ||
https:// | https:// | ||
+ | |||
+ | ===== Finding out resume offset for swap hibernation in 32bit machine (i386) ===== | ||
+ | |||
+ | The code " | ||
+ | |||
+ | Error messages: | ||
+ | |||
+ | error opening file for reading: Value too large for defined data type | ||
+ | |||
+ | or: | ||
+ | |||
+ | fstat: Value too large for defined data type | ||
+ | |||
+ | Change: | ||
+ | |||
+ | fd = open(argv[optind], | ||
+ | |||
+ | For: | ||
+ | |||
+ | fd = open(argv[optind], | ||
+ | |||
+ | and compile using the following command line: | ||
+ | |||
+ | gcc -O2 -o btrfs_map_physical -D_FILE_OFFSET_BITS=64 btrfs_map_physical.c | ||
+ | |||
+ | |||
+ | |||
+ |