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

From: adam@cfar.umd.edu
Date: Sun Sep 17 2000 - 14:53:03 EDT

  • Next message: Rik van Riel: "Re: /proc/sys/vm/freepages not writable."

    > > FWIW, I downloaded install 'floppyC28.fs' from openbsd web site.
    >
    > OK. So did I.
    >
    > % md5sum floppyC28.fs
    > 2ae3c61008df5accdfb132f20e744bfb floppyC28.fs

    same here..
    [root@pepsi openbsd]# md5sum floppyC28.fs
    2ae3c61008df5accdfb132f20e744bfb floppyC28.fs

    > > 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

    still problems...

    [root@pepsi /]# df /mnt
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/fd0 1407 1332 75 95% /mnt
    [root@pepsi /]# mount /mnt
    [root@pepsi /]# mount | grep mnt
    /dev/fd0 on /mnt type ufs (ro,ufstype=44bsd)

    [root@pepsi /]# ls /mnt
    [root@pepsi /]# dmesg | tail -3
    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
    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
    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)?

    yes.

    > 2. Do things improve with 2.4.0-test8?

    Will try it ... sometime. not right now though..

    (obtw: i can mount /mnt multiple times.. )

    [root@pepsi /]# umount /mnt
    [root@pepsi /]# mount /dev/fd0 /mnt -t ufs -o ufstype=44bsd,ro
    [root@pepsi /]# mount /dev/fd0 /mnt -t ufs -o ufstype=44bsd,ro
    [root@pepsi /]# mount /dev/fd0 /mnt -t ufs -o ufstype=44bsd,ro
    /dev/fd0 on /mnt type ufs (ro,ufstype=44bsd)
    /dev/fd0 on /mnt type ufs (ro,ufstype=44bsd)
    /dev/fd0 on /mnt type ufs (ro,ufstype=44bsd)

    Is this feature?

    -- 
    Adam
    http://www.eax.com	The Supreme Headquarters of the 32 bit registers
    

    - 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 : Sun Sep 17 2000 - 14:57:27 EDT