DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A1HvLBj192829 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=qLiCt33e X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E2603858433 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1730483839; bh=rF2WBA+ldZF5VGcL3ToXrdj7OEkFIGFW2jcj1HFfKHU=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=qLiCt33eL+dZAqYeB8pB2ZT9xoybCoASYPXCr9mG7AoRR7/RG5hkcp8JZ0fR5nr/H LEynT/hCoqs8hg/BQWUkFu/x5UoRnnt9FNWg7mgB7t+fKE328bdIDN4HjCTluIaShJ N+DTtZiw4Fd4V4ER4MWk0C/q9p5TX6noWPP1KaD4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 018763858D28 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 018763858D28 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730483779; cv=none; b=PAGqQQaYi6aPDvwX7Xi2ahMy6xMIehsPSQ1Y+QYkEebcIeZs3Vpn1c2leRzdy5lQeR5bTpFrsd3cPybhI60kFGVOxboa174ipb9VAALz7sK5PjYb/l6ND9jMG+ftCt1Cif/NSGw43GWh20jQTAzNm2ny8IknKRfOKZWQTl7UEaM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730483779; c=relaxed/simple; bh=m1rBmOthuyNPkt2LLIr/BqxCTKKIkOUTBt/AYB0ijs0=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=DcHX+hBiZIHoEaIJza3AV98nnvtGBx1FPeIJU9Bvyk8AqaijPVhnAteaIp8fF/WZMgtUSVzWyPeSHWOBLICPkfQQz6jc0EIXzg90nexba2aTSf96GJET5JrtlPwt4A6lMTyFPy7/p4DZhFZ/WCo45PFtXA3AVuL59DpwHYeFz+g= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730483776; x=1731088576; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K+qHR4JQEHydTOKadsDa5XXP5qVrABkrOIGPYSeYSIg=; b=c2HAvEzNGdfAmI6LChlgbTdXX2MZrMQNdbGMgP0IqlEWYy1xSh3ucbAtXRegxZdGBl CtX11Jnxz+LeQiR3iW6MRcmX098+WZvgMKAVDFy1ENNikGQSa5Qytj0EeGQ5tq6XHL5U xJCWTjpFUZMyRpTu+QUSG5W93mePfR9nqmra/RgQOIyfzVW3ELLNwYRRyVU6alH32Wh3 amSmrg3Sm9GERp+FrV+A8TSw+yT/l0QpCxbhXKby4kczXudi9eAqB3UTktnn2RsGLJna reUsOFsjo2Klc6TqCzDIlPeZdZo981oGH+qeVB17QyhQ6J8cQgOj404Uy5G+GmuhoRCT 8y0A== X-Forwarded-Encrypted: i=1; AJvYcCWUXRDgnAaDznALQKBHEozGjH5t/YFuiQPHmpL20j5033pWUEaKqGSAnsOonFV/icqEC1ZABcY=@cygwin.com X-Gm-Message-State: AOJu0YwqiBXH2DSb1GRySEYsJn7t1WiVGxbMtUtJIST1wteFNJCIAI/X DmzyypPm1Xev042KrTum6M0vNvGRefyZDWENmwjKa7rUxWL2pLg55BZUQ7Kz1VIsPXFAUZmp9sK iARjO4Vw39F7X9zR7Ej3JeTWJlco= X-Google-Smtp-Source: AGHT+IEYl4ccAbVW4J38JTL3wPFeEgEIliKgbtQm6Gz1uyL/tcyb/yWdeidCtYFaKQEgJZqNWK0VuQYHXDDkxiC56JA= X-Received: by 2002:a17:907:7292:b0:a8a:6c5d:63b2 with SMTP id a640c23a62f3a-a9e3a5a049emr1205720166b.18.1730483774865; Fri, 01 Nov 2024 10:56:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 1 Nov 2024 18:56:00 +0100 Message-ID: Subject: Re: [Ms-nfs41-client-devel] WSL: Use ms-nfs41-client on WSL Linux? To: ms-nfs41-client-devel AT lists DOT sourceforge DOT net, cygwin AT cygwin DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Martin Wege via Cygwin Reply-To: Martin Wege Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4A1HvLBj192829 Thanks Cedric! On Wed, Oct 30, 2024 at 7:18 AM Cedric Blancher wrote: > > On Tue, 29 Oct 2024 at 14:13, Martin Wege wrote: > > > > Hello, > > > > How can I use ms-nfs41-client from a WSL Linux? > > WSL does not mount anything except C: at boot time. > > So you need to do a manual mount inside WSL. > > Example 1, using drive letter N: > First mount NFS share in Windows's Cygwin terminal: > /sbin/nfs_mount -o rw "N" nfs://31.48.17.20//lab/lab14/rundata/ > > Within WSL then mount Windows drive 'N': > mkdir /mnt/n > mount -t drvfs N: /mnt/n > > > Example 2, using UNC path: > /sbin/nfs_mount -o rw nfs://31.48.17.20//lab/lab14/rundata/ > > Within WSL then mount Windows drive > mkdir /mnt/rundata > mount -t drvfs '\\31 DOT 48 DOT 17 DOT 20 AT 2049\nfs4\lab\lab14\rundata' /mnt/rundata > > Just calling /sbin/nfs_mount without arguments will print you the UNC > path for each mount. > > > Is this supported? > > Yes, this is supported in the upcoming release of ms-nfs41-client, > with some limitations: > - Win32 QueryInformation types FileStatInformation (68) and > FileStatLxInformation (70) are not yet implemented, so uid/gid/mode > available in Cygwin are not available in WSL yet > - softlinks do not work (EPERM), likely because WSL probes > FileStatInformation&FileStatLxInformation at start, gets > STATUS_NOT_SUPPORTED and then treats it like a FAT drive. > > Ced > -- > Cedric Blancher > [https://plus.google.com/u/0/+CedricBlancher/] > Institute Pasteur > > > _______________________________________________ > Ms-nfs41-client-devel mailing list > Ms-nfs41-client-devel AT lists DOT sourceforge DOT net > https://lists.sourceforge.net/lists/listinfo/ms-nfs41-client-devel -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple