Re: [CentOS] How to stop automount

2010-11-17 Thread Dick Roth
Keith Roberts wrote: > On Tue, 16 Nov 2010, Dick Roth wrote: > >> To: CentOS List >> From: Dick Roth >> Subject: [CentOS] How to stop automount >> >> I just put a USB hard drive into service, but find that unless the drive >> is connected to my PC t

Re: [CentOS] How to stop automount

2010-11-17 Thread Leonard den Ottolander
Hello John, On Wed, 2010-11-17 at 12:04 +, 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/parti

Re: [CentOS] How to stop automount

2010-11-17 Thread Keith Roberts
On Tue, 16 Nov 2010, Dick Roth wrote: > To: CentOS List > From: Dick Roth > Subject: [CentOS] How to stop automount > > I just put a USB hard drive into service, but find that unless the drive > is connected to my PC the machine won't boot and drops to a shell. > Be

Re: [CentOS] How to stop automount

2010-11-17 Thread Todd Denniston
Leonard den Ottolander wrote, On 11/17/2010 03:45 AM: > Hello Dick, > > On Tue, 2010-11-16 at 22:52 -0500, Dick Roth wrote: >> /dev/sdb /usbdrive ext3user,noauto,rw 0 2 > > The last entry is the fsck order used at boot. Setting it to 2 probably > prompts the system to c

Re: [CentOS] How to stop automount

2010-11-17 Thread Keith Roberts
On Wed, 17 Nov 2010, Dotan Cohen wrote: To: CentOS mailing list From: Dotan Cohen Subject: Re: [CentOS] How to stop automount On Wed, Nov 17, 2010 at 05:52, Dick Roth wrote: I just put a USB hard drive into service, but find that unless the drive is connected to my PC the machine won&#

Re: [CentOS] How to stop automount

2010-11-17 Thread Dotan Cohen
On Wed, Nov 17, 2010 at 05:52, Dick Roth wrote: > I just put a USB hard drive into service, but find that unless the drive > is connected to my PC the machine won't boot and drops to a shell. > Below is the line I added to fstab.  I thought that the option "noauto" > would prevent the machine from

Re: [CentOS] How to stop automount

2010-11-17 Thread John Hodrien
On Wed, 17 Nov 2010, Leonard den Ottolander wrote: > Hello Keith, Dick, > > On Wed, 2010-11-17 at 11:13 +, Keith Roberts wrote: >> 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. > > Yes, indeed. Automoun

Re: [CentOS] How to stop automount

2010-11-17 Thread Leonard den Ottolander
Hello Keith, Dick, On Wed, 2010-11-17 at 11:13 +, Keith Roberts wrote: > 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. Yes, indeed. Automount only works if the drive or partitions on it have a label. A

Re: [CentOS] How to stop automount

2010-11-17 Thread Keith Roberts
On Wed, 17 Nov 2010, Leonard den Ottolander wrote: > To: CentOS mailing list > From: Leonard den Ottolander > Subject: Re: [CentOS] How to stop automount > > Hello Dick, > > On Tue, 2010-11-16 at 22:52 -0500, Dick Roth wrote: >> /dev/sdb /usbdrive

Re: [CentOS] How to stop automount

2010-11-17 Thread Leonard den Ottolander
Hello Dick, On Tue, 2010-11-16 at 22:52 -0500, Dick Roth wrote: > /dev/sdb /usbdrive ext3user,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 fst

[CentOS] How to stop automount

2010-11-16 Thread Dick Roth
I just put a USB hard drive into service, but find that unless the drive is connected to my PC the machine won't boot and drops to a shell. Below is the line I added to fstab. I thought that the option "noauto" would prevent the machine from trying to mount the drive /dev/sdb /usbd