GithubHelp home page GithubHelp logo

pingfs's People

Contributors

jhmartin avatar troglobit avatar yarrick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pingfs's Issues

"No superuser required" and "use root" contradict each other

In the readme, you say "No superuser required" but then instruct users to use sudo to run the FUSE entry point.

IIRC you always have to have root powers to mount. Seems like a mistake in the readme.

Hilarious repo by the way, I love it. ๐Ÿ’ƒ

Make error

I got this error with fuse.h file:

cc --std=c99 -Wall -Wshadow -pedantic -g `pkg-config fuse --cflags` -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809 -D_XOPEN_SOURCE   -c -o pingfs.o pingfs.c
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
In file included from pingfs.c:23:0:
fs.h:22:18: fatal error: fuse.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'pingfs.o' failed
make: *** [pingfs.o] Error 1

But fuse package was installed already:

zhangysh1995@zhangyushao-desktop:~/work/tests/pingfs$ sudo apt-get install fuse
[sudo] password for zhangysh1995: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
fuse is already the newest version (2.9.4-1ubuntu3.1).

How could I get around this error?

Tagging/versioning

Would it be possible to tag a version for this project in git? I can submit a PR if you'd like... @yarrick, thoughts?

License File

Can you add license file that describe what license this project is

redunancy

it would be great to have redundancy, this could reduce the risk of loosing files or corruption,

lets say you have a IP list with 100 ips, 50 of those ips respond properly to pings, files would be "stored" (pinged?) to all 50, if some stop responding or go down you wouldnt loose the files

Permission Denied

I just compiled and ran on Linux Mint. Some writes to file system return "Permission Denied". Here are some working, and not working, commands:

$ sudo ./pingfs pinghosts.txt /media/dennis (Working)
$ sudo touch /media/dennis/newfile (Working)
$ sudo ls /media/dennis (Working)
newfile
$ sudo echo Hello > /media/dennis/hello.txt (Not Working)
bash: /media/dennis/hello.txt: Permission denied

Thanks in advance.

Issue with ld during compile.

โžœ  pingfs git:(master) make
cc --std=c99 -Wall -pedantic -g  -lanl  pingfs.c icmp.o host.o   -o pingfs
/tmp/ccaq1yv9.o: In function `main':
/opt/pingfs/pingfs.c:72: undefined reference to `getaddrinfo_a'
/opt/pingfs/pingfs.c:82: undefined reference to `gai_error'
host.o: In function `host_create':
/opt/pingfs/host.c:75: undefined reference to `gai_error'
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'pingfs' failed
make: *** [pingfs] Error 1
โžœ  pingfs git:(master) uname -ra
Linux atticus 3.19.0-22-generic #22-Ubuntu SMP Tue Jun 16 17:15:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
โžœ  pingfs git:(master) cat /etc/issue
Ubuntu 15.04
โžœ  pingfs git:(master) cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.9.2-10ubuntu13' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
 --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++
 --prefix=/usr --program-suffix=-4.9 --enable-shared
 --enable-linker-build-id --libexecdir=/usr/lib
 --without-included-gettext --enable-threads=posix
 --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib
 --enable-nls --with-sysroot=/ --enable-clocale=gnu
 --enable-libstdcxx-debug --enable-libstdcxx-time=yes
 --enable-gnu-unique-object --disable-vtable-verify --enable-plugin
 --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
 --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre
 --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64
 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64
 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
 --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13) 
โžœ  pingfs git:(master) ld -v
GNU ld (GNU Binutils for Ubuntu) 2.25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.