[CentOS] How to stop automount

Leonard den Ottolander leonard at den.ottolander.nl
Wed Nov 17 14:25:44 EST 2010


Hello John,

On Wed, 2010-11-17 at 12:04 +0000, John Hodrien wrote:
> On Wed, 17 Nov 2010, Leonard den Ottolander wrote:
> > Yes, indeed. Automount only works if the drive or partitions on it have
> > a label. Apparently HAL is not smart enough to create a random mount
> > point if the device/partion is unlabeled.
> 
> Really?  I thought you got /media/disk in that case.

Strange. I guess my memory is playing tricks on me. I seemed to remember
I recently had an issue where an USB stick wouldn't auto mount and I
concluded the fact that it was unlabeled was the cause.

But trying to mount an USB drive with unlabeled partitions on it indeed
mounts them as /media/disk, /media/disk-1 etc. Sorry for the
misinformation.

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research




More information about the CentOS mailing list