> > > du says for any given directory on a CD-ROM that it's size is 0,
could
> > the
> > > kernel people please look at that? I'm using the latest one,
> > 2.4.8-26mdk.
> > Is it with or without supermount? With supermount:
> It's mounted by the automounter.

Actually it does not matter:

fs/isofs/inode.c:isofs_read_inode:

        inode->i_uid = inode->i_sb->u.isofs_sb.s_uid;
        inode->i_gid = inode->i_sb->u.isofs_sb.s_gid;
        inode->i_blocks = inode->i_blksize = 0;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

probably, ISO does not have block size field. In this case du may be
modified to fall back to st_size but it is not kernel problem. (and
number of blocks != size/block_size, there are files with holes).

-andrej

Reply via email to