Mount labels in fstab?
Frank Elsner
Frank.Elsner at TU-Berlin.DE
Wed Jun 6 13:40:08 UTC 2007
On Wed, 06 Jun 2007 14:06:19 +0100 Timothy Murphy wrote:
> Frank Elsner wrote:
>
> >> I think I had a problem labelling the swap partition.
> >> Is this necessary?
> >> And if so, can it be done with swap on?
> >
> > Not with "swapon" but with "mkswap".
> >
> >>From "man mkswap":
> >
> > | -L label
> > | Specify a label, to allow swapon by label. (Only for new
> > | style swap areas.)
>
> That is in fact what I did.
> But was it necessary?
Don't know.
> You slightly misunderstood what I meant.
> I ran swapoff before mkswap -
> I don't know if that was necessary, but it seemed sensible.
I really mis-understood.
swapoff must be done before mkswap in order to prevent the use during mkswap.
--Frank Elsner
More information about the fedora-list
mailing list