LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Exchange data btw. 2 hard drives on same PC (https://www.linuxquestions.org/questions/linux-newbie-8/exchange-data-btw-2-hard-drives-on-same-pc-56135/)

JZL240I-U 04-24-2003 09:24 AM

Of course there is a way. I just remembered.

Edit /etc/fstab and change the line of your Windows partition to ro (read-only; just compare it with the line for your CD-ROM). That should do the trick. Silly, what one can forget -- what's coming next? :)

zaseny2002 04-25-2003 01:59 PM

Thanks JZL. I'm currently planning to update my RedHat version to 9.0 (shrike) and will try to implement your suggestions as needed. I'll update you soon as to my success.

aherm 04-25-2003 03:46 PM

Use mc then ;-)
 
It's easy:

Open mc as root.
Brows directories.
Hightlight -> (Menu) File -> Advance chown -> edit the properties (x,-,r,w)

Anyway, this is my /etc/fstab. Use f4 in mc to edit it.
Code:

___
/dev/hda2            /                    reiserfs  defaults              1 1
/dev/hdb1            /windows/C          ntfs      ro,users,gid=users,umask=0002,nls=iso8859-1 0 0
/dev/hdb5            /windows/D          vfat      users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hdb6            /windows/E          vfat      users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hda1            swap                swap      pri=42                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0
proc                /proc                proc      defaults              0 0
usbdevfs            /proc/bus/usb        usbdevfs  noauto                0 0
/dev/cdrecorder      /media/cdrecorder    auto      ro,noauto,user,exec  0 0
/dev/cdrom          /media/cdrom        auto      ro,noauto,user,exec  0 0
/dev/dvd            /media/dvd          auto      ro,noauto,user,exec  0 0
/dev/fd0            /media/floppy        auto      noauto,user,sync      0 0
___

Have fun :-)


All times are GMT -5. The time now is 02:29 AM.