Риторический вопрос к "патриотам linux-way"... чё должен делать не я, а обычный пользователь(ну скажем... библиотекарь) после такого
mkdir aaa
mkdir: cannot create directory aaa No space left on device
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/vda1 10291220 8491156 1350508 87% /
Оо, надо читать маны, да... ну вот они
man mkdir
NAME
mkdir - make directories
SYNOPSIS
mkdir [OPTION]... DIRECTORY...
DESCRIPTION
Create the DIRECTORY(ies), if they do not already exist.
Mandatory arguments to long options are mandatory for short options too.
-m, --mode=MODE
set file mode (as in chmod), not a=rwx - umask
-p, --parents
no error if existing, make parent directories as needed
-v, --verbose
print a message for each created directory
-Z set SELinux security context of each created directory to the default type
--context[=CTX]
like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX
--help display this help and exit
--version
output version information and exit
GNU coreutils online help: <
http://www.gnu.org/software/coreutils/> Report mkdir translation bugs to <
http://translationproject.org/team/>
AUTHOR
Written by David MacKenzie.
COPYRIGHT
Copyright б╘ 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
mkdir(2)
The full documentation for mkdir is maintained as a Texinfo manual. If the info and mkdir programs are properly installed at your site,
the command
Описание ошибок... да не, зачем нам что-то пояснять ?
Нет, "джедай" почитает еще ман на df
NAME
df - report file system disk space usage
SYNOPSIS
df [OPTION]... [FILE]...
DESCRIPTION
This manual page documents the GNU version of df. df displays the amount of disk space available on the file system containing each file
name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K
blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.
If an argument is the absolute file name of a disk device node containing a mounted file system, df shows the space available on that file
system rather than on the file system containing the device node. This version of df cannot show the space available on unmounted file
systems, because on most kinds of systems doing so requires very nonportable intimate knowledge of file system structures.
OPTIONS
Show information about the file system on which each FILE resides, or all file systems by default.
Mandatory arguments to long options are mandatory for short options too.
-a, --all
include dummy file systems
-B, --block-size=SIZE
scale sizes by SIZE before printing them; e.g., '-BM' prints sizes in units of 1,048,576 bytes; see SIZE format below
--direct
show statistics for a file instead of mount point
--total
produce a grand total
-h, --human-readable
print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si
likewise, but use powers of 1000 not 1024
-i, --inodes
list inode information instead of block usage
-k like --block-size=1K
-l, --local
И может быть он допрет запустить его с -i
Но обычный пользователь... сомневаюсь. Если только от отчаяния будет разные параметры пробовать.
Вопросы риторические:
1. Почему mkdir не сообщает чего конкретно ему не хватает. Почему (вашу мать) речь в выводе о "space", а не об "inodes" ?
Почему если не хватает одного, он возвращает ошибку, что не хватает ДРУГОГО

?
2. Почему df не сообщает без -i
критически важную инфу, а с -i другую критически важную инфу.
Специально, чтобы было удобнее по 2 раза его запускать каждый раз когда требуется ревизия ресурсов

?
Заметьте, кто-то написал df/mkdir в таком виде, кто-то другой его коммит одобрил, т.е. это не случайная ошибка - это системный подход.
Все со всем согласны, и у всех всё ОК

.
Кто "затрудняется" - тот просто недостоин

, член у него мал, читать он не любит, английского не знает, и вообще "предатель и дебил"

.
Собственно это в чистом виде linux way : "Догадайся чувак "чё тут не так !"".
ЗЫ. Нет, у меня такие фичи не вызывают существенных затруднений, лишь чистую ненависть к тем, кто эти мины подложил, т.к. очень многие обычные пользователи на них "подрываются". Да и "необычные" тоже.
ЗЫЫ. Какой-то центос, из последних, свежий довольно.