WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: hibernate kit for TC  (Read 11082 times)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: hibernate kit for TC
« Reply #30 on: February 22, 2013, 01:40:22 PM »
Good catch, I hadn't noted that label option was introduced into mainline busybox (patches had been around since a while).

Code: [Select]
tc@box:~$ mkswap -L Labeltest /mnt/hda6/tc2.swp
Setting up swapspace version 1, size = 268431360 bytes
UUID=c6a69d5e-520b-4944-be86-ffb5fa3d1f2a

tc@box:~$ file /mnt/hda6/tc2.swp   
/mnt/hda6/tc2.swp: Linux/i386 swap file (new style) 1 (4K pages) size 65535 pages Label Labeltest

tc@box:~$ strings /mnt/hda6/tc2.swp |head -2
*Labeltest
SWAPSPACE2

... works like a charm, but I could still not see how exactly that would relate to the topic   ???
« Last Edit: February 22, 2013, 02:27:37 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)