From: Andreas Dilger <adilger@turbolinux.com>
To: "Matt D. Robinson" <yakker@alacritech.com>
Cc: Andreas Dilger <adilger@turbolinux.com>,
"H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org
Subject: Re: Partition IDs in the New World TM
Date: Wed, 24 Jan 2001 01:18:59 -0700 (MST) [thread overview]
Message-ID: <200101240818.f0O8IxK11946@webber.adilger.net> (raw)
In-Reply-To: <3A6DDAD4.4889AC42@alacritech.com> "from Matt D. Robinson at Jan 23, 2001 11:26:12 am"
Matt Robinson writes:
> Andreas Dilger wrote:
> > What would be wrong with changing the kernel to skip the first page of
> > swap, and allowing us to put a signature there? This would be really
> > useful for systems that mount ext2 filesystems by LABEL or UUID. With
> > the exception of swap, you currently don't need to care about what disk
> > a filesystem is on. Of course, LVM also fixes this, but not everyone
> > runs LVM.
>
> LKCD starts writing a crash dump after the first page of the swap
> partition (if that is used as the dump partition), so I'd hate to see
> this implemented.
I don't see how this applies... Now that I've been educated about how
swap is set up, I see swap already uses the first page for config info
and a signature. Adding some sort of label or ID to the swap info
wouldn't affect swapping or LKCD in any way because it still wouldn't
go past the first page.
It would already be possible to auto-enable any devices with the swap
signature by doing the same sort of search mount(8) is doing for LABEL
and UUID. The only drawback would be that you can't specify priority
and usage order, and you can't auto-detect swap files. Swap files are
not an issue because you can use the file name to locate them.
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-24 8:20 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-22 16:17 Andrew Clausen
2001-01-22 16:32 ` Brian Gerst
2001-01-22 16:47 ` Andrew Clausen
2001-01-22 21:39 ` Russell King
2001-01-22 22:30 ` Andrew Clausen
2001-01-22 22:42 ` Russell King
2001-01-22 23:28 ` Andrew Clausen
2001-01-22 23:35 ` H. Peter Anvin
2001-01-23 4:47 ` Andreas Dilger
2001-01-23 6:23 ` H. Peter Anvin
2001-01-23 19:26 ` Matt D. Robinson
2001-01-24 8:18 ` Andreas Dilger [this message]
2001-01-22 22:16 ` Glenn McGrath
2001-01-22 23:35 ` Jason Venner
2001-01-22 22:42 Andries.Brouwer
2001-01-22 17:35 ` Mark I Manning IV
2001-01-22 22:55 Andries.Brouwer
2001-01-23 15:46 Andries.Brouwer
[not found] <OF03708398.46274A87-ON872569DD.005CA0DE@LocalDomain>
2001-01-23 17:08 ` Andrew Clausen
[not found] <OF5F9BE7DB.C1ADFB0E-ON872569DD.006485CC@LocalDomain>
2001-01-23 18:35 ` Andrew Clausen
2001-01-23 22:01 ` Glenn McGrath
2001-01-24 13:40 ` Andrew Clausen
2001-01-24 10:28 Andries.Brouwer
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=200101240818.f0O8IxK11946@webber.adilger.net \
--to=adilger@turbolinux.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=yakker@alacritech.com \
/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®