fstab manipulation FC7

David Timms dtimms at iinet.net.au
Thu Oct 25 12:45:54 UTC 2007


Chris G wrote:
> On Thu, Oct 25, 2007 at 10:03:52PM +1000, David Timms wrote:
>> raagu _ wrote:
>>> hi,
>>>   I have the following entries in my fstab file. I want to add my 'dvd
>>> writer' and 'cdrom' entries as well in fstab. Could any1 let me know
>>> what should be added. I tried adding earlier and the system hung and
>>> had to do a hard reboot.
>> Anything in fstab will be mountfed at boot - if it isnt present then boot 
>> fails. Not nice.
>>
> Not true if you put the 'noauto' option in the fourth column of the
> fstab file.  This then makes the values for such things as dvd and
> cdrom easier to use with mount etc. but prevents any problems at boot
> time.
> 
> For example I have:-
> 
>     //192.168.1.10/C        /home/chris/xp          cifs    noauto,user,password="" 0 0
> 
> in my /etc/fstab which mounts my vmware XP drive so it's visible from
> Linux.  Obviously the XP guest isn't running at boot time so I have
> the 'noauto' option there.  With the 'user' option as well I can just
> say "mount xp" to get at my Windows XP files.
Nice. And it works for removable drives as well ?
I guess they would be automounting by name {which means you don't know 
there name before plugging in} in any case.

{I haven't bothered with an optical media drive on my current PC, so I 
can't test.}

DaveT.




More information about the users mailing list