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

Re: script bash



Il 20/05/19 01:30, Gollum1 ha scritto:
> Il 20 maggio 2019 00:07:50 CEST, Mario <mariogolf2@tiscali.it> ha scritto:
>> Il 19/05/19 23:20, Gollum1 ha scritto:
>>> Il 19 maggio 2019 17:43:17 CEST, Mario <mariogolf2@tiscali.it> ha
>> scritto:
>>>
>>>> Sto provando anche con
>>>>> VG='vgname'
>>>>> LV='lvname'
>>>>> TARGET0='/dev/'"$VG"'/'"$LV"
>>>
>>> hai provato con:
>>>
>>> TARGET0="/dev/$VG/$LV"
>>> ? 
>>>
>>> byez
>>>
>> ciao Gollum,
>>
>> appena provato, stesso errore: fsck non trova la directory che però
>> esiste...
> 
> hai provato a sostituire il comando con un echo, per vedere come vengono espanse le variabili? 
> byez
> 

sì, fatto ieri: echo restituisce correttamente il contenuto della
variabile TARGET0 e cioè /dev/vgname/lvname... ma fsck.ext4 non lo usa
(e nemmeno mount)

Meglio cambiare approccio??


Reply to: