Re: mdconfig and UDF
On Fri, Jul 14, 2017 at 02:31:15PM +0500, Eugene M. Zheganin wrote: > Is there any chance to mount UDF filesystem under FreeBSD with mdconfig > and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me the > readme.txt with "This is UDF, you idiot" and mount -t udf /dev/md0 > /mnt/cdrom gives me > > # mount -t udf /dev/md0 cdrom > mount_udf: /dev/md0: Invalid argument If I make an ISO like this (currently under 11.1-RC3): mkisofs -R -J -joliet-long -udf -iso-level 3 -o /path/to/test.iso /source/files/dir I can mount it like this via md: mdconfig -a -t vnode -f /path/to/test.iso -u 0 mount -t udf -o ro /dev/md0 /mnt When I burn it to a physical disk, I just mount it like this: mount -t udf -o ro /dev/cd0 /mnt ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: mdconfig and UDF
On Fri, Jul 14, 2017 at 02:31:15PM +0500, Eugene M. Zheganin wrote: > Hi. > > > Is there any chance to mount UDF filesystem under FreeBSD with mdconfig > and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me the > readme.txt with "This is UDF, you idiot" and mount -t udf /dev/md0 > /mnt/cdrom gives me > > > # mount -t udf /dev/md0 cdrom > mount_udf: /dev/md0: Invalid argument > > > So... Most likely this has nothing to do with md(4), but due to old UDF fs driver not supporting the supposedly newer version of UDF layout you have. It is a guess only, but not groundless. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: mdconfig and UDF
Hi! > Is there any chance to mount UDF filesystem under FreeBSD with mdconfig > and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me the > readme.txt with "This is UDF, you idiot" and mount -t udf /dev/md0 > /mnt/cdrom gives me > > > # mount -t udf /dev/md0 cdrom > mount_udf: /dev/md0: Invalid argument sysutils/udfclient provides some rough way to access the image -- would that help ? -- p...@opsec.eu+49 171 3101372 3 years to go ! ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: mdconfig and UDF
On Fri, 14 Jul 2017 14:31:15 +0500 "Eugene M. Zheganin" <e...@norma.perm.ru> wrote: > Hi. > > > Is there any chance to mount UDF filesystem under FreeBSD with > mdconfig and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me > the readme.txt with "This is UDF, you idiot" and mount -t > udf /dev/md0 /mnt/cdrom gives me > > > # mount -t udf /dev/md0 cdrom > mount_udf: /dev/md0: Invalid argument > > > So... Hi, Mount - probably not, but you can use archivers/p7zip to decompress the image. -- regards, Maciej Suszko. pgpxxtCdn6Ftq.pgp Description: OpenPGP digital signature
mdconfig and UDF
Hi. Is there any chance to mount UDF filesystem under FreeBSD with mdconfig and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me the readme.txt with "This is UDF, you idiot" and mount -t udf /dev/md0 /mnt/cdrom gives me # mount -t udf /dev/md0 cdrom mount_udf: /dev/md0: Invalid argument So... Thanks. Eugene. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD and UDF
Bezüglich Eugene M. Zheganin's Nachricht vom 25.02.2016 13:17 (localtime): > Hi, > > recenlty I needed to mount the Windows 2012 R2 iso image, which pappened > to ba an UDF image. After mdconfiging it and attempting to mount I got: > > # mount -t udf /dev/md1 cdrom01 > mount_udf: /dev/md1: Invalid argument > > udf is in kernel. Is UDF filesystem supported in FreeBSD ? I run > 10.3-PRERELEASE r294405. I'ts a matter of the UDF-Version. I'm no expert, just missing the ability to quickly look into common flowting DVD discs, which doesn't work so I asked ddg. It seems today's DVD's are all UDF2 – FreeBSD has only support for UDF 1.02: https://people.freebsd.org/~scottl/udf/ Blu-ray's seem to be in UDF2.5: https://lists.freebsd.org/pipermail/freebsd-fs/2015-July/021528.html There's also the UDF2.0 FreeBSD-10-driver mentioned: https://github.com/williamdevries/UDF Hope this helps, unfortunately you'll have to enable UDF2 support on your own. -Harry ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
FreeBSD and UDF
Hi, recenlty I needed to mount the Windows 2012 R2 iso image, which pappened to ba an UDF image. After mdconfiging it and attempting to mount I got: # mount -t udf /dev/md1 cdrom01 mount_udf: /dev/md1: Invalid argument udf is in kernel. Is UDF filesystem supported in FreeBSD ? I run 10.3-PRERELEASE r294405. Thanks. Eugene. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
ddd issue with 6.4-PRERELEASE #2 and udf/cd9660
When ever I try try to mount any burned CD/DVD media I get the error below. mount_cd9660 -v /dev/cd0 /mnt using starting sector 0 mount_cd9660: /dev/cd0: Input/output error Exit 1 Which in dmesg results in... g_vfs_done():cd0[READ(offset=-2207623839744, length=2048)]error = 5 This is odd because if I unplug the USB CD drive and plug it into my netbook running a old RELENG 7.0-STABLE it works. On the machine that it errors on it has been doing this for any burned CD/DVD media in either the DVD drive in it or on the USB one I've been testing with. I know the disk is good as I can mount it on other machines I've tested it on with the same drive and different drives. Any one have any ideas? signature.asc Description: PGP signature
Re: udf
Harald Schmalzbauer wrote: /dev/acd is completely broken for me since SATA drives... And burncd stopped working long time ago in FreeBSD 7 (ATAPI, ICHx). Any hope to see these optical media issues beeing fixed for 7.1? I haven't tried using burncd in a long time, but cdrecord-devel and dvd+rw-tools (both from ports) work fine for me. Be sure to have options atapicam in your kernel. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd C is quirky, flawed, and an enormous success. -- Dennis M. Ritchie. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: udf
On August 21, 2008 10:20 am Oliver Fromme wrote: Harald Schmalzbauer wrote: /dev/acd is completely broken for me since SATA drives... And burncd stopped working long time ago in FreeBSD 7 (ATAPI, ICHx). Any hope to see these optical media issues beeing fixed for 7.1? I haven't tried using burncd in a long time, but cdrecord-devel and dvd+rw-tools (both from ports) work fine for me. Be sure to have options atapicam in your kernel. For FreeBSD 7+ (and I think 6.2+), atapicam can be loaded as a module. -- Freddie Cash [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: udf
Andriy Gapon schrieb am 19.05.2008 16:15 (localtime): on 16/05/2008 19:48 Scott Long said the following: There is no write support in UDF in FreeBSD. When I wrote the fs code, Should mount_udf work for UDF 1.02 DVDs? Today I tried to check an unlabled DVD, which was suspected to be a vista copy, but I couldn't mount it: mount_udf: /dev/cd0: Invalid argument /dev/acd is completely broken for me since SATA drives... And burncd stopped working long time ago in FreeBSD 7 (ATAPI, ICHx). Any hope to see these optical media issues beeing fixed for 7.1? Thanks, -Harry packet writing was the only way to do discrete writes, and it's very hard to make that work with a traditional VM system. Now with DVD+R, it's probably worth someone's time to look at it (though the append-only nature of +R means that there are still some nasty VM complications to deal with). Until that happens, mkisofs can be used to create a static UDF filesystem. BTW, Remko has kindly notified me that Reinoud Zandijk has completed his long work on UDF write support in NetBSD. I think that porting his work is our best chance to get write support in FreeBSD too. signature.asc Description: OpenPGP digital signature
Re: udf
on 16/05/2008 19:48 Scott Long said the following: There is no write support in UDF in FreeBSD. When I wrote the fs code, packet writing was the only way to do discrete writes, and it's very hard to make that work with a traditional VM system. Now with DVD+R, it's probably worth someone's time to look at it (though the append-only nature of +R means that there are still some nasty VM complications to deal with). Until that happens, mkisofs can be used to create a static UDF filesystem. BTW, Remko has kindly notified me that Reinoud Zandijk has completed his long work on UDF write support in NetBSD. I think that porting his work is our best chance to get write support in FreeBSD too. -- Andriy Gapon ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: udf
Andriy Gapon wrote: on 16/05/2008 19:48 Scott Long said the following: There is no write support in UDF in FreeBSD. When I wrote the fs code, packet writing was the only way to do discrete writes, and it's very hard to make that work with a traditional VM system. Now with DVD+R, it's probably worth someone's time to look at it (though the append-only nature of +R means that there are still some nasty VM complications to deal with). Until that happens, mkisofs can be used to create a static UDF filesystem. BTW, Remko has kindly notified me that Reinoud Zandijk has completed his long work on UDF write support in NetBSD. I think that porting his work is our best chance to get write support in FreeBSD too. I think you'll find that implementing VOPs and filling in UDF data structures will be easy, while interacting with the VM will be many orders of magnitude harder. Still it should be a fun challenge for someone to do. Scott ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: udf
: BTW, Remko has kindly notified me that Reinoud Zandijk has completed his : long work on UDF write support in NetBSD. I think that porting his work : is our best chance to get write support in FreeBSD too. : : :I think you'll find that implementing VOPs and filling in UDF data :structures will be easy, while interacting with the VM will be many :orders of magnitude harder. Still it should be a fun challenge for :someone to do. : :Scott One avenue that can be persued would be to finish the UIO_NOCOPY support in the vm/vnode_pager.c. You have UIO_NOCOPY support for the putpages code but not the getpages code. If that were done the VFS can simply use VMIO-backed buffer cache buffers (they have to be VMIO-backed for UIO_NOCOPY to work properly)... and not have to deal with getpages or putpages at all. The vnode pager would convert them to a UIO_NOCOPY VOP_READ or VOP_WRITE as appropriate. The entire VM coding burden winds up being in the kernel proper and not in the VFS at all. IMHO implementing per-VFS getpages/putpages is an exercise in frustration, to be avoided at all costs. Plus once you have a generic getpages/putpages layer in vm/vnode_pager.c the VFS code no longer has to mess with VM pages anywhere and winds up being far more portable. I did the necessary work in DragonFly in order to avoid having to mess with VM pages in HAMMER. Primary work: * It is a good idea to require that all vnode-based buffer cache buffers be B_VMIO backed (aka have a VM object). It ensures a clean interface and avoids confusion, and also cleans up numerous special cases that are simply not needed in this day and age. * Add support for UIO_NOCOPY in generic getpages. Get rid of all the special cases for small-block filesystems in getpages. Make it completely generic and simply issue the UIO_NOCOPY VOP_READ/VOP_WRITE. * Make minor adjustments to existing VFSs (but nothing prevents them from still rolling their own getpages/putpages so no major changes are needed). And then enjoy the greatly simplified VFS interactions that result. I would also recommend removing the VOP_BMAP() from the generic getpages/putpages code and simply letting the VFS's VOP_READ/VOP_WRITE deal with it. The BMAP calls were being made from getpages/putpages to check for discontiguous blocks, to avoid unnecessary disk seeks. Those checks are virtually worthless on today's modern hardware particularly since filesystems already localize most data accesses. In other words, if your filesystem is fragmented you are going to be doing the seeks anyway, probably. -Matt Matthew Dillon [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
udf
Howdy! What is the experience regarding udf on cd/dvd on 7.0? I saw netbsd mail few days ago having those steps: newfs_udf and mount_udf. Best regards Zoran ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: udf
Zoran Kolic wrote: Howdy! What is the experience regarding udf on cd/dvd on 7.0? I saw netbsd mail few days ago having those steps: newfs_udf and mount_udf. Best regards From man mount_udf (FreeBSD7) HISTORY The mount_udf utility first appeared in FreeBSD 5.0. FreeBSD 7.0 March 23, 2002 FreeBSD 7.0 I have no idea for newfs_udf , and what is supposed this to do :) Zoran ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best Wishes, Stefan Lambrev ICQ# 24134177 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: udf
On Fri, May 16, 2008 at 07:08:11PM +0300, Stefan Lambrev wrote: From man mount_udf (FreeBSD7) HISTORY The mount_udf utility first appeared in FreeBSD 5.0. FreeBSD 7.0 March 23, 2002 FreeBSD 7.0 I have no idea for newfs_udf , and what is supposed this to do :) It creates a UDF (commonly DVD/DVD Audio) filesystem. NetBSD and Solaris 10 both have this. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: udf
Jeremy Chadwick wrote: On Fri, May 16, 2008 at 07:08:11PM +0300, Stefan Lambrev wrote: From man mount_udf (FreeBSD7) HISTORY The mount_udf utility first appeared in FreeBSD 5.0. FreeBSD 7.0 March 23, 2002 FreeBSD 7.0 I have no idea for newfs_udf , and what is supposed this to do :) It creates a UDF (commonly DVD/DVD Audio) filesystem. NetBSD and Solaris 10 both have this. There is no write support in UDF in FreeBSD. When I wrote the fs code, packet writing was the only way to do discrete writes, and it's very hard to make that work with a traditional VM system. Now with DVD+R, it's probably worth someone's time to look at it (though the append-only nature of +R means that there are still some nasty VM complications to deal with). Until that happens, mkisofs can be used to create a static UDF filesystem. Scott ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: state of fs/udf
Andriy Gapon wrote: It seems that UDF fs has been in not-well-supported state for a while now. It seems that Scott Long, original author and maintainer, has moved on to other more important (and, perhaps, interesting) things. (perhaps - because RE does not seem to be too exciting on the first glance) Meanwhile, there are several bugs still opened for UDF. Some of them are pretty obvious, some with good patches, some not so trivial, some unhelpful and some are mine :-) I think the following PRs are good candidates for review and possible inclusion into source: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/77234 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/78987 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92040 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84983 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/90521 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/97786 Also, from our private conversations I know that Bruce Evans has even more fixes for more problems and better fixes for some bugs described in the above PRs. Those patches that I personally submitted do WorkForMe (TM), but I think that Bruce has much better understanding of VFS stuff and done much better job. Would some committer be so kind to adopt UDF, review the PRs and fix at least the most obvious bugs before 6.2 ? I personally promise to help with testing and discussing things. Sorry I've been remiss. I'll look at these this weekend. Scott ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
state of fs/udf
It seems that UDF fs has been in not-well-supported state for a while now. It seems that Scott Long, original author and maintainer, has moved on to other more important (and, perhaps, interesting) things. (perhaps - because RE does not seem to be too exciting on the first glance) Meanwhile, there are several bugs still opened for UDF. Some of them are pretty obvious, some with good patches, some not so trivial, some unhelpful and some are mine :-) I think the following PRs are good candidates for review and possible inclusion into source: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/77234 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/78987 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92040 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84983 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/90521 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/97786 Also, from our private conversations I know that Bruce Evans has even more fixes for more problems and better fixes for some bugs described in the above PRs. Those patches that I personally submitted do WorkForMe (TM), but I think that Bruce has much better understanding of VFS stuff and done much better job. Would some committer be so kind to adopt UDF, review the PRs and fix at least the most obvious bugs before 6.2 ? I personally promise to help with testing and discussing things. -- Andriy Gapon ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: state of fs/udf
[ CC: Bruce ] Bruce, On Wed, 24 May 2006, 16:17+0300, Andriy Gapon wrote: It seems that UDF fs has been in not-well-supported state for a while now. It seems that Scott Long, original author and maintainer, has moved on to other more important (and, perhaps, interesting) things. (perhaps - because RE does not seem to be too exciting on the first glance) Meanwhile, there are several bugs still opened for UDF. Some of them are pretty obvious, some with good patches, some not so trivial, some unhelpful and some are mine :-) I think the following PRs are good candidates for review and possible inclusion into source: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/77234 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/78987 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92040 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84983 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/90521 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/97786 Also, from our private conversations I know that Bruce Evans has even more fixes for more problems and better fixes for some bugs described in the above PRs. Those patches that I personally submitted do WorkForMe (TM), but I think that Bruce has much better understanding of VFS stuff and done much better job. Would some committer be so kind to adopt UDF, review the PRs and fix at least the most obvious bugs before 6.2 ? I personally promise to help with testing and discussing things. Why don't you just commit these fixes? -- Maxim Konovalov ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UDF filesystem on 4-STABLE?
On Sunday 25 May 2003 17:20, Warren Toomey wrote: Hi all, I'm trying to find out if UDF support can be added to 4-STABLE. The web page http://people.freebsd.org/~scottl/udf/ says that such a thing can be found at http://www.softweyr.com/asmodai/projects/udf, but the latter URL is broken. Any pointers will be greatly appreciated. I'll try to get it back on-line in the next day or so. It's on a disk drive on a shelf in my office at home. I'll get the bits pushed onto the new, improved softweyr.com server as soon as I track down the disk drive. Moving is hell, you know. -- Where am I, and what am I doing in this handbasket? Wes Peters [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]