All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Ext2/Ext3 partition label abuse
Date: 8 Mar 2002 10:24:52 -0800	[thread overview]
Message-ID: <a6avlk$umf$1@cesium.transmeta.com> (raw)
In-Reply-To: <3C88890C.6010303@mail.externet.hu>

Followup to:  <3C88890C.6010303@mail.externet.hu>
By author:    Boszormenyi Zoltan <zboszor@mail.externet.hu>
In newsgroup: linux.dev.kernel
> 
> The /proc/partitions "file" lists the partitions in disk-reversed order,
> e.g.:
> 
> /dev/hdc1  ....
> ...
> /dev/hdc10 ...
> /dev/hda1 ...
> ...
> /dev/hda9 ...
> 
> Is there a way to fix this? Yes there is: vendors should not use
> LABEL=XXX method in /etc/fstab. Either use the proper
> device/partition or the UUID. The downside is that fsck messages
> would not be as pretty-printed as now. Or maybe the partitions
> should not be registered in disk-reversed order...
> 

Or maybe mount(8) should signal an error if a label is ambiguous
instead of mounting a random partition.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

      parent reply	other threads:[~2002-03-08 18:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-08  9:49 Ext2/Ext3 partition label abuse Boszormenyi Zoltan
2002-03-08 14:33 ` Guest section DW
2002-03-08 18:02   ` Mike Fedyk
2002-03-08 18:24 ` H. Peter Anvin [this message]

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='a6avlk$umf$1@cesium.transmeta.com' \
    --to=hpa@zytor.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.