[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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?

> $ 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".


Reply to: