Re: Tool for changing label of a swap partition?

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

 



Hello Karel,

Karel Zak [2009-11-02 12:18 +0100]:
> I guess DK-D has information (from libblkid/udev) that the device is
> "swsuspend", the library differentiate between swap and swsuspend
> superblocks.

Ah, perfect. So that means it should always be safe to do an mkswap on
an inactive swap partition, and we could implement the "change swap
label" functionality in dk-disks using swapoff/mkswap/swapon? (Which
would induce quite a lot of overhead, of course) Or just don't offer
the feature for active swap partitions and do mkswap with the new
label only.

> > Do you plan to add a tool to do that?
> 
> This is first time when someone is asking for such feature ;-)

I doubt that so many people will actually use it, it's just a missing
piece in the devkit-disks feature matrix. :-)

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
--
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