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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Ответить