lkml.org 
[lkml]   [2000]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: partions on floppy
Date
Adam writes:
> (why I try to do this? I'm trying empirically verify if 'mkswap' will
> check for partion type (ie is this '82') before mkswap-ing it. IMHO, it
> shouldl.... )

No it doesn't, and how can it? There are lots of partitioning formats out
there, so making "mkswap" read the PC BIOS partition sector to verify that
it was a Linux swap partition would be brain dead, especially as you'd have
to bloat mkswap with lots of extra code to go around reading all these
different partition table formats.

Note that floppy disks don't have partitions, and therefore if you create
a partition on a floppy disk, Linux will ignore it.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
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 12:39    [W:0.037 / U:0.976 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site