Nfs run for java

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Pure Java NFS v3/v4.1 server backed by dCache nfs4j

License

inetum-orleans/nfs4j-daemon

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Читайте также:  Php работают только index

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Pure Java NFS v3/v4.1 server backed by dCache nfs4j.

This project has been designed as an alternative to winnfsd. Vagrant plugin is available at gfi-centre-ouest/vagrant-nfs4j.

NFS v3 is available, but not untested and unsupported. You should use NFS v4.1 only for now.

  • Download latest binaries from Github Releases.
  • Run nfs4j-daemon . With default options, it will publish the current working directory through NFS.
mkdir /mnt/nfs4j mount -t nfs 192.168.1.1:/ /mnt/nfs4j

All options are available through Command Line and Configuration File.

java -jar nfs4j-daemon.jar --help
Usage: main class> [-h] [--api] [--no-share] [--portmap-disabled] [--udp] [--api-bearer=apiBearer>] [--api-ip=apiIp>] [--api-port=apiPort>] [-c=config>] [-e=exports>] [-g=gid>] [-m=mask>] [-p=port>] [-t=permissionType>] [-u=uid>] [shares>. ] [shares>. ] Directories to share -c, --config=config> Path to configuration file -u, --uid=uid> Default user id to use for exported files -g, --gid=gid> Default group id to use for exported files -m, --mask=mask> Default mask to use for exported files -t, --permission-type=permissionType> Permission type to use (DISABLED, EMULATED, UNIX) Default: DISABLED -p, --port=port> Port to use --api Enable HTTP API --api-port=apiPort> Port to use for API --api-ip=apiIp> Ip to use for API --api-bearer=apiBearer> Bearer to use for API authentication --no-share Disable default share and configured shares --udp Use UDP instead of TCP --portmap-disabled Disable embedded portmap service -e, --exports=exports> Path to exports file (nsf4j advanced configuration) -h, --help Display this help message

Configuration file is loaded from nfs4j.yml in working directory by default.

You can set a custom filepath to this configuration file with -c, —config= command line option.

port: 2048 udp: false permissions: gid: 1000 uid: 1000 mask: 0644 shares: - 'C:\Users\Toilal\projects\planireza' - 'C:\Users\Toilal\projects\docker-devbox' - 'D:\'

Make sure you are using single quote on shares definition strings in yaml configuration file to avoid issues with backslashes.

# Service side java -jar nfs4j-daemon.jar # Client side mount -t nfs 192.168.1.1:/ /mnt/nfs4j
# Service side java -jar nfs4j-daemon.jar C:\my\folder # Client side mount -t nfs 192.168.1.1:/ /mnt/nfs4j
# Server side java -jar nfs4j-daemon.jar C:\my\folder D:\another\folder # Client side mount -t nfs 192.168.1.1:/C/my/folder /mnt/nfs4j-1 mount -t nfs 192.168.1.1:/D/another/folder /mnt/nfs4j-2
  • Alias can be defined manually by adding its value after the local path of the share, using : as separator.
# Service side java -jar nfs4j-daemon.jar C:\my\folder:/folder1 D:\another\folder:/folder2 # Client side mount -t nfs 192.168.1.1:/folder1 /mnt/nfs4j-1 mount -t nfs 192.168.1.1:/folder2 /mnt/nfs4j-2 
shares: - 'C:\my\folder:/folder1' - 'D:\another\folder:/folder2' 
shares: - path: 'C:\my\folder' alias: '/folder1' - path: 'D:\another\folder' alias: '/folder2' 
  • By default, permissions type is set to DISABLED on Windows, and UNIX on Linux.
    • DISABLED => File permission support is disabled. Best performances, but files will always match default uid, gid and mode ( chown / chmod has no effect).
    • EMULATED => File permission support is emulated using a local database. This may impact performance, files uid, gid and mode are preserved on any server OS.
    • UNIX => File permission support use native Unix attributes on the server. This better performance than EMULTAED , files uid, gid and mode are be preserved, but this option is only supported on Unix servers.

    Symbolic links support on Windows

    On default Windows installation, unprivileged user can’t create symbolic links, so nfs4j may fail to create symbolic links too.

    You have some options to workaround this issue.

    • Run nfs4j-daemon as Administrator.
    • Tweak the Local Group Policy to allow Create symbolic links to the user running nfs4j-daemon . (See this StackOverflow post)

    Источник

    Saved searches

    Use saved searches to filter your results more quickly

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

    Pure Java NFSv3 and NFSv4.1 implementation

    License

    dCache/nfs4j

    This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

    Name already in use

    A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

    Sign In Required

    Please sign in to use Codespaces.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching Xcode

    If nothing happens, download Xcode and try again.

    Launching Visual Studio Code

    Your codespace will open once ready.

    There was a problem preparing your codespace, please try again.

    Latest commit

    Git stats

    Files

    Failed to load latest commit information.

    README.md

    The pure java implementation of NFS server version 3, 4.0 and 4.1 including pNFS extension with nfs4.1-files and flex-files layout types.

    To build nfs4j from source code Java11 and Maven3 are required.

    Implementing own NFS server

    public class App < public static void main(String[] args) throws Exception < // create an instance of a filesystem to be exported VirtualFileSystem vfs = new . ; // create the RPC service which will handle NFS requests OncRpcSvc nfsSvc = new OncRpcSvcBuilder() .withPort(2049) .withTCP() .withAutoPublish() .withWorkerThreadIoStrategy() .build(); // specify file with export entries ExportFile exportFile = new ExportFile(. ); // create NFS v4.1 server NFSServerV41 nfs4 = new NFSServerV41.Builder() .withExportFile(exportFile) .withVfs(vfs) .withOperationFactory(new MDSOperationFactory()) .build(); // create NFS v3 and mountd servers NfsServerV3 nfs3 = new NfsServerV3(exportFile, vfs); MountServer mountd = new MountServer(exportFile, vfs); // register NFS servers at portmap service nfsSvc.register(new OncRpcProgram(100003, 4), nfs4); nfsSvc.register(new OncRpcProgram(100003, 3), nfs3); nfsSvc.register(new OncRpcProgram(100005, 3), mountd); // start RPC service nfsSvc.start(); System.in.read(); > >

    Use NFS4J in your project

    dependency> groupId>org.dcachegroupId> artifactId>nfs4j-coreartifactId> version>0.19.0version> dependency> repositories> repository> id>dcache-releasesid> name>dCache.ORG maven repositoryname> url>https://download.dcache.org/nexus/repository/public/url> layout>defaultlayout> repository> repositories>

    Though NFS4J is used by the dCache and other projects in production, the public API is still unstable and subject to change (indicated by leading zero in the version number). Thus, should be considered as beta .

    Please consult the API changes document when switching between version numbers. The patch level releases are not affected by API changes, of course.

    NFS4J uses the linux kernel model where git is not only source repository, but also the way to track contributions and copyrights.

    Each submitted patch must have a «Signed-off-by» line. Patches without this line will not be accepted.

    The sign-off is a simple line at the end of the explanation for the patch, which certifies that you wrote it or otherwise have the right to pass it on as an open-source patch. The rules are pretty simple: if you can certify the below:

    Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

    then you just add a line saying ( git commit -s )

    Signed-off-by: Random J Developer

    using your real name (sorry, no pseudonyms or anonymous contributions.)

    For help and development related discussions please contact us: dev (@) dcache (.) org

    Источник

    Скачать Need for Speed: The Run (JAVA 3D & 2D versions) — Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run — гоночный симулятор с самой сногсшибательной 3D-графикой для JAVA. Как обычно в играх выпущенных в 2011 году, действия начнут разворачиваться в так полюбившемся разработчикам игр городе Сан-Франциско. В игре вас ждёт семь крутых автомобилей которые вы сможете усовершенствовать по мере выигрывания уличных гонок. Самое интересное начинается на третьем уровне, разворачивающемся в городе Лас-Вегас, когда в гонку включается полиция и вам помимо ваших соперников придётся сражаться ещё и с ней. Разбивайте не только машины противников, но и полицейские автомобили которые вас преследуют. Здесь реализованы самые крутые спецэффекты игры The Run. Воспользуйтесь нитро ускорителем, чтобы обогнать ваших соперников на финишной прямой. Бак с Nitro пополняется при использовании дрифтинга на крутых поворотах.

    Игра NFS: The Run доступна в трёх версиях 2D, 3D и Альбомная 3D.
    3D версии на большинстве телефонов LG, будут тормозить и автомобиль после нескольких секунд игры будет пропадать, однако это совершенно не мешает выиграть гонку, считайте, что это просто режим КАМЕРА НА КАПОТЕ .
    2D версия также заслуживает отдельного внимания, так как это одна из лучших гонок на Java в портретном режиме.

    Альбомная 3D версия поддерживается ТОЛЬКО на телефонах: LG KM900 Arena, LG GC900 Viewty Smart, LG GM360i Viewty Snap, LG GS290 Cookie Fresh.
    Для всех остальных моделей телефонов только портретные версии.

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия) Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    Need for Speed: The Run (JAVA 3D & 2D versions) - Жажда Скорости: Беги (+ Альбомная версия)

    На телефоне LG Arena с прошивками KM900AT_V10m и KM900AT_V10p, настоятельно рекомендуем использовать Разгон JAVA на LG KM900

    Жанр: Гонки
    Графика: 3D
    Разрешение: 240×400
    Размер: Full Screen (в Полный экран)
    Управление: Адаптировано под Touch Screen
    Режим просмотра: Портретный режим
    Язык: English
    Разработчик: Electronic Arts

    Скачать бесплатно Java-игру Need for Speed: The Run 240×400 для сенсорных телефонов:

    Need_for_Speed_The_Run_2D.jar — 2D версия портретная ориентация
    Need_for_Speed_The_Run_3D_240x400.jar — 3D версия портретная ориентация
    Need_for_Speed_The_Run_3D_400x240.jar — 3D версия альбомная ориентация

    Проверено на: Samsung s5230 | LG KM900 Arena | LG GC900 Viewty Smart | Java Games 240×400 | 3D JAVA-Games | Full Screen | Touch Screen | Electronic Arts

    Понравилась новость? Хотите сказать спасибо?

    — Поделитесь ссылкой на Need for Speed: The Run (JAVA 3D & 2D versions) — Жажда Скорости: Беги (+ Альбомная версия) с теми, кто нуждается в этой информации.

    Источник

Оцените статью