Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2018 10:05:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230493] sysutils/dvd+rw-tools: Cannot append data to BD-R DL used more than 25gb
Message-ID:  <bug-230493-7788-FbpAaXXW64@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230493-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230493-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230493

--- Comment #8 from scdbackup@gmx.net ---
Hi,

> I guess that doesn't make it (this patch) a noop, which was my original
> question.

Both patches are appropriate and needed.

---------------------------------------------------------------------

I am still puzzled what it may mean that the POW BD-R DL is offered by
the drive with non-zero NWA.

@Masachika ISHIZUKA:

Do you see the added files of the appended session if you mount
the BD-R medium with option -s 0 ?

  mount_cd9660 -o noexec,nosuid -s 0 /dev/cd0 $YOUR_MOUNT_POINT

Reasoning:

According to Andy Polykov about 10 years ago, the main reason for
using POW was that old Solaris versions do not obey the normal rule
for multi-session to mount the first track of the last session on
medium. growisofs works around this shortcomming by writing a
ISO 9660 superblock copy of the last track begining at block 0.
This is on BD-R possible only with POW. The medium shall look to the
reader as if it had only one track. (I.e. like DVD+RW or BD-RE.)

BD-R + POW is classified by growisofs_mmc.cpp:poor_man_rewritable()
as overwritable medium. This should trigger the copying procedure in
growisofs.c:main()=20

    if (next_session!=3D0 &&
        (!poor_man || poor_man_rewritable (ioctl_handle,the_buffer)))
    { ...

If the announcement of the drive is to be taken for serious, then this
copying of the superblock should fail. But Masachika ISHIZUKA reports
that it does not fail.

If for some reason the copying was omitted, then Masachika should see
only the files of the first session if mount option -s 0 is used.
If he sees all files of all sessions, then the copying succeeded
despite the NWA announcement of the drive.


Have a nice day :)

Thomas

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230493-7788-FbpAaXXW64>