Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page noauto not recognized by mount
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 10-09-2007   #1 (permalink)
xinhua.ji
Just Joined!
 
Join Date: Oct 2007
Posts: 2
noauto not recognized by mount

Hi,

I have a question about 'mount' options. The man page of mount tells that in order to use a 'short cut' mount command I can add a line into /etc/fstab like below:
host_home /mnt/host_home vboxsf ro,noexec,async,nouser 0 0
so that I can always simply use
mount host_home
to mount the file system on without typing long options.

However, I do not want host_home to be mounted during boot time ('mount -a'), the 'mount' man page suggests I add a 'noauto' option in fstab file, like below:
host_home /mnt/host_home vboxsf ro,noexec,async,nouser,noauto 0 0
This works well too as I no longer get host_home to be mounted during boot time.

However, now when I mount the file system explicitly using
mount host_home
I got the error message:
unknown mount option 'noauto'

I am so very confused since noauto apparently has effect during boot time (I checked rc.sysinit script and saw the 'mount -a' there), now it is not even recognized?

I am guessing since I am mounting a special file system is it possible noauto option is passed to the special mount program (/sbin/mount.vboxsf) and not recognized by the latter? But I am not sure and I also thinks noauto is such a common option it should be dealt with by 'mount' itself and should not be passed along.

Anybody familiar with this can shed some light? Thanks!
xinhua.ji is offline   Reply With Quote
Old 10-09-2007   #2 (permalink)
abdul raziq
Just Joined!
 
Join Date: Dec 2006
Location: Quetta
Posts: 37
Send a message via Yahoo to abdul raziq
hi xinhua.ji,
as my knowleadge if you are using the simple commands
mount -t vfat /dev/sda1 /mnt/win

if you want to mount auto after every restart than you use /etc/fstab

/dev/sda7 /mnt/Raziq vfat defaults,umask=0 0 0

its work 100%. i am also using the same. i hope both commands are very help full for you.
any problem feel free to contact with same liunxforum

best regards

Raziq
__________________
Abdul Raziq
Red Hat and Fedora
abdul raziq is offline   Reply With Quote
Old 10-09-2007   #3 (permalink)
xinhua.ji
Just Joined!
 
Join Date: Oct 2007
Posts: 2
Hi Raziq, thanks for your reply!

Though I acknowledge by typing the full command as 'mount -t vboxsf -o ... host_home /mnt/host_home' it will work, what I seek is a shortcut form like 'mount host_home', promised by the 'mount' man page, as long as proper line is added into fstab. But I also do not want it to be mounted automatically during boot.

I've spent much time on this and now I think maybe I am too lazy and why not just use the long and complete command... but if what I seek is feasible I am glad to hear about it...

Thanks again!
xinhua.ji is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What do i have to do to fstab? Solvision Redhat / Fedora Linux Help 26 07-15-2007 08:04 PM
Re: How to mount a drive royeo Redhat / Fedora Linux Help 1 05-06-2007 07:23 PM
How to mount drive royeo Redhat / Fedora Linux Help 1 05-05-2007 08:26 PM
how to mount my exteded ntfs partition jacklinux Linux Newbie 7 09-01-2006 02:51 PM
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Peripherals / Hardware 0 07-20-2005 01:08 PM




All times are GMT. The time now is 06:34 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0