Re: Unreadable DVD in FreeBSD and NetBSD
> You need to install sysutils/udfclient. Your cd is in UDF format, that isn't > covered by standard mount_udf. -- > Regards, > Ruslan Let me also say, one of the MASTER_SITES listed in the Makefile is no good (NXDOMAIN): http://www.13thmonkey.org/udfclient/releases I just tried and failed, got error messages but still got fusefs-libs which could prove useful: cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DNEEDS_ISPRINT -DNO_INT_FMTIO -DNO_DIRENT_NAMLEN -DSCSI -DUSCSI_FREEBSD_CAM -DPACKAGE_NAME=\"udfclient\" -DPACKAGE_TARNAME=\"udfclient\" -DPACKAGE_VERSION=\"0.7.5\" -DPACKAGE_STRING=\"udfclient\ 0.7.5\" -DPACKAGE_BUGREPORT=\"rein...@netbsd.org\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_ENDIAN_H=1 -DHAVE_MACHINE_ENDIAN_H=1 -DHAVE_STRUCT_STAT_ST_ATIMESPEC=1 -DHAVE_STRUCT_STAT_ST_BIRTHTIMESPEC=1 -DHAVE_CAMLIB_H=1 -I. -c udfclientfs.c In file included from udfclientfs.c:58: In file included from ./udf.h:175: ./uio.h:69:53: warning: declaration of 'struct uio' will not be visible outside of this function [-Wvisibility] extern int uiomove(void *buf, size_t amount, struct uio *uio); ^ In file included from udfclientfs.c:58: ./udf.h:499:98: warning: declaration of 'struct uio' will not be visible outside of this function [-Wvisibility] extern int udf_read_file_part_uio(struct udf_node *udf_node, char *what, int cachehints, struct uio *data_uio); ^ ./udf.h:500:99: warning: declaration of 'struct uio' will not be visible outside of this function [-Wvisibility] extern int udf_write_file_part_uio(struct udf_node *udf_node, char *what, int cachehints, struct uio *data_uio); ^ ./udf.h:503:59: warning: declaration of 'struct uio' will not be visible outside of this function [-Wvisibility] extern int udf_readdir(struct udf_node *udf_node, struct uio *result_uio, int *eof_res /* int *cookies, int ncookies */); ^ udfclientfs.c:147:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] error = udf_lookup_name_in_dir(dir_node, name, strlen(name), &udf_icbptr, fid, &found); ^~~~ ./udf.h:505:69: note: passing argument to parameter 'name' here extern int udf_lookup_name_in_dir(struct udf_node *dir_node, char *name, int namelen, struct long_ad *icb_loc, struct fileid_desc *fid, int *found); ^ udfclientfs.c:520:13: error: variable has incomplete type 'struct uio' struct uio file_uio; ^ udfclientfs.c:520:9: note: forward declaration of 'struct uio' struct uio file_uio; ^ udfclientfs.c:560:13: error: variable has incomplete type 'struct uio' struct uio file_uio; ^ udfclientfs.c:560:9: note: forward declaration of 'struct uio' struct uio file_uio; ^ udfclientfs.c:621:13: error: variable has incomplete type 'struct uio' struct uio dir_uio; ^ udfclientfs.c:621:9: note: forward declaration of 'struct uio' struct uio dir_uio; ^ 5 warnings and 3 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/ports/sysutils/udfclient/work11/UDFclient.0.7.5 *** Error code 1 Stop. make[1]: stopped in /usr/ports/sysutils/udfclient *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/udfclient ===>>> make failed for sysutils/udfclient ===>>> Aborting update ===>>> Killing background jobs Terminated ===>>> There are messages from installed ports to display, but first take a moment to review the error messages above. Then press Enter when ready to proceed. ===>>> pkg-message for pkg-1.3.0 If you are upgrading from the old package format, first run: # pkg2ng ===>>> pkg-message for fusefs-libs-2.9.3_2 Install the fuse kernel module to use this port. ===>>> Done displaying pkg-message files ===>>> The following actions were performed: Upgrade of pkg-1.2.7_3 to pkg-1.3.0 Installation of sysutils/fusefs-libs (fusefs-libs-2.9.3_2) ===>>> You can restart from the point of failure with this command line: portmaster sysutils/udfclient ===>>> Exiting I was successful in NetBSD installing misc/udfclient from pkgsrc, but it proved useless for reading the Seagate DVD. >From what I saw, it looks like even if I could successfully build >sysutils/udfclient from FreeBSD ports, it would prove equally usele
Re: Unreadable DVD in FreeBSD and NetBSD
> You need to install sysutils/udfclient. Your cd is in UDF format, that isn't > covered by standard mount_udf. -- > Regards, > Ruslan I just tried and failed, got error messages but still got fusefs-libs which could prove useful: cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DNEEDS_ISPRINT -DNO_INT_FMTIO -DNO_DIRENT_NAMLEN -DSCSI -DUSCSI_FREEBSD_CAM -DPACKAGE_NAME=\"udfclient\" -DPACKAGE_TARNAME=\"udfclient\" -DPACKAGE_VERSION=\"0.7.5\" -DPACKAGE_STRING=\"udfclient\ 0.7.5\" -DPACKAGE_BUGREPORT=\"rein...@netbsd.org\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_ENDIAN_H=1 -DHAVE_MACHINE_ENDIAN_H=1 -DHAVE_STRUCT_STAT_ST_ATIMESPEC=1 -DHAVE_STRUCT_STAT_ST_BIRTHTIMESPEC=1 -DHAVE_CAMLIB_H=1 -I. -c udfclientfs.c In file included from udfclientfs.c:58: In file included from ./udf.h:175: ./uio.h:69:53: warning: declaration of 'struct uio' will not be visible outside of this function [-Wvisibility] extern int uiomove(void *buf, size_t amount, struct uio *uio); ^ In file included from udfclientfs.c:58: ./udf.h:499:98: warning: declaration of 'struct uio' will not be visible outside of this function [-Wvisibility] extern int udf_read_file_part_uio(struct udf_node *udf_node, char *what, int cachehints, struct uio *data_uio); ^ ./udf.h:500:99: warning: declaration of 'struct uio' will not be visible outside of this function [-Wvisibility] extern int udf_write_file_part_uio(struct udf_node *udf_node, char *what, int cachehints, struct uio *data_uio); ^ ./udf.h:503:59: warning: declaration of 'struct uio' will not be visible outside of this function [-Wvisibility] extern int udf_readdir(struct udf_node *udf_node, struct uio *result_uio, int *eof_res /* int *cookies, int ncookies */); ^ udfclientfs.c:147:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] error = udf_lookup_name_in_dir(dir_node, name, strlen(name), &udf_icbptr, fid, &found); ^~~~ ./udf.h:505:69: note: passing argument to parameter 'name' here extern int udf_lookup_name_in_dir(struct udf_node *dir_node, char *name, int namelen, struct long_ad *icb_loc, struct fileid_desc *fid, int *found); ^ udfclientfs.c:520:13: error: variable has incomplete type 'struct uio' struct uio file_uio; ^ udfclientfs.c:520:9: note: forward declaration of 'struct uio' struct uio file_uio; ^ udfclientfs.c:560:13: error: variable has incomplete type 'struct uio' struct uio file_uio; ^ udfclientfs.c:560:9: note: forward declaration of 'struct uio' struct uio file_uio; ^ udfclientfs.c:621:13: error: variable has incomplete type 'struct uio' struct uio dir_uio; ^ udfclientfs.c:621:9: note: forward declaration of 'struct uio' struct uio dir_uio; ^ 5 warnings and 3 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/ports/sysutils/udfclient/work11/UDFclient.0.7.5 *** Error code 1 Stop. make[1]: stopped in /usr/ports/sysutils/udfclient *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/udfclient ===>>> make failed for sysutils/udfclient ===>>> Aborting update ===>>> Killing background jobs Terminated ===>>> There are messages from installed ports to display, but first take a moment to review the error messages above. Then press Enter when ready to proceed. ===>>> pkg-message for pkg-1.3.0 If you are upgrading from the old package format, first run: # pkg2ng ===>>> pkg-message for fusefs-libs-2.9.3_2 Install the fuse kernel module to use this port. ===>>> Done displaying pkg-message files ===>>> The following actions were performed: Upgrade of pkg-1.2.7_3 to pkg-1.3.0 Installation of sysutils/fusefs-libs (fusefs-libs-2.9.3_2) ===>>> You can restart from the point of failure with this command line: portmaster sysutils/udfclient ===>>> Exiting Tom ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Unreadable DVD in FreeBSD and NetBSD
Thomas Mueller wrote on 26.07.2014 10:00: I have a DVD, a data DVD rather than movie or music, from Seagate Business Storage 2-bay NAS, that is mountable with mount_cd9660 but not readable in FreeBSD and NetBSD, using current amd64 versions of FreeBSD and NetBSD. ls /cdrom showed nothing; ls -al /cdrom showed total 6 dr-xr-xr-x 2 root wheel 2048 Nov 1 2012 . drwxr-xr-x 26 root wheel 1024 Jul 25 03:31 .. df showed Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/gpt/WD2G04 121863804 52278052 5983664847%/ devfs 11 0 100%/dev /dev/gpt/WD2G05 142191228 8022016 122793916 6%/home /dev/cd0 1832610 1832610 0 100%/cdrom so it looked like something was there. Mounted under Linux (System Rescue CD 4.3.0), main directory showed autorun.inf Rally Driver Installation Instructions Resources Seagate EULA Seagate NAS Backup Seagate NAS Discovery Seagate NAS Discovery Install Package Seagate Privacy Policy Setup.exe Windows Driver Haiku R1Alpha4 (haiku-os.org) was also able to show these directories and read the DVD. Is there any way I can read this DVD in FreeBSD or NetBSD, or is this a deficiency or bug in FreeBSD and NetBSD? I tried mount -t udf (no good) and "mount_cd9660 -be /dev/cd0 /cdrom" (same result as without -be). What more details could I give? Tom You need to install sysutils/udfclient. Your cd is in UDF format, that isn't covered by standard mount_udf. -- Regards, Ruslan T.O.S. Of Reality ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Unreadable DVD in FreeBSD and NetBSD
I have a DVD, a data DVD rather than movie or music, from Seagate Business Storage 2-bay NAS, that is mountable with mount_cd9660 but not readable in FreeBSD and NetBSD, using current amd64 versions of FreeBSD and NetBSD. ls /cdrom showed nothing; ls -al /cdrom showed total 6 dr-xr-xr-x 2 root wheel 2048 Nov 1 2012 . drwxr-xr-x 26 root wheel 1024 Jul 25 03:31 .. df showed Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/gpt/WD2G04 121863804 52278052 5983664847%/ devfs 11 0 100%/dev /dev/gpt/WD2G05 142191228 8022016 122793916 6%/home /dev/cd0 1832610 1832610 0 100%/cdrom so it looked like something was there. Mounted under Linux (System Rescue CD 4.3.0), main directory showed autorun.inf Rally Driver Installation Instructions Resources Seagate EULA Seagate NAS Backup Seagate NAS Discovery Seagate NAS Discovery Install Package Seagate Privacy Policy Setup.exe Windows Driver Haiku R1Alpha4 (haiku-os.org) was also able to show these directories and read the DVD. Is there any way I can read this DVD in FreeBSD or NetBSD, or is this a deficiency or bug in FreeBSD and NetBSD? I tried mount -t udf (no good) and "mount_cd9660 -be /dev/cd0 /cdrom" (same result as without -be). What more details could I give? Tom ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"