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 ?
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?
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
re: NTFS mounting stuff...
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.
thanks man that worked pretty sweet...
|All times are GMT -5. The time now is 05:57 AM.|