bisserke
05-23-2005, 11:56 PM
Hi all,
I know that the Unix Socket faq isn't really the place to ask but hey, i can try can't I? ^^
I got an assignment to create something like "mount none -t tmpfs /mnt/usertemp" on a win32 platform.
The problem is that it is maintenance that has to be performed on a piece of old code that has to be made multiuser. It exist of a series of independant executables that spawn each other and pass their data through simple textfiles.
Since my time window is pretty narrow and the code is nicely undocumented I'm trying really hard not to make too many changes. (Hey, what else to expect from code written over 15 years ago and later ported to 32-bit)
So I'd like to create a solution like the tmpfs because then I can create a "ramdisk" for every user and let the executables read/write/create their files in that directory without having to track down every file operation that occurs.
I can not use the ramdisk driver from wintendo itself because that stuff needs a reboot to work (who came up with this ?!?!?) and i can hardly let the server reboot itself for every user that logs on.
So if anybody has some pointers, hints,... I'd be very thankful because I've looked everywhere and can't find a solution. You can say I'm in the dark here.
thanks in advance,
Wouter Moors
I know that the Unix Socket faq isn't really the place to ask but hey, i can try can't I? ^^
I got an assignment to create something like "mount none -t tmpfs /mnt/usertemp" on a win32 platform.
The problem is that it is maintenance that has to be performed on a piece of old code that has to be made multiuser. It exist of a series of independant executables that spawn each other and pass their data through simple textfiles.
Since my time window is pretty narrow and the code is nicely undocumented I'm trying really hard not to make too many changes. (Hey, what else to expect from code written over 15 years ago and later ported to 32-bit)
So I'd like to create a solution like the tmpfs because then I can create a "ramdisk" for every user and let the executables read/write/create their files in that directory without having to track down every file operation that occurs.
I can not use the ramdisk driver from wintendo itself because that stuff needs a reboot to work (who came up with this ?!?!?) and i can hardly let the server reboot itself for every user that logs on.
So if anybody has some pointers, hints,... I'd be very thankful because I've looked everywhere and can't find a solution. You can say I'm in the dark here.
thanks in advance,
Wouter Moors