FG
💻 Software

Double root folder vs single root folder

Fresh7 days ago
Mar 15, 20263512 views
Confidence Score0%
0%

Problem

On my Linux box, in bash, I have access to a "double root" folder denoted by two forward slashes: The content of the folder and its subfolder is identical to the "normal" single slash root. The double slash does not go away when I access its subfolders. The annomaly does not repeat itself with thre…

Error Output

tomas:~ $ cd /
tomas:/ $ ls
bin/ cdrom@ ...
tomas:/ $ cd //
tomas:// $ ls 
bin/ cdrom@ ...

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Double root folder vs single root folder

Low Risk

From Bash FAQ E10: E10) Why does 'cd //' leave $PWD as '//'? POSIX.2, in its description of 'cd', says that three or more leading slashes may be replaced with a single slash when canonicalizing the current working directory. This is, I presume, for …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment