LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-21-2003, 09:56 PM   #1
littlenicky
LQ Newbie
 
Registered: Oct 2003
Location: New Zealand
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
ntfs mounting in slackware


i was just wondering if anyone can help me, i am trying to mount my ntfs drives when i'm under linux, i have got them mounted to the folders i want, but the thing that doesnt seem to work is making them read only, does anyone know how to make them read only ?
 
Old 10-21-2003, 10:01 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Actually the support to read NTFS filesystems is only in read-only. How or what are you seeing that is different in telling you so?
 
Old 10-21-2003, 10:52 PM   #3
littlenicky
LQ Newbie
 
Registered: Oct 2003
Location: New Zealand
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
my friend was telling me to make sure it is read only or else u will screw up ur windows partitions... he said u have to type "ro" somewhere in the command line but whenever i did that, it said it didnt work
 
Old 10-21-2003, 11:13 PM   #4
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
re: NTFS mounting stuff...

Quote:
Originally posted by littlenicky
my friend was telling me to make sure it is read only or else u will screw up ur windows partitions... he said u have to type "ro" somewhere in the command line but whenever i did that, it said it didnt work
Well, given the current kernel development, write support is available (albeit experimental and with certain qualifications regarding file size and filename)...

Your friend is right. It is best to make SURE that the mount is read-only.

Just for *hits and giggles...I mounted my NTFS part with the following command (I'm running Slack9.1 and the 2.6-test7 kernel):

mount /dev/hda2 /mnt/xp


Well, after that I did a "mount" and saw that /mnt/xp was, in fact, mounted in (rw) mode...apparently I had forgotten to disable NTFS (rw) capability when I compiled the kernel.

That aside, how can we make SURE that we mount the NTFS part in read-only form?

Two ways according to my experience. Using my above example, I could issue:

mount -r /dev/hda2 /mnt/xp


A subsequent "mount" command verifies that my NTFS part is in fact mounted in read-only mode.

Another option is:

mount --ro /dev/hda2 /mnt/xp

(note the two dashes in front of "ro" instead of the one dash in front of "r" as in the above example).


I receive the same verification of my NTFS read-only status after issuing another "mount" command.


Try the above out...your mileage may vary, but I'll bet it doesn't vary by much.

Good luck...let us know what happens.
 
Old 10-22-2003, 02:31 AM   #5
littlenicky
LQ Newbie
 
Registered: Oct 2003
Location: New Zealand
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
thanks man that worked pretty sweet...
 
  


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 NTFS RedHatCore Linux - Newbie 7 08-24-2005 01:16 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM
Mounting NTFS amphibious Linux - Software 0 09-27-2003 11:49 PM
Mounting NTFS teyesahr Linux - Newbie 15 08-01-2003 02:51 PM
mounting ntfs starbreaker Slackware 3 06-02-2002 11:43 PM


All times are GMT -5. The time now is 03:37 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration