You could also just use a loopback filesystem (essentially a fixed size file
mounted as its own filesystem). Been years since i've used this, so cant
give any specific help, but should be simper than ramdisks.
Tom

On 27/10/2007, Faheem Mitha <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
> Here is a simple question about testing. I have a django file upload
> application which needs to operate on the filesystem as part of its
> functionality (create files/directories etc. under media root) I use
> Debian etch. So, I want a way to test filesystem operations, preferably
> without using an actual filesystem to avoid possible damage from a test
> run amuck.
>
> I was wondering how people are handling this in a test framework setup.
> Any ideas about this? I was thinking of possibly using a ramdisk
> (filesystem in RAM), but I don't know how easy or convenient it would be.
>
> Please cc me on any reply.
>                                                            Thanks, Faheem.
>
> >
>


-- 
Tom Badran
http://badrunner.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to