lkml.org 
[lkml]   [2000]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ufs fs at 2.2.x and 2.4.x
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.072 / U:2.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site