[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hamm frozen, Slink created



dwarf@polaris.net (Dale Scheetz)  wrote on 03.04.98 in <Pine.LNX.3.96.980403112304.2421O-100000@dwarf.polaris.net>:

> On Fri, 3 Apr 1998, Wichert Akkerman wrote:
>
> > Previously Jules Bean wrote:
> > > I suggest we stick a working DOS FTP client in tools.
> >
> > One for each network stack out there? And instruct them how to install
> > network stacks, packet drivers, etc.? Just tell people to use a proper FTP
> > (the FTP from Win95 seems to work fine).
> >
> This doesn't address the problem of the symlinks on a CD.

Of course not. Those are a completely separate problem that has absolutely  
no relation at all to the FTP one.

> The msdos directory is intended to be copied onto a dos partition, using
> dos tools, but because of the symlinks, it just doesn't work. This makes
> the msdos directory on a CD totally worthless.

If you include the msdos directory on the CD, then I assume that will  
indeed be it's purpose. And in that case, something different than  
symlinks seems indeed to be a good idea.

Unless, of course, you intend to have an FTP mirror live off that CD, in  
which case you're in trouble. But I see no good reason to do that, anyway.  
Different problems, different solutions.

> I built my last custom CDs with the symlinks replace by hardlinks (thanks
> to a script from Guy, which now lives in bit heaven). This made the CD
> useful on a dos machine, but when you try to copy the whole CD into a
> Linux directory, the hardlinked files come over as copies of the file
> instead of links. (I think this is because the node number of the hardlink
> doesn't match the node number of the copy of the "linked to" file)

If the inode numbers don't match, they're not hard links. Maybe there's a  
different feature to use on iso9660 format.

> I probably will not do this again in the future, simply because it is very
> hard to impliment (converting symlinks to hard links) and it serves a very
> limited audience.

Converting symlinks to hard links is very easy:

find . -type l -printf "( cd %h; rm %f; ln %l %f ) \n" | sh

(See "man find".)

I have no idea how hard it is to put hard links on an iso9660 image  
(probably with rockridge extensions), however.

> For those same reasons we probably aught not to worry to much about the
> situation in the archives.

Completely different situation.

(Do I sound like a broken record? I sure feel that way.)


MfG Kai


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: