debugging
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2024-11-05 14:02:30 -06:00
parent 8018ce51a0
commit 9da78b82f3
3 changed files with 5 additions and 0 deletions

View File

@ -986,6 +986,8 @@ auto remote_server::winfsp_create(PWSTR file_name, UINT32 create_options,
{utils::string::to_utf8(file_name)}))
.exists());
std::cout << "ATTRIBUTES: " << std::hex << attributes << std::endl;
attributes |= FILE_FLAG_BACKUP_SEMANTICS;
if ((create_options & FILE_DIRECTORY_FILE) != 0U) {
attributes |= FILE_FLAG_POSIX_SEMANTICS;

View File

@ -129,6 +129,8 @@ auto remote_winfsp_drive::Create(PWSTR file_name, UINT32 create_options,
UINT64 allocation_size, PVOID * /*file_node*/,
PVOID *file_desc, OpenFileInfo *ofi)
-> NTSTATUS {
std::cout << "ATTRIBUTES: " << std::hex << attributes << std::endl;
remote::file_info fi{};
std::string normalized_name;
BOOLEAN exists = 0;

View File

@ -241,6 +241,7 @@ protected:
}
static void execute_unmount(auto args, auto location) {
std::this_thread::sleep_for(30s);
auto unmounted{false};
auto unmount_cmd =