Re: two issues with cdfs

2010-11-29 Thread Alexander Best
On Sun Nov 28 10, Tim Kientzle wrote:
 On Nov 28, 2010, at 8:58 AM, Alexander Best wrote:
  On Fri Nov 26 10, Andriy Gapon wrote:
  on 26/11/2010 00:25 Alexander Best said the following:
  
  1) take a  4 GB example.file
  
  Likely we don't support multi-extent files at the moment.
  
  i found a way to access the data on such disks. i simply copied the whole 
  iso
  to my hdd using dd and then threw tar at it. since tar understands cdfs and
  also seems to support multi-extent i got the whole file. :)
 
 I believe this works without actually copying the image:
 
tar xvf /dev/cd0

ahh thanks. you're right. that's even more convenient. :)

 
 Cheers,
 
 Tim

-- 
a13x
___
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: two issues with cdfs

2010-11-28 Thread Alexander Best
On Fri Nov 26 10, Andriy Gapon wrote:
 on 26/11/2010 21:08 Alexander Best said the following:
  On Fri Nov 26 10, Andriy Gapon wrote:
  on 26/11/2010 00:25 Alexander Best said the following:
  hi there,
 
  i've tripped over two issues with the cdfs:
 
  What's cdfs? :-/
 
  1) take a  4 GB example.file
  2) do `mkisofs -iso-level 4 -input-charset ISO-8859-15 -V Test 1 -o 
  new.iso example.file`
  3) mdconfig -a -t vnode -f new.iso
  4) mount -t cd9660 /dev/mdX /some/place
 
  the resulting file size is only 3115015779 bytes, although it should be
  7409981027 bytes (in my case).
 
  the second issue:
 
  1) take a  4 GB file
  2) do `mkisofs -iso-level 4 -J -r -input-charset ISO-8859-15 -V Test 2 
  -o new.iso example.file`
  3) mdconfig -a -t vnode -f new.iso
  4) mount -t cd9660 /dev/mdX /some/place
 
  there are 2 files with the same indode. the file size is 4294965248 bytes,
  although it should be 7409981027 bytes (in my case).
 
  Likely we don't support multi-extent files at the moment.
  
  at the moment? ;) any plans for the future?
 
 Plans/hopes etc. We haven't reached perfection yet, so no eternal code freeze 
 yet.

i found a way to access the data on such disks. i simply copied the whole iso
to my hdd using dd and then threw tar at it. since tar understands cdfs and
also seems to support multi-extent i got the whole file. :)

maybe adding an entry to BUGS section of mount_cd9660(8) might be a good idea.

cheers.
alex

 
  does this limit also apply to
  blueray or does it use a different fs?
 
 Not sure, never had one in my hands.
 
  udf support in FreeBSD is also quite
  limited.
 
 True.  Port of NetBSD UDF is in project ideas.
 
 -- 
 Andriy Gapon

-- 
a13x
___
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: two issues with cdfs

2010-11-28 Thread Tim Kientzle
On Nov 28, 2010, at 8:58 AM, Alexander Best wrote:
 On Fri Nov 26 10, Andriy Gapon wrote:
 on 26/11/2010 00:25 Alexander Best said the following:
 
 1) take a  4 GB example.file
 
 Likely we don't support multi-extent files at the moment.
 
 i found a way to access the data on such disks. i simply copied the whole iso
 to my hdd using dd and then threw tar at it. since tar understands cdfs and
 also seems to support multi-extent i got the whole file. :)

I believe this works without actually copying the image:

   tar xvf /dev/cd0

Cheers,

Tim

___
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: two issues with cdfs

2010-11-26 Thread Andriy Gapon
on 26/11/2010 00:25 Alexander Best said the following:
 hi there,
 
 i've tripped over two issues with the cdfs:

What's cdfs? :-/

 1) take a  4 GB example.file
 2) do `mkisofs -iso-level 4 -input-charset ISO-8859-15 -V Test 1 -o new.iso 
 example.file`
 3) mdconfig -a -t vnode -f new.iso
 4) mount -t cd9660 /dev/mdX /some/place
 
 the resulting file size is only 3115015779 bytes, although it should be
 7409981027 bytes (in my case).
 
 the second issue:
 
 1) take a  4 GB file
 2) do `mkisofs -iso-level 4 -J -r -input-charset ISO-8859-15 -V Test 2 -o 
 new.iso example.file`
 3) mdconfig -a -t vnode -f new.iso
 4) mount -t cd9660 /dev/mdX /some/place
 
 there are 2 files with the same indode. the file size is 4294965248 bytes,
 although it should be 7409981027 bytes (in my case).

Likely we don't support multi-extent files at the moment.

P.S. version of mkisofs could have been important too
-- 
Andriy Gapon
___
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: two issues with cdfs

