From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Iz7vU-0003jE-Qh for garchives@archives.gentoo.org; Mon, 03 Dec 2007 09:49:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lB39ldRs021069; Mon, 3 Dec 2007 09:47:39 GMT Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lB39ldTF021064 for ; Mon, 3 Dec 2007 09:47:39 GMT Received: from esebh107.NOE.Nokia.com (esebh107.ntc.nokia.com [172.21.143.143]) by mgw-mx06.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id lB39lE3P023327 for ; Mon, 3 Dec 2007 11:47:37 +0200 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh107.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 3 Dec 2007 11:47:26 +0200 Received: from esebh101.NOE.Nokia.com ([172.21.138.177]) by esebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 3 Dec 2007 11:47:26 +0200 Received: from duprn003-102152.europe.nokia.com ([172.25.102.152]) by esebh101.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 3 Dec 2007 11:47:25 +0200 From: Dirk Heinrichs Organization: Capgemini Deutschland GmbH To: gentoo-user-de@lists.gentoo.org Subject: Re: [gentoo-user-de] [OT] fstab richtig greppen =?utf-8?q?f=C3=BCr_backup?= script User-Agent: KMail/1.9.7 References: <200712031018.39370.don.ande@gmx.de> In-Reply-To: <200712031018.39370.don.ande@gmx.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user-de@gentoo.org Reply-to: gentoo-user-de@lists.gentoo.org MIME-Version: 1.0 Date: Mon, 3 Dec 2007 10:47:25 +0100 Content-Type: multipart/signed; boundary="nextPart4373697.UU7fB8Sao7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200712031047.25561.dirk.heinrichs.ext@nsn.com> X-OriginalArrivalTime: 03 Dec 2007 09:47:26.0039 (UTC) FILETIME=[82C2BE70:01C83591] X-Nokia-AV: Clean X-Archives-Salt: ac7cf19b-0ef4-4f79-96da-3a9b312f9384 X-Archives-Hash: ee7c9afba425fd26dda9fce86186d428 --nextPart4373697.UU7fB8Sao7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Montag, 3. Dezember 2007 schrieb ext Andreas Baier: Oops, zu fr=C3=BCh abgeschickt. > sys_folders=3D(boot srv var) > > for i in ${sys_folders[@]}; do awk -v VOL=3D$i 'BEGIN {volume=3D"/" VOL};$2=3D=3Dvolume {print $2}' /etc/= fstab| while read VOLUME do=09 EXECUTE=3D"mount -o ro $VOLUME" > ${BAK_SRC}/${i}/" echo $EXECUTE done > done HTH... Dirk =2D-=20 Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstra=C3=9Fe 68 | Web: http://www.capgemini.com D-40468 D=C3=BCsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net --nextPart4373697.UU7fB8Sao7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBHU9Ct8NVtnsLkZ7sRAu31AJ9zSbu4fWf9pi7CyE8N2lDWfo6Q9wCgk20x yxhBHUgn1Z5+9nfSwIqx0EM= =Ny06 -----END PGP SIGNATURE----- --nextPart4373697.UU7fB8Sao7-- -- gentoo-user-de@gentoo.org mailing list