5.x test request (FWD: Repairing ext2fs stat(2), fts(3) in 6.0-current, please test on 5.x)
From: Martin Cracauer (cracauer_at_cons.org)
Date: 07/09/05
- Previous message: James Housley: "Panic during boot with BT-948 on RELENG_5_4"
- Next in thread: Marco Wertejuk: "Re: 5.x test request (FWD: Repairing ext2fs stat(2), fts(3) in 6.0-current, please test on 5.x)"
- Reply: Marco Wertejuk: "Re: 5.x test request (FWD: Repairing ext2fs stat(2), fts(3) in 6.0-current, please test on 5.x)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 9 Jul 2005 11:09:51 -0400 To: freebsd-stable@freebsd.org
Can somebody running FreeBSD 5-stable please test whether this patch
is needed in 5.x?
I can provide a small file with an ext2fs in it so that you can try in
a vnode mount.
Martin
attached mail follows:
Date: Fri, 8 Jul 2005 18:15:27 -0400 To: freebsd-current@freebsd.org
ext2fs fails to set the device in the stat(2) system call.
Subsequently, that makes fts(3) fail, which goes as far as make ls(1)
fail (which uses fts).
The appended diff fixes it for me and looks correct to me. Unless
somebody objects I will submit it to re@ for commit approval.
%%
I don't have a 5.x system anywhere, can somebody please test whether
the problem exists in 5.x?
Here is how:
- compile appended test program
- mount an ext2fs to -say- /mnt/tmp
- `./stattests /mnt/tmp`
==> must return identical device ids
Quicker test:
- mount ext2fs to /mnt/tmp
- `ls -F /mnt/tmp`
==> will fail with file not found errors.
Martin
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/ No warranty. This email is probably produced by one of my cats stepping on the keys. No, I don't have an infinite number of cats.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- text/plain attachment: diff.ext2fs
- text/plain attachment: stattests.c
- Previous message: James Housley: "Panic during boot with BT-948 on RELENG_5_4"
- Next in thread: Marco Wertejuk: "Re: 5.x test request (FWD: Repairing ext2fs stat(2), fts(3) in 6.0-current, please test on 5.x)"
- Reply: Marco Wertejuk: "Re: 5.x test request (FWD: Repairing ext2fs stat(2), fts(3) in 6.0-current, please test on 5.x)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|