2010-11-26 Thread Bruce Cran
On Fri, 26 Nov 2010 15:28:00 +0200
Andriy Gapon a...@freebsd.org wrote:

 What's cdfs? :-/

Apparently it's another name for ISO 9660 -
http://en.wikipedia.org/wiki/ISO_9660 - which we call cd9660.

-- 
Bruce Cran
___
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: two issues with cdfs

2010-11-26 Thread Andriy Gapon
on 26/11/2010 15:48 Bruce Cran said the following:
 On Fri, 26 Nov 2010 15:28:00 +0200
 Andriy Gapon a...@freebsd.org wrote:
 
 What's cdfs? :-/
 
 Apparently it's another name for ISO 9660 -
 http://en.wikipedia.org/wiki/ISO_9660 - which we call cd9660.

Hence the emoticon.

-- 
Andriy Gapon
___
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: two issues with cdfs

2010-11-26 Thread Alexander Best
On Fri Nov 26 10, Andriy Gapon wrote:
 on 26/11/2010 00:25 Alexander Best said the following:
  hi there,
  
  i've tripped over two issues with the cdfs:
 
 What's cdfs? :-/
 
  1) take a  4 GB example.file
  2) do `mkisofs -iso-level 4 -input-charset ISO-8859-15 -V Test 1 -o 
  new.iso example.file`
  3) mdconfig -a -t vnode -f new.iso
  4) mount -t cd9660 /dev/mdX /some/place
  
  the resulting file size is only 3115015779 bytes, although it should be
  7409981027 bytes (in my case).
  
  the second issue:
  
  1) take a  4 GB file
  2) do `mkisofs -iso-level 4 -J -r -input-charset ISO-8859-15 -V Test 2 -o 
  new.iso example.file`
  3) mdconfig -a -t vnode -f new.iso
  4) mount -t cd9660 /dev/mdX /some/place
  
  there are 2 files with the same indode. the file size is 4294965248 bytes,
  although it should be 7409981027 bytes (in my case).
 
 Likely we don't support multi-extent files at the moment.

at the moment? ;) any plans for the future? does this limit also apply to
blueray or does it use a different fs? udf support in FreeBSD is also quite
limited.

cheers.
alex

 
 P.S. version of mkisofs could have been important too
 -- 
 Andriy Gapon

-- 
a13x
___
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: two issues with cdfs

2010-11-26 Thread Andriy Gapon
on 26/11/2010 21:08 Alexander Best said the following:
 On Fri Nov 26 10, Andriy Gapon wrote:
 on 26/11/2010 00:25 Alexander Best said the following:
 hi there,

 i've tripped over two issues with the cdfs:

 What's cdfs? :-/

 1) take a  4 GB example.file
 2) do `mkisofs -iso-level 4 -input-charset ISO-8859-15 -V Test 1 -o 
 new.iso example.file`
 3) mdconfig -a -t vnode -f new.iso
 4) mount -t cd9660 /dev/mdX /some/place

 the resulting file size is only 3115015779 bytes, although it should be
 7409981027 bytes (in my case).

 the second issue:

 1) take a  4 GB file
 2) do `mkisofs -iso-level 4 -J -r -input-charset ISO-8859-15 -V Test 2 -o 
 new.iso example.file`
 3) mdconfig -a -t vnode -f new.iso
 4) mount -t cd9660 /dev/mdX /some/place

 there are 2 files with the same indode. the file size is 4294965248 bytes,
 although it should be 7409981027 bytes (in my case).

 Likely we don't support multi-extent files at the moment.
 
 at the moment? ;) any plans for the future?

Plans/hopes etc. We haven't reached perfection yet, so no eternal code freeze 
yet.

 does this limit also apply to
 blueray or does it use a different fs?

Not sure, never had one in my hands.

 udf support in FreeBSD is also quite
 limited.

True.  Port of NetBSD UDF is in project ideas.

-- 
Andriy Gapon
___
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


two issues with cdfs

2010-11-25 Thread Alexander Best
hi there,

i've tripped over two issues with the cdfs:

1) take a  4 GB example.file
2) do `mkisofs -iso-level 4 -input-charset ISO-8859-15 -V Test 1 -o new.iso 
example.file`
3) mdconfig -a -t vnode -f new.iso
4) mount -t cd9660 /dev/mdX /some/place

the resulting file size is only 3115015779 bytes, although it should be
7409981027 bytes (in my case).

the second issue:

1) take a  4 GB file
2) do `mkisofs -iso-level 4 -J -r -input-charset ISO-8859-15 -V Test 2 -o 
new.iso example.file`
3) mdconfig -a -t vnode -f new.iso
4) mount -t cd9660 /dev/mdX /some/place

there are 2 files with the same indode. the file size is 4294965248 bytes,
although it should be 7409981027 bytes (in my case).

cheers.
alex

ps: i'm running HEAD (r215432; amd64).

-- 
a13x
___
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