Ok, it seems I am a little off on my problem description.
I can delete /media/floppy but on system restart, that directory is automagically created. I thought this would have been from my fstab entry, so I deleted both the /dev/fd0 line from my fstab, and deleted the /media/floppy directory but on bootup, both are created.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Mike McCarty Sent: Friday, August 26, 2005 12:27 AM To: CentOS mailing list Subject: Re: [CentOS] Mount floppy on startup?
Ash Christopher wrote:
Hi Craig,
By default there is a noauto in the fstab.
Depends on who created the fstab entry.
I first tried removing the entry for the floppy from the fstab, and
upon
my next boot up the following was inserted at the end of my fstab
file:
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
This is my entry, which works under FC2 to do exactly what you want.
/dev/fd0 /mnt/floppy auto noauto,user,exec,kudzu 0 0
(well, I cut some space for readability)
Are you suggesting I change this to the following? So, as you can see, the noauto is already in my fstab.
Yes, I don't understand what is the problem, myself. OTOH, I don't know what the "pamconsole" does, either, nor the "managed". Perhaps "managed" is a replacement for "kudzu", but I doubt it.
Maybe I do not understand your solution properly.
Thanks, Ash
Mike
Ash Christopher wrote:
Ok, it seems I am a little off on my problem description.
I can delete /media/floppy but on system restart, that directory is automagically created. I thought this would have been from my fstab entry, so I deleted both the /dev/fd0 line from my fstab, and deleted the /media/floppy directory but on bootup, both are created.
Ah, I thought you meant that you were having mounts take place when the floppy disc was present in the drive.
Why do you care if there is an empty directory?
Mike