Re: ufs fs at 2.2.x and 2.4.x

From: Andries Brouwer (aeb@veritas.com)
Date: Sun Sep 17 2000 - 13:13:09 EST


On Sun, Sep 17, 2000 at 11:13:22AM -0500, Adam wrote:

> FWIW, I downloaded install 'floppyC28.fs' from openbsd web site.

OK. So did I.

% md5sum floppyC28.fs
2ae3c61008df5accdfb132f20e744bfb floppyC28.fs
% file floppyC28.fs
floppyC28.fs: x86 boot sector, system OpenBSD, BSD disklabel

> In order to mount it under Linux I use following command:
>
> mount /dev/fd0 /mnt -t ufs -o ufstype=44bsd,ro

OK. So did I. Afterwards:

% ls -l /mnt
total 1332
-r-xr-xr-x 1 root root 53248 Sep 12 13:18 boot
-rw-r--r-- 1 root root 1301229 Sep 12 13:18 bsd
% file /mnt/*
/mnt/boot: NetBSD/i386 demand paged executable
/mnt/bsd: gzip compressed data, deflated, original filename,
    last modified: Tue Sep 12 13:17:58 2000, max compression, os: Unix

Nothing wrong at first sight.

> Under Linux 2.2.12-20 the floppy mounts fine and I can can see files
> there and write new files.
>
> Under Linux 2.4.0-test7-packet I can mount floppy, when I do ls in /mnt
> it shows no files. Dmesg output shows following warnings:
>
> UFS-fs error (device 02:00): ufs_readdir: bad entry in directory #2, size
> 512: reclen is too small for namlen - offset=0, inode=2, reclen=12,
> namlen=260

This was Linux version 2.4.0-test8 (aeb@mette) (gcc version 2.95.2 19991024 (release))

So, questions:
1. Are we talking about the same file (same md5sum)?
2. Do things improve with 2.4.0-test8?

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:15 EST