From: Pat Double <pat@pa...> - 2006-03-14 17:21:11
I would like to export a 3.5" floppy drive (/dev/fd0) using vblade. I tri=
but it is heavier and for some reason will not work with the vfat filesys=
should, but it doesn't. My problem is that when switching the diskette th=
diskette data continues to be used. I believe this is due to caching on t=
vblade side, if I restart vblade the new diskette is used. I tried to mod=
the aoe.c file to include O_DIRECT in the open(...) call of main(...). I =
hoping this would bypass any caching and do all read/write operations dir=
to the disk, but I saw no change. Actually it was odd because I had to us=
040000 instead of O_DIRECT because no matter what file I included, I coul=
get O_DIRECT to be found.
I am using Linux 2.6.11. Any help with this? Thanks in advance.
Get latest updates about Open Source Projects, Conferences and News.