LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2003, 10:24 AM   #16
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,065

Rep: Reputation: Disabled

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?
 
Old 04-25-2003, 02:59 PM   #17
zaseny2002
LQ Newbie
 
Registered: Apr 2003
Location: Jersey City, N.J.
Distribution: RedHat 8.0
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 04-25-2003, 04:46 PM   #18
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
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 :-)

Last edited by aherm; 04-25-2003 at 04:51 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting data drives from FreeBSD tw001_tw *BSD 2 03-05-2005 01:36 PM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 07:12 PM
setting up data exchange between Red Hat Linux and Windows 98 - Linux Newbie Hosiah Linux - Newbie 3 09-13-2004 02:11 PM
Getting data from other drives help me! needforspeed Red Hat 5 01-26-2004 02:37 AM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration