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 April 2014 16:01, Christos Zoulas <> 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


-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?


Home | Main Index | Thread Index | Old Index