From owner-freebsd-questions@freebsd.org Mon Dec 21 10:51:42 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E944EA4D41E for ; Mon, 21 Dec 2015 10:51:42 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABBD117B7 for ; Mon, 21 Dec 2015 10:51:42 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id l126so64292402wml.1 for ; Mon, 21 Dec 2015 02:51:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:subject:in-reply-to:references:user-agent :mime-version:content-type; bh=wvqYyuZp55kinwqq9vFQbDAt8RJiOlfKgIa/aqbVwRc=; b=SBnfIM23NGOberqDkwLB5mtmiZPYW312SffZE0vXXkaj2CmpAi64m3WOFxZeGZyvOp saDKCliCTyutMCKkCB44oDI0D4isIRRlEgl3asHaiTQ9RnxEC3X4qmV0zfSK0CYAabNI y76uNKKanuscrvdYpPRmpefZlHE5pr8HHKTavhvxwgz9xE0KAM5qwLlOkT3a8LAiE/3z VIc7Y048fVEZhrsy9KfCMnToLVpTpsN2qog4WC8dUyVS7dz1f9ipju+YIJjz4rOFmKS9 PQ2ALMsSy5wRCglIoBgDKfPC13a0ERI7SfsS3Pr5ZmRlgH2RMJlJLJR1JqxupNGxEQXs /6mw== X-Received: by 10.28.128.215 with SMTP id b206mr6734904wmd.52.1450695099859; Mon, 21 Dec 2015 02:51:39 -0800 (PST) Received: from oslo.ath.cx ([2a02:b18:581:10:30f1:8752:52d1:d787]) by smtp.gmail.com with ESMTPSA id o65sm19560507wmg.3.2015.12.21.02.51.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Dec 2015 02:51:39 -0800 (PST) Date: Mon, 21 Dec 2015 11:51:37 +0100 Message-ID: <86egegjcqu.wl-h.skuhra@gmail.com> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: mounting udf In-Reply-To: <20151220162856.GC4053@dendrobates.araler.com> References: <20151219171651.12f1da2d@jive.levalinux.org> <20151219191010.21d4af06.freebsd@edvax.de> <20151219204039.70b2b91b@jive.levalinux.org> <20151219210321.c5438bdc.freebsd@edvax.de> <20151220060715.GJ22018@dendrobates.araler.com> <20151220162856.GC4053@dendrobates.araler.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.0.50 (i386-pc-freebsd10.2) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2015 10:51:43 -0000 On Sun, 20 Dec 2015 17:28:56 +0100, Sergey Manucharian wrote: > > Excerpts from Ben Woods's message from Sun 20-Dec-15 08:37: > > On Sunday, 20 December 2015, Sergey Manucharian wrote: > > > > > I have UDF filesystem on a USB flash drive. It works in read/write mode > > > in Linux: > > > > > > # mount -t udf /dev/sda /mnt/ > > > $ mount | grep udf > > > /dev/sda on /mnt type udf (rw,relatime,utf8) > > > > > > But does not work at all in FreeBSD 11-CURRENT: > > > > > > # mount_udf /dev/da0 /mnt/tmp/ > > > mount_udf: /dev/da0: Invalid argument > > > > > > Sergey > > > > > > > Try adding the verbose option -v which is mentioned in the mount_udf(8) man > > page. > > > > Also, given you are on FreeBSD 11-CURRENT, you might try using the > > fstyp(8) command to confirm this is a udf file system. > > Nope. Nothing new. I've also reformatted it in Windows (which created a > partition). Still works fine in Linux, but not in FreeBSD: It also works in NetBSD: /dev/vnd0e on /mnt type udf (local) > # fstyp /dev/da0s1 > fstyp: /dev/da0s1: filesystem not recognized > > # mount_udf -v /dev/da0 /mnt/tmp/ > mount_udf: /dev/da0: Invalid argument There is a PR from 2010 (still in progress): https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=120989 -- Herbert