How to set label on swap partition (SOLVED)

Paul Howarth paul at city-fan.org
Fri Mar 11 21:05:43 UTC 2005


On Fri, 2005-03-11 at 15:07 -0500, Jeff Kinz wrote:
> On Fri, Mar 11, 2005 at 10:02:05PM +0200, Pasha R wrote:
> > It appears that mkswap does have a -L option, though undocumented in man
> > page. Using it fixed my problem.
> > 
> > BTW, how do you set label in fdisk? I tried that, but could not find an
> > appropriate option.
> 
> from the "m" command ("m" for "help" :-) )
>    "t"   change a partition's system id
> 
> The type for linux swap is "82"

That's setting the partition type in the partition table, which is not
the same as the filesystem label, which lives "inside" the filesystem on
each partition.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list