Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
pavanrachapudy a972b7364d
Tool takes long time to return, and swap file not created successfully for RHEL distros (#15)
* Removed optimization process for defragmentation in XFS file systems

* Added comments for defragmentation in xfs file systems

Co-authored-by: Pavan Rachapudy <vrachapu@microsoft.com>
2022-08-11 15:48:07 -07:00
ishaansehgal99 34466f1553 Merge branch 'main' of https://github.com/microsoft/hibernation-setup-tool into dev/t-isehgal/invalid-cross-device-link 2022-08-08 19:55:12 +00:00
ishaansehgal99 45e5b552f1 Resolve conflict 2022-08-08 19:49:21 +00:00
ishaansehgal99 8a821ee781 Merge branch 'main' of https://github.com/microsoft/hibernation-setup-tool into dev/t-isehgal/custom-logging 2022-08-08 19:47:37 +00:00
ishaansehgal99 1d54ac485e
Merge pull request #13 from microsoft/dev/t-isehgal/add-optional-args
Adding optional argument parsing to the tool
2022-08-08 12:20:16 -07:00
ishaansehgal99 e003099af4 Added more specific logging. To better help debugging, and also parsability from the azure linux extension 2022-08-03 00:28:04 +00:00
ishaansehgal99 3ead5bc25b Explicit check nftw succeeds 2022-08-02 23:09:39 +00:00
ishaansehgal99 cd752cc39e Included symlink errno 2022-08-02 21:45:03 +00:00
ishaansehgal99 956eb6c03d Adding optional arguments to tool 2022-07-27 02:37:46 +00:00
ishaansehgal99 ba39eab83c Ensuring swap file is recreated 2022-07-27 02:27:04 +00:00
ishaansehgal99 0487f0ffb2 Removed additional conditional 2022-07-26 02:01:31 +00:00
ishaansehgal99 821613f848 Removed deprecated approach to sleep hooks 2022-07-26 01:59:08 +00:00
ishaansehgal99 b3acb59633 Removing comments 2022-07-19 23:39:39 +00:00
ishaansehgal99 a22c0265f2 Resolved error handling of invalid tree walk and recursive removal. Resolved cross device linking error 2022-07-19 23:34:45 +00:00
ishaansehgal99 3789660094 Fixed invalid error handling of hibernate lock file 2022-07-19 21:28:42 +00:00
ishaansehgal99 eec5a4ce27 Removed log statement 2022-07-11 20:20:58 +00:00
ishaansehgal99 1314dad621 Resolve syslog bug 2022-07-08 00:44:34 +00:00
ishaansehgal99 194fae1035 remove log statements 2022-07-08 00:43:45 +00:00
ishaansehgal99 70d26ed919 Fixed link destination 2022-07-07 23:46:15 +00:00
ishaansehgal99 45f131f003 fix errno 2022-07-01 20:49:11 +00:00
ishaansehgal99 27733c0c45 fix errno bug 2022-07-01 18:41:45 +00:00
ishaansehgal99 195d9db002 Removed clang formatting for another PR 2022-06-28 18:08:54 +00:00
ishaansehgal99 74364559cc Wrote check for device free space. Fixed fallocate bug. And clang formatted file 2022-06-27 17:38:35 +00:00
Laveesh Rohra dc579af930
Verify Hibernation allowed from Control plane before setting swap file (#3) 2022-04-05 09:44:28 -07:00
pavanrachapudy ea220386b4
Changing exit code if hibernation is not supported (#2) 2022-01-27 12:45:35 -08:00
pavanrachapudy 0ab7201785 Address PR comments - Modified Version check logic 2022-01-24 13:03:58 -08:00
pavanrachapudy c25dea17a3 Added comments 2022-01-24 13:03:58 -08:00
pavanrachapudy 272aaf8a48 Add support for rhel/centos resume 2022-01-24 13:03:58 -08:00
L. Pereira a27aba8a85 Unset GRUB_FORCE_PARTUUID when rebuilding Grub configuration
Leaving this variable set will force boot without an initrd, which is necessary
to resume in some scenarios.
2021-10-28 10:51:31 -07:00
Leandro Pereira b6f13fb8d6 Fix problem when installing systemd hook and link already exists 2021-08-25 15:52:20 -07:00
Leandro Pereira 2500c659a6 Don't fail if lock link didn't exist in the first place 2021-08-25 14:39:41 -07:00
Leandro Pereira 3f66973adb Fix issue while creating systemd hook directory 2021-08-25 14:38:41 -07:00
Leandro Pereira 6927c4f171 Ensure hook do not exist when linking
Otherwise, link(2) will return an unhandled EEXIST that will cause the tool
to fail.
2021-08-25 13:27:33 -07:00
Leandro Pereira 94e3f30dfb Rename to hibernation-setup-tool 2021-07-30 09:15:19 -07:00