UMSDOS symlink fix
Enclosed is a one line fix for symlinks under the UMSDOS filesystem. Under stock 2.4.7 (and 2.4.7-ac4), if you create a symlink the last letter of the original file will be left off the link. This will fix it.
Now, if I can just get the blasted thing to mount as root.
-- Delbert Matlock
-- [email protected]
-- http://delbert.matlock.com/
fs/umsdos/namei.c +1 -1
@@ -491,7 +491,7 @@ goto out; } - len =strlen (symname); + len =strlen (symname) +1 ; ret =block_symlink (dentry->d_inode, symname, len);if (ret <0 ) goto out_unlink;
Quoted 9 lines · Delbert Matlock
Enclosed is a one line fix for symlinks under the UMSDOS filesystem. Under stock 2.4.7 (and 2.4.7-ac4), if you create a symlink the last letter of the original file will be left off the link. This will fix it.
Now, if I can just get the blasted thing to mount as root.
-- Delbert Matlock
-- [email protected]
-- http://delbert.matlock.com/
I'm going to take this opportunity to slip in a small question.
Which is faster, UMSDOS or VFAT?
Signature · 1 line
Ignacio Vazquez-Abrams <[email protected]>