[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /mnt created at boot?



On Tuesday 24 February 2004 3:46 pm, Paul E Condon wrote:
>On Tue, Feb 24, 2004 at 01:16:45PM -0500, Jeff Elkins wrote:
>> On Monday 23 February 2004 11:20 pm, Paul E Condon wrote:
>> >On Mon, Feb 23, 2004 at 11:03:53PM -0500, Jeff Elkins wrote:
>> >> I'm working on a system where upon boot the /mnt directory is created
>> >> and quite a few subdirs underneath as well (floppy,cdrom,cdrom1,etc).
>> >> Is this type of behavior part of autofs?  I'm trying to turn it off,
>> >> along with having /dev/cdrom and /dev/cdrom1 erased with each reboot...
>> >>
>> >> This is a mepis-install, dist-upgraded to sid.
>> >>
>> >> Thanks,
>> >>
>> >> Jeff
>> >
>> >Can you explain why you want this?
>>
>> I don't want this :)
>>
>> This is an install from a Mepis Linux CD. Mepis is a Debian-based live CD
>> distro and it's quite nice, but some of the behavior is weird (to me) and
>> I'm trying to tame it back to the 'normal' sid situation I'm used to.
>>
>> What's happening here is that it creates mount points (cd,cd1,floppy,and
>> many more) under /mnt. I don't use /mnt. When I rm -rf /mnt, upon reboot
>> they are re-created. Not that that harms anything, but it's an irritant. I
>> removed autofs to no avail. I'm still digging through init scripts.
>>
>> Additionally, entries I create in dev (cdrom,cdrom1,and dvd) are erased
>> when the box is rebooted. I don't find a /dev/.devfsd file, nor does mount
>> report devfs.
>
>Look for a script that is run at boot time and that does the things you
> don't want. Examine it carefully before you delete the steps that you don't
> want. Those steps may be essential to the Mepis way of doing things. If
> they are, you need to implement a replacement way prior to deleting the
> Mepis way.
>
>Don't know Mepis, so I can't guess just how hard it will be. Have you tried
>plain vanilla sid, or sarge, or woody? You may be embarking on eliminating
>just the features that make Mepis quite nice.
>
>Personally, I run Sarge and think it's quite nice. And I get 100% support
> from this list with no guessing by advice givers as to what I'm running.

I run a "pure" sid box. The Mepis derivative is just something I'm trying to 
debug :)

That said, I'm going through init scripts. 

Thanks!





Reply to: