lkml.org 
[lkml]   [2001]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Partition IDs in the New World TM
Andreas Dilger wrote:

> 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.

That would be a very poor idea.
Since different filesystems have signatures in different places,
a partition may well have signatures for several filesystem types.
Similarly, many filesystems leave the first sector alone -
there may be some boot loader there - so if such a filesystem
was created on what used to be a swap partition, also the swap
signature will still be there.

More generally it is a bad idea to start a guessing game.
That leads to systems that usually work, instead of systems that work.

Andries
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.547 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site