Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2015 18:05:33 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Sergey Manucharian <sm@ara-ler.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
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> <CAOc73CB2qNCAAKMraaaGG%2BUqowpw%2BeZPnEE1VUb7-ASnLu%2Bzww@mail.gmail.com> <20151220162856.GC4053@dendrobates.araler.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sm@ara-ler.com> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151220180533.6de080b5.freebsd>