From owner-freebsd-questions@freebsd.org Sun Dec 20 17:05:37 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 B92B6A4ED39 for ; Sun, 20 Dec 2015 17:05:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 806721EAD for ; Sun, 20 Dec 2015 17:05:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 9AADE2774F; Sun, 20 Dec 2015 18:05:33 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBKH5XtG008459; Sun, 20 Dec 2015 18:05:33 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 20 Dec 2015 18:05:33 +0100 From: Polytropon To: Sergey Manucharian Cc: freebsd-questions Subject: Re: mounting udf Message-Id: <20151220180533.6de080b5.freebsd@edvax.de> 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> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:05:37 -0000 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. 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". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...