Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236368

Re: "ls -d" OK, but not "ls"

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.user
Subject Re: "ls -d" OK, but not "ls"
Date 2021-06-23 16:50 +0200
Message-ID <Ctcmu-7x4-3@gated-at.bofh.it> (permalink)
References <CtbJM-7kC-7@gated-at.bofh.it> <Ctc38-7qI-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2021-06-23 10:27:01 -0400, Greg Wooledge wrote:
> On Wed, Jun 23, 2021 at 03:59:51PM +0200, Vincent Lefevre wrote:
> > On a Debian GNU/Linux 10 (buster) machine:
> > 
> > $ ls -ld /etc/systemd
> > drwxr-xr-x 3 root root 0 2021-04-19 09:40:41 /etc/systemd
> 
> The "0" here is suspicious, and would be an indicator of wrongness
> if this is ext4.
> 
> What type of file system is it?

aufs

> > $ ls /etc/systemd
> > ls: cannot open directory '/etc/systemd': No such file or directory
> > 
> > Any explanation???
> 
> If it's ext4, then my guess is "corrupted file system, fsck it".
> 
> If it's btrfs or zfs, then my guess is "btrfs or zfs voodoo, consult
> a shaman".

And aufs?

Note: I am not the administrator of the machine (I have opened
a ticket, but I don't know when I will get an answer). However,
if there is something corrupt in the FS, I would have expected
this to be signaled by the kernel instead of getting ENOENT.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

"ls -d" OK, but not "ls" Vincent Lefevre <vincent@vinc17.net> - 2021-06-23 16:10 +0200
  Re: "ls -d" OK, but not "ls" Roberto C. Sánchez <roberto@debian.org> - 2021-06-23 16:20 +0200
    Re: "ls -d" OK, but not "ls" Vincent Lefevre <vincent@vinc17.net> - 2021-06-23 16:20 +0200
  Re: "ls -d" OK, but not "ls" The Wanderer <wanderer@fastmail.fm> - 2021-06-23 16:20 +0200
    Re: "ls -d" OK, but not "ls" Vincent Lefevre <vincent@vinc17.net> - 2021-06-23 16:30 +0200
      Re: "ls -d" OK, but not "ls" The Wanderer <wanderer@fastmail.fm> - 2021-06-23 16:50 +0200
      Re: "ls -d" OK, but not "ls" Vincent Lefevre <vincent@vinc17.net> - 2021-06-23 16:50 +0200
        Re: "ls -d" OK, but not "ls" Nicolas George <george@nsup.org> - 2021-06-23 16:50 +0200
  Re: "ls -d" OK, but not "ls" Greg Wooledge <greg@wooledge.org> - 2021-06-23 16:30 +0200
    Re: "ls -d" OK, but not "ls" Vincent Lefevre <vincent@vinc17.net> - 2021-06-23 16:50 +0200
      Re: "ls -d" OK, but not "ls" Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-23 20:30 +0200
        Re: "ls -d" OK, but not "ls" Vincent Lefevre <vincent@vinc17.net> - 2021-06-23 22:50 +0200
          Re: "ls -d" OK, but not "ls" Vincent Lefevre <vincent@vinc17.net> - 2021-06-25 12:40 +0200
  Re: "ls -d" OK, but not "ls" Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2021-06-23 19:30 +0200

csiph-web