mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolinux.com>
To: Lars Kellogg-Stedman <lars@larsshack.org>
Cc: Christoph Hellwig <hch@caldera.de>, John Jasen <jjasen1@umbc.edu>,
	linux-kernel@vger.kernel.org,
	AmNet Computers <amnet@amnet-comp.com>
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20
Date: Wed, 14 Mar 2001 12:34:06 -0700 (MST)	[thread overview]
Message-ID: <200103141934.f2EJY6Z10216@webber.adilger.int> (raw)
In-Reply-To: <Pine.LNX.4.30.0103141410360.2004-100000@flowers.house.larsshack.org> from Lars Kellogg-Stedman at "Mar 14, 2001 02:11:57 pm"

Lars writes:
> > Put LABEL=<label set with e2label> in you fstab in place of the device name.
> 
> Which is great, for filesystems that support labels.  Unfortunately,
> this isn't universally available -- for instance, you cannot mount
> a swap partition by label or uuid, so it is not possible to completely
> isolate yourself from the problems of disk device renumbering.

There is room for a LABEL and/or UUID in the swap superblock, if you
would want to implement support for this.  I took a look once, and it
should be possible to add in a compatible way.  Of course, you can
always put swap into LVM, which also makes it (along with filesystems
other than ext2) immune from the nasty device name changes.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  reply	other threads:[~2001-03-14 19:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-13 16:41 David Balazic
2001-03-13 19:24 ` Nathan Walp
2001-03-13 23:02   ` Tim Wright
2001-03-14  9:31   ` David Balazic
2001-03-14 15:12     ` Nathan Walp
2001-03-14 15:36       ` magic device renumbering was -- " John Jasen
2001-03-14 16:27         ` Tim Wright
2001-03-14 18:15           ` Greg KH
2001-03-15  1:53             ` Tim Wright
2001-03-15  2:08               ` Greg KH
2001-03-14 18:23         ` Christoph Hellwig
2001-03-14 18:45           ` Peter Svensson
2001-03-14 19:11           ` Lars Kellogg-Stedman
2001-03-14 19:34             ` Andreas Dilger [this message]
2001-03-14 19:44             ` Richard B. Johnson
2001-03-15 13:46               ` John Jasen
2001-03-14 20:01             ` Christoph Hellwig
2001-03-16  9:11             ` Stephen C. Tweedie
2001-03-14 19:16           ` Andreas Dilger
2001-03-14 20:08           ` John Jasen
2001-03-15  3:04         ` Stephen Degler
2001-03-15 21:50 Mikael Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200103141934.f2EJY6Z10216@webber.adilger.int \
    --to=adilger@turbolinux.com \
    --cc=amnet@amnet-comp.com \
    --cc=hch@caldera.de \
    --cc=jjasen1@umbc.edu \
    --cc=lars@larsshack.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®