Unreadable DVD in FreeBSD and NetBSD
Thomas Mueller
mueller6724 at bellsouth.net
Sat Jul 26 07:27:34 UTC 2014
> 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=\"reinoud at 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 <flags> sysutils/udfclient
===>>> Exiting
Tom
More information about the freebsd-current
mailing list