mounting udf

Anton Sayetsky vsasjason at gmail.com
Sun Dec 20 17:16:39 UTC 2015


20 дек. 2015 г. 19:05 пользователь "Polytropon" <freebsd at edvax.de> написал:
>
> 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.
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".


More information about the freebsd-questions mailing list