Re: Your backup is unsafe!

Robert de Bath (rd103979@home-box.demon.co.uk)
Mon, 2 Aug 1999 12:25:45 +0100 (BST)


On Sun, 1 Aug 1999, Wakko Warner wrote:

> Even if you backup a vfat partition when under wingdoze, what's to say that
> restoring under wingdoze will produce the same short filenames? All of my
> experiences have been that it's always ~1. As far as I care, vfat sucks
> anyway.

Exactly. This is why I've changed my mind. In an effort to make it a little
less sucky all traces of the short names should be hidden from linux. It'll
then be sane if a little limited. You then have a couple of ioctls to read
and write the short names for programs that _must_ have them. (A shortname
write that would cause a collision will error)

Hopefully this is what Alexander will do, I don't see and problem living
with a "sfn_backup". Or with an LD_PRELOAD you could simulate the brain
damage and/or uglyness of any of the other schemes suggested here. (Mine
included)

BY Alexander Viro <viro@math.psu.edu>
> Some @#$^ing programs apparently want to be able to access the files via
> short names.
Then they use the ioctls.
In fact, Alexander, be nice to them, provide one that gives the long
name given the short name ... as well as vis-versa.

Remember they are already providing special code for VFAT partitons,
it shouldn't be too difficult to use a slightly more hidden (but still
documented) interface.

Well Alexander, is that the decision ?

-- 
Rob.                          (Robert de Bath <http://poboxes.com/rdebath>)
                    <rdebath @ poboxes.com> <http://www.cix.co.uk/~mayday>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/