Re: swapon using mkswap [changed subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 26, 2009 at 01:20:55PM +0000, Hugh Dickins wrote:
> >  BTW, there are many requests to zap bootbits area by mkswap (by
> >  default when there is not a disklabel) to remove a superblock of the
> >  original filesystem. Now we have very often valid swap area on a
> >  valid filesystem... (Sometimes it's pretty dangerous, for example
> >  some (idiotic) LiveCDs automatically call swapon when found a valid
> >  swap header on disk.)
> 
> I remember being caught by that kind of issue in the past (though not
> in such dangerous ways), and understand the desire for such zapping.
> But it's not something I have sufficient experience to advise on:
> I've always assumed there are strong legacy reasons why we cannot
> safely zap that area (and was surprised to see TuxOnIce doing so),
> and I hope someone with good legacy experience in Red Hat or SuSE
> can advise you.  Do we have an example of a filesystem which zaps
> that area in its mkfs?

 for example mke2fs on all non-sparc archs.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux