Bug#340429: mkisofs: incorrect volume size on multisession disk

2005-12-22 Thread Gabor Kiss [Bitman]

If you don't like the numbers, send a bug report to the Linux
kernel folks. Note that doing this in a way that people expect
is not simple.


Hi Jörg,

I guess this is not a kernel problem.
Mkisofs runs entirely in user space and its output is a single file.
This file is incorrect. Volume Space Size field of
Primary Volume Descriptor should be increased according to
the size of previous session(s).
Why do you think kernel guys can do something to fix this bug? :-o

Regards

Gabor
p.s. I wish you Merry Christmas and Happy New Year. :-)

Bug#340429: mkisofs: incorrect volume size on multisession disk

2005-12-22 Thread Joerg Schilling
Gabor Kiss [Bitman] [EMAIL PROTECTED] wrote:

  If you don't like the numbers, send a bug report to the Linux
  kernel folks. Note that doing this in a way that people expect
  is not simple.

 Hi Jörg,

 I guess this is not a kernel problem.
 Mkisofs runs entirely in user space and its output is a single file.
 This file is incorrect. Volume Space Size field of
 Primary Volume Descriptor should be increased according to
 the size of previous session(s).
 Why do you think kernel guys can do something to fix this bug? :-o

Mkisofs does things right (the only possible way), if you don'nt like the
numbers you see you need to change the code that evaluates the nubers
which is the kernel.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED](work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



Bug#340429: mkisofs: incorrect volume size on multisession disk

2005-12-22 Thread Gabor Kiss [Bitman]

Mkisofs does things right (the only possible way), if you don'nt like the


Are you sure mkisofs is Orange Book compliant?


numbers you see you need to change the code that evaluates the nubers
which is the kernel.


This is not Linux specific problem.
How could _any_ _operation_ _system_ figure out the total size
of the currently available files? How could it figure out which
old files are linked in the current session?
All OS-es expect to read this info from PVD. None of them will scan the
directories recursively at mount time to count actual disc size.

Gabor


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#340429: mkisofs: incorrect volume size on multisession disk

2005-12-22 Thread Joerg Schilling
Gabor Kiss [Bitman] [EMAIL PROTECTED] wrote:

  Mkisofs does things right (the only possible way), if you don'nt like the

 Are you sure mkisofs is Orange Book compliant?

Yes, it hast been checked for compliance by Kodak.

And in case you are really interested: Usual multi session CDs made on UNIX
do not follow the standard because they are not mode 2 CDs.

If I would change the numbers you refer to, things would stop working.

  numbers you see you need to change the code that evaluates the nubers
  which is the kernel.

 This is not Linux specific problem.

Well, you did not send a usual bug report but instead preferred 
to send a report to a Linux centric Distribution.


 How could _any_ _operation_ _system_ figure out the total size
 of the currently available files? How could it figure out which

Sum up the numbers.

 old files are linked in the current session?
 All OS-es expect to read this info from PVD. None of them will scan the
 directories recursively at mount time to count actual disc size.

How is this related to your problem?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED](work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



Bug#340429: mkisofs: incorrect volume size on multisession disk

2005-12-21 Thread Joerg Schilling
If you don't like the numbers, send a bug report to the Linux
kernel folks. Note that doing this in a way that people expect
is not simple.


Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED](work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



Bug#340429: mkisofs: incorrect volume size on multisession disk

2005-11-23 Thread Gabor Kiss
Package: mkisofs
Version: 4:2.01+01a01-2
Severity: normal

I wrote two sessions on a CD-R.
All files are recorded and can be read back well but statfs64() system
call reports the size of the last session only:

$ df /mnt/cdrom
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hdc 55032 55032 0 100% /mnt/cdrom

Meanwhile 

$ du -s /mnt/cdrom/
110955  /mnt/cdrom/


Volume Space Size field of (the latest) Primary Volume Descriptor
is incorrect (0x6e60).

Gabor

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.12
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mkisofs depends on:
ii  libc6  2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  zlib1g 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]