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!
Notices
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.
I got a problem when i mounted ntfs using autofs.
I install ntfs-3g, and I can mount my partition using
"mount -t ntfs-eg /dev/sda5 /mnt -o ro ".
But I don't know why autofs can't mount.
I add this line "/misc/sda5 -fstype=ntfs-3g,ro :/dev/sda5" to auto.misc.
but it didn't work. Any idea? My system is Fedora Core 6.
If the ntfs-3g package is installed, you need to create a mount point in the Linux file system to access it,then unmount it, then mount it manually with these commands as root:
Code:
mkdir /windows
umount /dev/sda5
mount -t ntfs-3g /dev/sda5 /windows
This will mount it in read/write mode.
If it mounted successfully and you can access the files on the ntfs partition through the /windows directory, you can then edit /etc/fstab file to mount it in read/write mode upon every re-boot. The simple instructions at the Ntfs-3g site work good.
A distro is short for "distribution", a bundle of software - a "brand" of Linux in a way. Ubuntu is a distro, Suse is one, Fedora another, etc.
Now, as for your /etc/auto.master, I see that you have defined "/misc" as your mount point. This implies that you also need to create a folder called misc (right under /). You will also need to create an sda1 folder inside misc.
And you need to make sure that the autofs daemon is started. If the daemon isn't running, then nothing obviously nothing autofs related is going to work.
I created all the directory it needed. /misc, /misc/sda1,etc.
and the daemon of autofs is automount, right?
the daemon did works when i execute `ps aux|grep auto`
Quote:
[root@vincent ~]# ps aux |grep auto
root 31012 0.0 0.1 7344 1264 ? Ssl 00:44 0:00 automount
root 31126 0.0 0.0 3884 688 pts/2 S+ 00:48 0:00 grep auto
But I can't enter "/misc/sda1". It print an error like this
Quote:
[root@vincent ~]# cd /misc/sda1
-bash: cd: /misc/sda1: No such file or directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.