Re: knoppix 5.01 mkdosswapfile ?



In article <QHnIg.16889$2J6.12157@xxxxxxxxxxxxxxxxxxxx>,
Jim <james@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

Once upon a midnight dreary, while surf pondered weak and weary over many a
quaint and curious volume of forgotten lore...:

I am runing knoppix 5.01 from a live cd on my HP laptop/windows XP.
How can I set up a swap file on dos to save files permenantly ?

That's not what a swap file is for. Swap files perform the same job as 9x/NT
swap files, in that they serve as space for the OS to dump data from RAM.

Correct.

I think you're on about a persistant /home mountpoint. For which you can use
pretty much any folder on any partition. NTFS is, however, dodgy at the
best of times. You'd be better off, if you're dualbooting, using a VFAT(32)
partition to store documents.

That used to be the case.

Or, if you're feeling brave, an ext2 or ext3
partition (there's a driver for 9x/NT that allows rw access to ext2/3).

It really sucked having to repartition just to get space.

This being the better option as it allows you to set permissions.

I don't think it mattered. Knoppix creates a loopback image inside of the
target and then formats a Linux file system on that image. Permissions work
fine.

If I
run mkdosswapfile as root or anyway it says -> no useble partions
available for swapfile. my partitions show permisions of -rw-r--r--r

NTFS is unusable as a swap partition. Blame Microsoft for that one, them
having not fully disclosed the format, Linux compatibility is a kluge. Most
of it's good (like, the reading part) but writing is... well... Linux NTFS
write access does not use the journal. Writing large amounts of data like a
swap file will in all likelihood trash the partition.

I'm not sure of the current status of NTFS write support. The last that I
read is that NTFS writing is now stable and transparant. A quote from the
www.linux-ntfs.org new page:

"On 07/14/2006, Project Member Szabolcs Szakacsits presented a new version of
our ntfsmount and libntfs, currently given the project internal title
ntfs-3g. This version has, apart from several rather unlikely cases, full
read/write capabilities and has improved performance. As news spreads
quickly, it has already been downloaded and tested by many users, and no
incident has been reported so far. Despite of that it is still to be
considered beta, and will upon successfull testing (in some way or the other)
merge into the linux-ntfs ntfsprogs package."

Also knoppix 5.01 lists as a feature:

" transparent write access for NTFS partitions (libntfs+fuse)"

Also here is a Knoppix forum thread where a users stress tested Knoppix 5.01
and ntfs-3g on a read/write NTFS filesystem:

http://www.knoppix.net/forum/viewtopic.php?t=25032

results were promising.

BAJ
.



Relevant Pages

  • Re: Anybody having trouble formating maxtor 6L200 mo harddrive (sata)
    ... I didnt know that ntfs could ... > I used qparted in knoppix 4 and got this error when i tried to resize ... It just couldnt quite resize the partition. ...
    (alt.linux)
  • Re: knoppix 5.01 mkdosswapfile ?
    ... How can I set up a swap file on dos to save files permenantly? ... pretty much any folder on any partition. ... NTFS is unusable as a swap partition. ... build a new model that makes the old model obsolete. ...
    (comp.os.linux.misc)
  • Re: Anybody having trouble formating maxtor 6L200 mo harddrive (sata)
    ... Always, if i got that far, there was a failure to resize the windows ntfs partition. ... The live cd's are fairly snappy Knoppix, and damn small,and they see the hard drive just fine and go on the net fine too. ...
    (alt.linux)
  • Re: Advice needed on partioning HD for XPPro
    ... Having your swap file on the same physical drive as the operating system, ... but on a separate partition is not the best way to go. ... > The Microsoft site recommends partitioning as one huge NTFS volume which I ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Questions about imaging my C: drive. a little worried...
    ... one partition and that partition is NTFS. ... Everything else belongs on other spindles. ... None of these files are particularly big except for the swap file which has special OS protection regardless of format. ...
    (rec.audio.pro)