Please DO NOT symbolically link directories into your "C" drive.
This advice keeps popping up, and it can work, but it is
NOT the thing to do.

The C drive is intended to be for your private files only,
and you can get into trouble by making public directories
accessible from the C drive.  The filename mapping scheme
on the C drive uses hidden subdirectories and symlinks
which are Linux filesystem specific things and could cause
some confusion on a vfat filesystem.

Win4Lin provides access to other filesystem
locations and partitions via a "drive letter" you define
using "winsetup".

For vfat (DOS) partitions there are two ways:
1: Access the partition directly from Win4Lin via a drive letter.
   With this method, you have exclusive access to the partition, 
   and Windows/DOS    directly manages the filesystem.  This gives 
   you 100% compatibilty but you can't share the filesystem.
   (I.e. It can't be mounted at the same time.) Also you need to 
   make sure the permissions on /dev/hda1 give you read and write
   access.
2: Mount the partition to your favorite place (e.g. /mnt/vfat)
   and then set up a drive letter to access that directory.

In either case you have to use "winsetup" to set up the drive
letter mapping.  For #1, you need to as root also use winsetup
to change the partition device description to allow access
to all users.

For any mounted filesystem or subdirectory anywhere,
you can define (using winsetup) a drive letter that
provides access to any subdir that you can access
just from Linux.   Remote networked filesystems do
have some issues though, primarily with file locking.
Windows programs often do a lot of filelocking so for 
some apps using local filesystems is best.

-David


Amanda Owens wrote:
> 
> Dave Sherman wrote:
> >
> > At 12:04 PM 02/14/2001 -0800, jtheb wrote:
> >
> > >I know you can mount windows inside of linux.........
> > >mount -t vfat /dev/hda1 /mnt/vfat
> > >
> > >Can the same procedure be done with win4lin?
> > >Thnaks
> > >
> > >=====
> > >jtheb
> > >(j)ohn (the) (b)aptist
> > >Passing on the good word
> >
> > John,
> >
> > Yes. To make things easy, you will hopefully already have your windows
> > partition automount during boot. If not, then you can either add the
> > appropriate mount point to /etc/fstab, so it will automount, or mount the
> > partition before launching Win4Lin.
> >
> > Next, create a link to the mount point within your ~/win directory. For
> > example, if your windows C drive is mounted as /mnt/c, then you can soft
> > link that into ~/win/win_c, or whatever you want to call it. The syntax for
> > a soft link is:
> >          ln  -s  /my/source/dir /my/linked/dir
> >
> > Now, when running windows under Win4Lin, you should see a folder on your
> > "C" drive which represents the link to your windows partition.
> >
> 
> You can also map this Windows directory mount point to a of its own in
> Windows. To do this, run 'winsetup &' as your regular Windows user.
> Under
> 'Personal Win4Lin Session Config: win', there should be a 'Drives &
> Filesystem'
> tag. Click on that, and you will see the drives you currently have
> identified. There is an 'add' button at the bottom to add new drive
> definitions
> into the configuration. You can figure a drive for any directory you may
> have mounted in Linux. With the Win4Lin 2.0.1 release, you should also
> be able
> to directly mount DOS-based drives in Windows.
> 
> Regards,
> Amanda Owens
> NeTraverse, Inc
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to