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

Re: Linux to/from Windows



----- Original Message -----
From: Oded Ben-Ami <abaoded hotmail com>
To: <redhat-list redhat com>
Sent: Saturday, September 01, 2001 5:20 PM
Subject: Linux to/from Windows


>
> Hi all,
>
> I have a dual-boot system:
> windows on my "C" booting from the MBR
> Linux on my "D" booting from a floppy.
>
> Each time I start Linux up I do the following:
> su -
> mount /dev/hda1 /home/oded/drv_c
>
> I have two questions:
> 1) Is there a way to set this up only once so that
> I don't have to retype the above each time?

Edit /etc/fstab and add this line:

/dev/hda1    /drv_c    vfat    defaults    0 0

> 2) When in Linux, I occasionaly want to write .txt files to
> my windows environment.  For some reason I can achieve this
> only as the root.  Can I also write to my "C" as non-root?  How?

As root:

chmod a+wr /drv_c

Do that before mounting the drive. Some claim to have it working by changing
the 'defaults' part in the fstab entry to user,rw or something similar. I
don't dual boot and can't vouch for it. But I know I had trouble with it
working that way several years ago when I did dual boot.

--
Who are the Brain Police?





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