mounting udf

Polytropon freebsd at edvax.de
Sun Dec 20 17:05:37 UTC 2015


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 at 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, ...


More information about the freebsd-questions mailing list