Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: Xianwen Chen on May 11, 2009, 07:42:42 PM

Title: [Request] extend dosswapfile boot option
Post by: Xianwen Chen on May 11, 2009, 07: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?
Title: Re: [Request] extend dosswapfile boot option
Post by: ^thehatsrule^ on May 11, 2009, 08: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.
Title: Re: [Request] extend dosswapfile boot option
Post by: Xianwen Chen on May 11, 2009, 08: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?
Title: Re: [Request] extend dosswapfile boot option
Post by: ^thehatsrule^ on May 11, 2009, 08: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.
Title: Re: [Request] extend dosswapfile boot option
Post by: Xianwen Chen on May 11, 2009, 09:25:28 PM
Thanks for your quick response.

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

Could you please turn this thread into a feature request?  ;)
Title: Re: [Request] extend dosswapfile boot option
Post by: tobiaus on May 11, 2009, 09:44:07 PM
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.
Title: Re: [Request] extend dosswapfile boot option
Post by: ^thehatsrule^ on May 11, 2009, 10:26:35 PM
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.
Title: Re: [Request] extend dosswapfile boot option
Post by: Xianwen Chen on May 11, 2009, 10:47:58 PM
You're right. I've created a new swap file tc.swp. Thanks!