Project

General

Profile

Actions

Bug #1957

closed

ceph-fuse: have "." and ".." entries consistently

Added by Anonymous over 12 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I was cleaning old emails and found this: http://marc.info/?l=ceph-devel&m=130688351921306&w=2

Quick experiment says:

$ ls -a -l
total 1
drwxr-xr-x 1 root root 0 2012-01-20 14:51 ./
$ mkdir z
$ ls -la z
total 1
drwxr-xr-x 1 root root 0 2012-01-20 14:52 ./
drwxr-xr-x 1 root root 0 2012-01-20 14:52 ../

So it seems subdirectories currently get a "..", but the top-level doesn't. Counterexample for /proc:

$ ls -la /proc|head -3
total 4
dr-xr-xr-x 213 root       root                     0 2012-01-17 00:37 ./
drwxr-xr-x  24 root       root                  4096 2011-11-22 09:51 ../
Actions

Also available in: Atom PDF