* UMSDOS symlink fix
@ 2001-08-04 3:46 Delbert Matlock
2001-08-04 4:54 ` Ignacio Vazquez-Abrams
0 siblings, 1 reply; 2+ messages in thread
From: Delbert Matlock @ 2001-08-04 3:46 UTC (permalink / raw)
To: linux-kernel
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
-- Delbert@Matlock.com
-- http://delbert.matlock.com/
diff -u -r linux.orig/fs/umsdos/namei.c linux/fs/umsdos/namei.c
--- linux.orig/fs/umsdos/namei.c Fri Feb 9 14:29:44 2001
+++ linux/fs/umsdos/namei.c Fri Aug 3 21:01:42 2001
@@ -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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: UMSDOS symlink fix
2001-08-04 3:46 UMSDOS symlink fix Delbert Matlock
@ 2001-08-04 4:54 ` Ignacio Vazquez-Abrams
0 siblings, 0 replies; 2+ messages in thread
From: Ignacio Vazquez-Abrams @ 2001-08-04 4:54 UTC (permalink / raw)
To: linux-kernel
On Fri, 3 Aug 2001, Delbert Matlock wrote:
> 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
> -- Delbert@Matlock.com
> -- http://delbert.matlock.com/
I'm going to take this opportunity to slip in a small question.
Which is faster, UMSDOS or VFAT?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-04 4:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-04 3:46 UMSDOS symlink fix Delbert Matlock
2001-08-04 4:54 ` Ignacio Vazquez-Abrams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).