WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: hibernate kit for TC
« Reply #30 on: February 22, 2013, 04: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

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

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