FreeBSD 11 and 4+ GB files on optical disc
David Christensen
dpchrist at holgerdanske.com
Tue Feb 14 06:38:41 UTC 2017
On 02/12/17 23:50, Andriy Gapon wrote:
> On 13/02/2017 07:40, David Christensen wrote:
>> On 02/10/17 10:46, Freddie Cash wrote:
>>> # kldload udf
>>> # mount -t udf /dev/cd0 /mnt
>>
>> toor at freebsd:/root # kldload udf
>> toor at freebsd:/root # mkdir /mnt/cd0-udf
>> toor at freebsd:/root # mount -t udf /dev/cd0 /mnt/cd0-udf
>> mount_udf: /dev/cd0: Invalid argument
>
> If your disk has iso9660 filesystem on it, then trying to mount it as a UDF
> filesystem won't work, obviously.
>
> P.S. You don't have to thoughtlessly follow any advice you see on the internets :-)
I set up Cygwin on Vista today and did some testing:
2017-02-13 22:28:37 admin at vista ~
$ ls -l /cygdrive/d
total 4355764
-r--r--r-- 1 admin None 4460298272 Feb 9 08:52 201701_TAR.CPT
-r--r--r-- 1 admin None 81 Feb 9 09:00 201701_TAR_CPT.SHA256
2017-02-13 22:29:42 admin at vista ~
$ time sha256sum -b /cygdrive/d/201701_TAR.CPT
87b0ba7ed7e706f55f571ec73daad0a2ab9820de9db8e0c889ba8541b5b8f40e
*/cygdrive/d/201701_TAR.CPT
real 4m51.455s
user 0m26.052s
sys 0m0.982s
2017-02-13 22:34:35 admin at vista ~
$ cat /cygdrive/d/201701_TAR_CPT.SHA256
87b0ba7ed7e706f55f571ec73daad0a2ab9820de9db8e0c889ba8541b5b8f40e
*201701.tar.cpt
File size is correct, file mtime is correct, contents can be read
correctly, but file names are mangled (I missed that before?).
So, do I file a bug report? /usr/src/sys/fs/cd9660?
David
More information about the freebsd-fs
mailing list