NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to share paging file between NetBsd and Windows 7?



On 5 Apr 2014 at 17:52, Ottavio Caruso wrote:

> On 5 April 2014 16:01, Christos Zoulas <christos%zoulas.com@localhost> wrote:
> > Yes, chmod is not supported on NTFS. It is also not really meaningful
> > with the NTFS semantics (would be emulated by removing the read write
> > and execute from all the other entity ACLs from the file, but that's
> > different again).
> 
> So I have now installed fuse-ntfs-3g, mounted the win partition rw
> with uid=0, then:
> 
> -bash-4.2# swapctl -a /mnt/win7/pagefile.sys
> swapctl: WARNING: /mnt/win7/pagefile.sys is readable by the world
> swapctl: WARNING: /mnt/win7/pagefile.sys is writable by the world
> 
> Still complaining, however:
> 
> -bash-4.2# swapctl -s
> total: 2054448 blocks allocated = 0 blocks used, 2054448 blocks available
> 
> and:
> 
> -bash-4.2# cat /proc/meminfo
>         total:    used:    free:  shared: buffers: cached:
> Mem:  2028154880 731725824 1296429056        0 154378240 584462336
> Swap: 2103754752        0 2103754752
> MemTotal:   1980620 kB
> MemFree:    1266044 kB
> MemShared:        0 kB
> Buffers:     150760 kB
> Cached:      570764 kB
> SwapTotal:  2054448 kB
> SwapFree:   2054448 kB
> 
> Does it mean the swap file is actually working?

You have enough free memory so it's not swapping.

From my system just now:
105M Act, 8072K wired, 15M Exec, 68M File, 2844M Free
Swap: 1372M Total, 1372M Free

Last week I had too many sysbuild jobs which had my system
almost unusable before sysbuild crashed. I've now split
sysbuild jobs into four sets to run without swapping on
different days.


David

 
> -- 
> Ottavio




Home | Main Index | Thread Index | Old Index