From owner-freebsd-questions@freebsd.org Sun Dec 20 17:16:39 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 88865A4D579 for ; Sun, 20 Dec 2015 17:16:39 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 253D21625 for ; Sun, 20 Dec 2015 17:16:39 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id p187so42997767wmp.0 for ; Sun, 20 Dec 2015 09:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tiqhvco9VNV1jf6YvgTt+oXndmBJZIsr5ZKUYPBEXrE=; b=015pJURrBjFS3Wn+BZuWk2hgOynVU5VR7xVLPQKveOkatbAq1P9ixXSyA9DAI07etY Prb5tma518luIt4DKOJqVS07cECFxWCDO3hW7ya/RQdIknR59URl6fcet1VAh+Auos2d 18kHDu7t0DhGIdffrpPecvkRTuYiWMOigwRIbln8cWKGFAJe0XqsJgp7KVbh9rshMyNc sGDSw2wRlhTNZaeKhZvDxdW/jmYS45Pi3VZqvO+tBiCcGA/jnF5SEwT2DIKkRBiUYpF1 6UJEeqgNX84mxTXpDQwe/5yoyP0z6vaJn43gMMyxC7Oz1TnuH9p+ZdUkpg1MoiSqOwJ0 Maww== MIME-Version: 1.0 X-Received: by 10.194.111.232 with SMTP id il8mr18262820wjb.150.1450631797719; Sun, 20 Dec 2015 09:16:37 -0800 (PST) Received: by 10.194.76.207 with HTTP; Sun, 20 Dec 2015 09:16:37 -0800 (PST) Received: by 10.194.76.207 with HTTP; Sun, 20 Dec 2015 09:16:37 -0800 (PST) In-Reply-To: <20151220180533.6de080b5.freebsd@edvax.de> 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> <20151220180533.6de080b5.freebsd@edvax.de> Date: Sun, 20 Dec 2015 20:16:37 +0300 Message-ID: Subject: Re: mounting udf From: Anton Sayetsky To: Polytropon Cc: Sergey Manucharian , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 20 Dec 2015 17:16:39 -0000 20 =D0=B4=D0=B5=D0=BA. 2015 =D0=B3. 19:05 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0= =BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Polytropon" =D0= =BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > On Sun, 20 Dec 2015 09:28:56 -0700, 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: > > > > # fstyp /dev/da0s1 > > fstyp: /dev/da0s1: filesystem not recognized > > > > # mount_udf -v /dev/da0 /mnt/tmp/ > > mount_udf: /dev/da0: Invalid argument > > > Try for identification: > > > # file - < /dev/da0 > > and > > # file - < /dev/da0s1 > > and post the output of the two commands. It's better to use "file -s" rather than redirection. > Make sure you're accessing the correct device file, i.e. when a > slice ("DOS primary partition") has been established, use da0s1, > if not, da0 - it depends on how the file system is "embedded".