Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular directory structure warning. #389

Closed
yadavshubhanshu opened this issue May 18, 2016 · 4 comments
Closed

Circular directory structure warning. #389

yadavshubhanshu opened this issue May 18, 2016 · 4 comments

Comments

@yadavshubhanshu
Copy link

Running the du command on the / directory gives me a warning "circular directory structure". It doesn't give me that warning though if I run the same command on the home directory. Specifically,

root@DESKTOP:~# cd /
root@DESKTOP:/# du -sh
du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  ‘./cache’

du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  ‘./data’

du: cannot access ‘./dev/adss’: Operation not permitted
du: cannot access ‘./dev/tty0’: Invalid argument
du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  ‘./mnt’

du: cannot access ‘./proc/121/fd/3’: No such file or directory
du: cannot access ‘./proc/121/task/121/fd/3’: No such file or directory
du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  ‘./run/lock’

du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  ‘./run/shm’

du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  ‘./run/user’

739M    .

I'm currently on windows build 14342.1000.

@benhillis
Copy link
Member

This has been fixed internally and will be available in a future Windows Insider build.

@benhillis
Copy link
Member

I've verified this is fixed in build 14352, please reopen if you continue to see this issue. Thanks!

@seliestel
Copy link

I am getting this same error on build 19043.1165. I tried uninstalling and reinstalling WSL, but the problem persists. It happens both with WSL1 and WSL2. The error is triggered by running 'du -sh' on any directory or trying to remove a directory with 'rm -rf'.

du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  ./old

I haven't been able to find any solution anywhere. Any help will be greatly appreciated.

@iSeiryu
Copy link

iSeiryu commented Feb 16, 2024

I get the same error but about a different directory - freshly installed Ubuntu 22.04

du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  ./sys/kernel/debug/device_component
> cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants