"[EMAIL PROTECTED]" wrote:
>
> At 11:25 PM 11/28/1999 -0700, you wrote:
>
> >You're probably seeing links in action. Under Linux/Unix, you can multiple
> >directory references pointing to a single file. So, depending on how things
> >are set up (or screwed up), you can have one "file" or "directory" appear in
> >multiple locations. This is neither good nor bad, just different. Once you
> >get used to it, no big deal.
> I suspected it might be so, but does that mean I have to find the "real"
> one to access/affect/install files in a folder or can I use any one I find
> exactly as though it were the primary one?
you can use any of them. there is no primary or secondary link, there
equal.
There is also something called symlinks, much like those Win-things
(don't
know the English name, probaly link aswell, or maybe connection).
For most practical purposes they can be treated like normal files
aswell.
(they show up in light-blue with ls --color )
>
> >They are "there" but the idea of limiting oneself to drives A-Z is pretty
> >constraining. Linux/Unix lets you mount devices according to LOGICAL
> >requirements rather than arbitrary sequential letters based on PHYSICAL
> >limitations. And links further let you do both!
> Okay, I can see the point in that, but how then do you decide on a mount
> point? is it entirely arbitrary? It doesn't seem to because it will often
> say "mount point ____ does not exist".
The directory you try to mount to does to have to exist.
eg
mkdir /c
mount /dev/hda1 -t vfat /c
Beware, if a device is not mounted the directory does exist as a normal
directory. You can write files to it just as normal, but when you mount
a device to the directory all the files in the directory are hidden.
easy mistake
/floppy #not mounted
cp FILE /floppy #file in directory /floppy
ls /floppy # the file shows up
..
.. #later
..
mount /floppy # the floppy drive is connected to floppy, the original
contents of
# /floppy are hidden in favor of whatever is on the
floppydisk
ls /floppy # where is FILE?
umount /floppy # unmount the floppy again
ls /floppy # FILE is back
--
Casper Gielen
[EMAIL PROTECTED]
--
Running Windows No Technology...
2:39pm up no, 1 luser, load average: -1, 60000, 2
To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.