[CentOS] How to stop automount

Wed Nov 17 11:13:11 UTC 2010
Keith Roberts <keith at karsites.net>

On Wed, 17 Nov 2010, Leonard den Ottolander wrote:

> To: CentOS mailing list <centos at centos.org>
> From: Leonard den Ottolander <leonard at den.ottolander.nl>
> Subject: Re: [CentOS] How to stop automount
> 
> Hello Dick,
>
> On Tue, 2010-11-16 at 22:52 -0500, Dick Roth wrote:
>> /dev/sdb             /usbdrive           ext3    user,noauto,rw  0 2
>
> The last entry is the fsck order used at boot. Setting it to 2 probably
> prompts the system to check it.
>
> Anyway, you shouldn't need to add explicit entries to fstab to mount usb
> drives. They should get auto mounted when you plug them in (I think the
> autofs and haldaemon services are required to run for this to happen).
>
> Regards,
> Leonard.

Also, if you add a partition label to the USB drive, HAL 
should then create a mount point of the same name, under 
/media/PartLabel.

Keith

>
>

-- 
In theory, theory and practice are the same;
in practice they are not.

This email was sent from my laptop with Centos 5.5