Как получить более подробную информацию о том, что сообщает «df»?

#!/bin/bash

read -p 'Enter a word : ' str id

if [[ ${#str} -le 1 ]] || [[ ${#str} -ge 6 ]]; then
   echo "Invalid input (Min of 2 and max of 5)!." && exit 1

idt=$((id-1))

case ${str:idt:1} in
    [[:lower:]]) 
            r='\U';
        ;;
    [[:upper:]])
            r='\L';
        ;;
esac

echo $str | sed -r "s/./$r&/$id"

$./script.sh
Enter a word : test 1
Test
$./script.sh
Enter a word : Test 2
TEst
$./script.sh
Enter a word : teST 3
tesT
0
09.11.2019, 02:17
1 ответ

Я пытался узнать о файловой системе sim -; это связано с контейнерами openvz ():

simfs is a proxy-filesystem. simfs is not an actual filesystem; it’s a map to a directory on the host (by default /vz/private/).

и:

"Old" simfs fs without quota - is just a bindmount => this is a start point. 1st level quota for simfs-based Containers (the quota for the Container as a whole) can be implemented using project quota which is going to be accepted to mainstream sooner or later.

Таким образом, вы должны определить физический раздел, стоящий за этим симфом.

0
28.01.2020, 03:08

Теги

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