Krishna iResearch Intelligent Cloud Platform - VIRtual Generic Os - VIRGO - Linux kernel extensions for cloud
Main Page
Classes
Files
File List
All
Classes
linux-kernel-extensions
drivers
virgo
cloudfs
fstest.c
1
/***************************************************************************************
2
VIRGO - a linux module extension with CPU and Memory pooling with cloud capabilities
3
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18
--------------------------------------------------------------------------------------------------
19
Copyright (C):
20
Srinivasan Kannan (alias) Ka.Shrinivaasan (alias) Shrinivas Kannan
21
Independent Open Source Developer, Researcher and Consultant
22
Ph: 9003082186, 9791165980
23
Open Source Products Profile(Krishna iResearch): http://sourceforge.net/users/ka_shrinivaasan
24
Personal website(research): https://sites.google.com/site/kuja27/
25
emails: ka.shrinivaasan@gmail.com, shrinivas.kannan@gmail.com, kashrinivaasan@live.com
26
--------------------------------------------------------------------------------------------------
27
28
*****************************************************************************************/
29
30
#include <sys/types.h>
31
#include <stdlib.h>
32
#include <sys/stat.h>
33
#include <stdio.h>
34
#include <fcntl.h>
35
#include <unistd.h>
36
#include <string.h>
37
38
int
main()
39
{
40
char
buf[256];
41
int
fd;
42
fd=open(
"/home/kashrinivaasan/linux-3.7.8/drivers/virgo/cloudfs/virgofstest.txt"
,O_RDWR);
43
read(fd,buf,256);
44
write(fd,
"appended#"
,256);
45
syncfs(fd);
46
close(fd);
47
return
0;
48
}
Generated on Tue Jul 15 2014 13:51:27 for Krishna iResearch Intelligent Cloud Platform - VIRtual Generic Os - VIRGO - Linux kernel extensions for cloud by
1.8.6