Skip to content

ls seems to omit failed entries #11

@nekopsykose

Description

@nekopsykose

while working with sshfs:

l = ls -la --color=always

$ l    
ls: soulseek-remote: Socket not connected
total 12582928
drwxr-xr-x   8 root   root          129 Aug  2 14:05 .
drwxr-xr-x   1 root   root           18 Aug  2 15:33 ..
drwxr-xr-x   3 demon  demon         125 Aug  2 14:33 bak
drwxr-xr-x  18 demon  demon         247 Jul 22 12:24 cache
drwxr-xr-x  46 demon  demon        4096 Aug  2 11:22 soulseek
drwxr-xr-x   2 demon  demon        4096 Aug  2 11:22 soulseek-incomplete
-rw-------   1 root   root   6442450944 Feb 12 09:44 temp-swap
drwsr-sr-x   5 demon  demon         257 Jul 28 01:09 torrents
$ mkdir soulseek-remote                        
mkdir: soulseek-remote: File exists
$ doas umount soulseek-remote   
$ l
total 12582928
drwxr-xr-x   8 root   root          129 Aug  2 14:05 .
drwxr-xr-x   1 root   root           18 Aug  2 15:33 ..
drwxr-xr-x   3 demon  demon         125 Aug  2 14:33 bak
drwxr-xr-x  18 demon  demon         247 Jul 22 12:24 cache
drwxr-xr-x  46 demon  demon        4096 Aug  2 11:22 soulseek
drwxr-xr-x   2 demon  demon        4096 Aug  2 11:22 soulseek-incomplete
drwxr-xr-x   2 demon  666             6 May 20 06:41 soulseek-remote
-rw-------   1 root   root   6442450944 Feb 12 09:44 temp-swap
drwsr-sr-x   5 demon  demon         257 Jul 28 01:09 torrents

soulseek-remote was a (failed) target mount of sshfs ... soulseek-remote. seems when it's in a failed state it's omitted from the output (but just gives a lookup error)

should probably be displayed anyway, perhaps with some missing info(?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions