On Mon, 24 Aug 1998, Tanguy CARRABIN wrote:
>The problem is that I have access to internet only threw Win 95 so my
>files are on the HDD under win 95. Can I have access to Win 95's
>partition threw Linux ?
>If yes, what is the command ???
Create an empty directory, say "/win95", on your Linux system.
mkdir /win95
chmod 555 /win95
Note that the second command, e.g. chmod, is not strictly necessary, but
it does make the directory unwritable, which prevents you from
accidentally putting something into it. It's just something which I
recommend be done for all directories which are used as mount points. Once
the Win95 partition is mounted, you will still, as root, be able to write
to it. The reason that I recommend making a mount point directory
unwritable is that, in an NFS environment, should the remote node be down,
you don't want to be accidentally putting files into the local directory.
Now, assuming that your Win95 partition is the first partition on your
disk, add a line like
/dev/hda1 /win95 vfat defaults 0 0
to "/etc/fstab", and then issue the command
mount /win95
It's as easy as that. With the entry in "/etc/fstab", the partition will
even be automatically mounted every time you reboot. If you really only
want to mount it once, then you can skip the "/etc/fstab" stuff, and issue
a slightly different mount command (with more options), e.g.
mount -t vfat /dev/hda1 /win95
--
Dave Mielke | Phone: 1-613-726-0014
856 Grenon Avenue | Email: [EMAIL PROTECTED]
Ottawa, Ontario |
Canada K2B 6G3 |