Date: Sun, 20 Dec 2015 14:38:07 -0700 From: Sergey Manucharian <sm@ara-ler.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: mounting udf Message-ID: <20151220213807.GA4064@dendrobates.araler.com> In-Reply-To: <20151220183934.4bf4c6bb.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> <CAOc73CB2qNCAAKMraaaGG%2BUqowpw%2BeZPnEE1VUb7-ASnLu%2Bzww@mail.gmail.com> <20151220162856.GC4053@dendrobates.araler.com> <CA%2BtpaK00sz7%2BtH5ikXafrvkKA_xmAiqajAwFSnxMf0W3-6SMZQ@mail.gmail.com> <20151220172157.GD4053@dendrobates.araler.com> <20151220183934.4bf4c6bb.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Excerpts from Polytropon's message from Sun 20-Dec-15 18:39: > On Sun, 20 Dec 2015 10:21:57 -0700, Sergey Manucharian wrote: > > Excerpts from Adam Vande More's message from Sun 20-Dec-15 11:14: > > > On Sun, Dec 20, 2015 at 10:28 AM, Sergey Manucharian <sm@ara-ler.com> wrote: > > > > > > > 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 > > > > > > > > > > You are preforming operations on two different block devices. I cannot > > > understand why. The prior output from linux indicates /dev/da0 is the only > > > one you should care about. > > > > No, I've mentioned it above: Windows has created a partition after > > I reformated it. > > So da0 is not carrying the file system - da0s1 is. By my undestanding since there is no magic number for UDF, Windows set the partition type to FAT32. But that should not have any effect, especially when the filesystem is specified explicitely. Linux: ====== # file -s /dev/sda /dev/sda: DOS/MBR boot sector; partition 1 : ID=0xb, start-CHS (0x0,1,1), end-CHS (0x3ff,254,63), startsector 63, 31262427 sectors, extended partition table (last) # file -s /dev/sda1 # fdisk -l /dev/sda Disk /dev/sda: 14.9 GiB, 16008609792 bytes, 31266816 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sda1 63 31262489 31262427 14.9G b W95 FAT32 # mount /dev/sda1 /mnt/tmp/ $ mount .... /dev/sda1 on /mnt/tmp type udf (rw,relatime,utf8) FreeBSD: ======== # file -s /dev/da0 /dev/da0: DOS/MBR boot sector; partition 1 : ID=0xb, start-CHS (0x0,1,1), end-CHS (0x3ff,254,63), startsector 63, 31262427 sectors, extended partition table (last) # file -s /dev/da0s1 /dev/da0s1: data # gpart list da0 Geom name: da0 modified: false state: OK fwheads: 255 fwsectors: 63 last: 31266815 first: 63 entries: 4 scheme: MBR Providers: 1. Name: da0s1 Mediasize: 16006362624 (15G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 32256 Mode: r0w0e0 rawtype: 11 length: 16006362624 offset: 32256 type: fat32 index: 1 end: 31262489 start: 63 Consumers: 1. Name: da0 Mediasize: 16008609792 (15G) Sectorsize: 512 Mode: r0w0e0 # mount -t udf /dev/da0s1 /mnt/tmp/ mount: /dev/da0s1: Invalid argument -- S.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151220213807.GA4064>