On 2013-09-04, Sergey Korobitsin wrote:

> mount | grep '^/' | while read line; do 
>     node=$(echo $line | sed 's/.*$//')
>       eval $(blkid $node | sed 's/^.*://')
>       echo $line uuid=$UUID
> done

В

>     node=$(echo $line | sed 's/.*$//')

sed 's/.*$//' - убивает все... Или я не прав?

-- 
Best regards!


-- 
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/874n9n5ilr....@gavenkoa.example.com

Ответить