WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Request] extend dosswapfile boot option  (Read 5204 times)

Offline Xianwen Chen

  • Full Member
  • ***
  • Posts: 142
[Request] extend dosswapfile boot option
« on: May 11, 2009, 10:42:42 PM »
Hello fellow TCers,

I'm confused on dosswapfile. I though it would be same as pagefile.sys, which is the swap file used in Windows, so I specified as

Code: [Select]
dosswapfile=hda1/pagefile.sys
However, TC doesn't treat it as a dosswapfile, as I didn't see any increase of memory via 'top' command.

Any hint please?
« Last Edit: May 12, 2009, 01:21:30 AM by ^thehatsrule^ »

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: [Request] extend dosswapfile boot option
« Reply #1 on: May 11, 2009, 11:12:26 PM »
The syntax for that option accepts only "hdXx" or nothing at all  (i.e. see f2 on a livecd boot)

Currently, the filename has to be "tc.swp".  The swapfile tool can create this for you.

You can request that as a feature if you want to add that kind of syntax.

Offline Xianwen Chen

  • Full Member
  • ***
  • Posts: 142
Re: [Request] extend dosswapfile boot option
« Reply #2 on: May 11, 2009, 11:35:32 PM »
Thanks!

I'm currently using grub4dos to load tc. I couldn't access f2.

Where shall I post to request for a new featurea?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: [Request] extend dosswapfile boot option
« Reply #3 on: May 11, 2009, 11:52:57 PM »
If you have the f2/f3 files, they can be read with any text viewer.  It looks like it's also available on the wiki.

We could turn this into a request thread if you want, or you could start another thread.

Offline Xianwen Chen

  • Full Member
  • ***
  • Posts: 142
Re: [Request] extend dosswapfile boot option
« Reply #4 on: May 12, 2009, 12:25:28 AM »
Thanks for your quick response.

I've read through f2/f3 doc from wiki.

Could you please turn this thread into a feature request?  ;)

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: [Request] extend dosswapfile boot option
« Reply #5 on: May 12, 2009, 12:44:07 AM »
i did a little searching and found the rainbowlinux blog mention encrypted sharing of pagefile.sys with windows. the post also mentioned a hacked version of ntfs-3g.

other than that it's something i've never heard of, i wouldn't think it would be a good idea to share pagefile.sys, but i wouldn't really know.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: [Request] extend dosswapfile boot option
« Reply #6 on: May 12, 2009, 01:26:35 AM »
Encryption is probably optional and not a default.

One problem is that may be apparent is if the partition of the residing swap file is on NTFS (or any other fs not in base), and would require a remaster.  However, supporting different filenames should be easy enough.

Offline Xianwen Chen

  • Full Member
  • ***
  • Posts: 142
Re: [Request] extend dosswapfile boot option
« Reply #7 on: May 12, 2009, 01:47:58 AM »
You're right. I've created a new swap file tc.swp. Thanks!