I edited my fstab for ntfs, I can open the drive, but no files
Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
It the line you posted here is exactly as you entered it it fstab, it won't work. Look at the syntax used in your current fstab, and correct the entry. It need to name the device where ntfs is located, the name of the mount point, the filesystem type, and the rest of the parameters. Be advised that mounting it rw may cause problems if you try to write to it. Search these board for discussions on that issue.
You are seeing an empty directory because the file system isn't mounted.
Your second message has:
/dev/hda8 /mnt/hda/8 ntfs rw.auto,user, umask=200 0 0
You have a period after the rw option, a space before umask.
This may work better:
/dev/hda8 /mnt/hda/8 ntfs ro,default,umask=200 1 0
The first 0 at the end of the fstab entry says whether the drive should be mounted when the computer is booted. I would suggest reading the man mount page. Since the ntfs filesystem is currently read only, using the options dmask and fmask may make more sense. The umask is the file creation mask. The fmask is a file mask, dmask is directory mask. Also consider using using uid=xephyr assuming that is the name of your user account.
What do you mean by access the drive or open the drive as a normal user?
Just because you can browse to the /mnt/hda8 directory does not mean the partition is actually mounted. The mount command without options will display all mounted filesystems as will as the df command.
With the umask=222 option you do not need the rw option.