# File lib/ole/storage/file_system.rb, line 62 def initialize dirent @dirent = dirent @size = dirent.size if file? @ftype = 'file' bat = dirent.ole.bat_for_size(dirent.size) @blocks = bat.chain(dirent.first_block).length @blksize = bat.block_size else @ftype = 'directory' @blocks = 0 @blksize = 0 end # a lot of these are bogus. ole file format has no analogs @nlink = 1 @uid, @gid = 0, 0 @dev, @rdev = 0, 0 @ino = 0 # need to add times - atime, mtime, ctime. end