Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement
Linux 2.0 Unofficial Patches (http://www.eleves.ens.fr:8080/home/rideau/files/linux-swab-ufs.tgz)

swab and ufs Fixes

Fare Rideau (fideau@clipper.ens.fr)
Sun Apr 6 20:55:00 1997

[Home] [Linux 2.0] [Linux 2.1] [Information] [Distributions] [Links]


I've hacked together a cleanup version of the ufs fs driver.

  1. it includes a neat clean-up of linux/include/*/byteorder.h for all architectures (from 2.0.29 sources), where all portable/common definitions are in , while swab__uXX macros are defined for use in various byteswapping drivers

  2. it works on both 2.1 and 2.0 kernels

  3. it replaces the old non-working driver from 2.0 with working 2.1 sources

  4. it is a clean-up with respect to ufs sources (the horrible bugprone global ufs_need_swab removed, many small things)

  5. it removes a dangerous bug in 2.1 ufs driver where mounting partitions of different bytesexes would result in mayhem.

  6. I think ufs was not upgraded since the 2.1.20 sources I used; if it was, please tell me.

    Because it's essentially a clean-up, this package *should not* have broken anything. If it did, please tell me! I tested it ok on a 1GB worth of data from a Sun on an PC.

    Please send feedback/comments by e-mail, as I've BTW: how do I know if this patch will make it to official distribution?

Download




[Home] [Up] [Search] [FeedBack]


For information regarding copying and distribution of this material see the COPYING document.
Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.