From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user-de+bounces-14069-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Jwkb6-0000yA-TR
	for garchives@archives.gentoo.org; Thu, 15 May 2008 21:02:45 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C717AE0534;
	Thu, 15 May 2008 21:02:43 +0000 (UTC)
Received: from mail-in-16.arcor-online.net (mail-in-16.arcor-online.net [151.189.21.56])
	by pigeon.gentoo.org (Postfix) with ESMTP id A2DEFE0534
	for <gentoo-user-de@lists.gentoo.org>; Thu, 15 May 2008 21:02:43 +0000 (UTC)
Received: from mail-in-19-z2.arcor-online.net (mail-in-19-z2.arcor-online.net [151.189.8.36])
	by mail-in-16.arcor-online.net (Postfix) with ESMTP id ECAF520F103
	for <gentoo-user-de@lists.gentoo.org>; Thu, 15 May 2008 23:02:42 +0200 (CEST)
Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53])
	by mail-in-19-z2.arcor-online.net (Postfix) with ESMTP id CBCBD6BD70
	for <gentoo-user-de@lists.gentoo.org>; Thu, 15 May 2008 23:02:42 +0200 (CEST)
Received: from medusa (f051133168.adsl.alicedsl.de [78.51.133.168])
	(Authenticated sender: dynalore@arcor.de)
	by mail-in-13.arcor-online.net (Postfix) with ESMTP id 4751623D1E4
	for <gentoo-user-de@lists.gentoo.org>; Thu, 15 May 2008 23:02:42 +0200 (CEST)
From: Roland Damm <roland-damm@arcor.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de]  Swap-Partition per UUID bestimmen
Date: Thu, 15 May 2008 23:02:35 +0200
User-Agent: KMail/1.9.7
References: <g0hp66$ggu$1@ger.gmane.org>
In-Reply-To: <g0hp66$ggu$1@ger.gmane.org>
Precedence: bulk
List-Post: <mailto:gentoo-user-de@lists.gentoo.org>
List-Help: <mailto:gentoo-user-de+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user-de+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user-de+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user-de.gentoo.org>
X-BeenThere: gentoo-user-de@lists.gentoo.org
Reply-to: gentoo-user-de@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200805152302.35785.roland-damm@arcor.de>
X-Virus-Scanned: ClamAV 0.92.1/7131/Thu May 15 22:18:05 2008 on mail-in-13.arcor-online.net
X-Virus-Status: Clean
X-Archives-Salt: ce6c477f-9f59-49d8-9b4d-2c12fa6498ea
X-Archives-Hash: dc774d3d9e85f6e6e7b7d89f2a03c855

Moin,

On Thursday 15 May 2008 18:43:10 Jens M=C3=BCller wrote:

> da die Ger=C3=A4tenamen bei mir nach dem Einbau weiterer Platten
> durcheinander geraten sind, habe ich auf UUIDs umgestellt.
>
> F=C3=BCr die normalen Partitionen klappt das auch wunderbar.
>
> Aber mit dem Swap geht es nicht.
>
> In der /etc/fstab steht daf=C3=BCr:
>
> UUID=3D00a4c5ff-80e9-4963-9ad2-4c812446e0b6               none
> swap            sw              0 0
>
> Und das ist die Swap-Partition:
>
> $ ls -l /dev/disk/by-uuid/00a4c5ff-80e9-4963-9ad2-4c812446e0b6
> lrwxrwxrwx 1 root root 10 15. Mai 18:23
> /dev/disk/by-uuid/00a4c5ff-80e9-4963-9ad2-4c812446e0b6 -> ../../sdb2
>
> Wie kann ich Swap per UUID einbinden?

Solche Probleme hatte ich auch mal, diese Syntax in der fstab mit=20
dem 'UUID=3Dxxx...' funktioniert IMO entgegen der Doku nicht so richtig. Wa=
s=20
bei mir half, war folgendes:

In der fstab habe ich z.B. folgende Zeile:

/dev/disk/by-label/backup1      /mnt/backup  auto users  0 0

Also anstatt /dev/hd.... wie sonst, obiges. Selbiges sollte auch mit swap v=
ia=20
UUID gehen, wenn du anstatt der Syntax mit dem 'UUID=3D...' ein=20
/dev/disk/by-uuid/..... in der fstab eintr=C3=A4gst.=20
Ist ja letztlich auch nur ein Link auf das richtige Ger=C3=A4t unter /dev/h=
dxxx.

CU Rollo

-- 
gentoo-user-de@lists.gentoo.org mailing list