Диск заполнен, но не удается найти занятое пространство (Ubuntu)

Типы файлов, указанные в ls, зависят от возможностей базовой файловой системы, операционной системы и конкретной реализации ls.

Тип lявляется общим типом файла символической ссылки .

Это (должно быть )задокументировано в вашем lsруководстве.

В OpenBSD (macOS и AIX имеют одинаковый список, но в другом порядке):

-     regular file
b     block special file
c     character special file
d     directory
l     symbolic link
p     FIFO
s     socket link

В NetBSD (FreeBSD имеет то же самое без aиA):

-     Regular file.
a     Archive state 1.
A     Archive state 2.
b     Block special file.
c     Character special file.
d     Directory.
l     Symbolic link.
p     FIFO.
s     Socket link.
w     Whiteout.

Из info ls(, то есть из руководства GNU ls):

‘-’
     regular file
‘b’
     block special file
‘c’
     character special file
‘C’
     high performance (“contiguous data”) file
‘d’
     directory
‘D’
     door (Solaris 2.5 and up)
‘l’
     symbolic link
‘M’
     off-line (“migrated”) file (Cray DMF)
‘n’
     network special file (HP-UX)
‘p’
     FIFO (named pipe)
‘P’
     port (Solaris 10 and up)
‘s’
     socket
‘?’
     some other file type

На Солярисе 11:

d
The entry is a directory.

D
The entry is a door.

l
The entry is a symbolic link.

b
The entry is a block special file.

c
The entry is a character special file.

p
The entry is a FIFO (or “named pipe”) special file.

P
The entry is an event port.

s
The entry is an AF_UNIX address family socket.

-
The entry is an ordinary file.
2
29.10.2021, 12:12
0 ответов

Теги

Похожие вопросы