Block directory cannot be a “junction” on windows #6495

issue rebroad openend this issue on July 30, 2015
  1. rebroad commented at 9:00 pm on July 30, 2015: contributor
    In Windows, bitcoin-qt fails when the “blocks” directory (or any other directories, for that matter) is a junction to a directory. It fails to detect that it exists, tries to create it, and the create fails.
  2. dcousens commented at 5:23 am on July 31, 2015: contributor
    On Linux I also saw odd behaviour, if the datadir doesn’t exist, it dumps all files in the directory above (chainstate, etc) then exits.
  3. laanwj added the label Windows on Jul 31, 2015
  4. laanwj commented at 2:21 pm on July 31, 2015: member
    Non-support for junctions on windows is a known issue. For some reason one cannot just treat them as directories like Unix symlinks.
  5. casey commented at 3:07 pm on July 31, 2015: contributor
    @dcousens I couldn’t reproduce the behavior that you mentioned. I created /tmp/foo, and then ran ‘bitcoin-qt -datadir=/tmp/foo/bar’, afterwards /tmp/foo was still empty. Can you come up with steps to reproduce, and then open another issue? (since this one seems to be unrelated)
  6. laanwj renamed this:
    boost::filesystem::create_directory: Cannot create a file when that file already exists
    Block directory cannot be a "junction" on windows
    on Feb 9, 2016
  7. laanwj added the label Block storage on Feb 16, 2016
  8. MarcoFalke commented at 0:27 am on April 27, 2020: member

    The feature request didn’t seem to attract much attention in the past. Also, the issue seems not important enough right now to keep it sitting around idle in the list of open issues.

    Closing due to lack of interest. Pull requests with improvements are always welcome.

  9. MarcoFalke closed this on Apr 27, 2020

  10. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-31 03:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me