[Bug 234694] multimedia/libdvdread: improve opening of a DVD mount point

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 7 17:17:21 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234694

            Bug ID: 234694
           Summary: multimedia/libdvdread: improve opening of a DVD mount
                    point
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: martymac at FreeBSD.org
          Reporter: tijl at FreeBSD.org
             Flags: maintainer-feedback?(martymac at FreeBSD.org)
          Assignee: martymac at FreeBSD.org

Created attachment 200871
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200871&action=edit
patch

libdvdread can open a device node like /dev/cd0, but it can also open a mount
point like /media/SOME_DVD_LABEL.  It will lookup the device node for that
mount point then.  This appears to be used by GNOME.  Currently libdvdread uses
getfsfile(3) for this which means the device node has to be in /etc/fstab. 
This is normally not the case for removable media.  This patch changes
libdvdread to use statfs(2) instead.

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


More information about the freebsd-ports-bugs mailing list