LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mounting USB-Stick - entry in fstab disappears at reboot??? (https://www.linuxquestions.org/questions/linux-general-1/mounting-usb-stick-entry-in-fstab-disappears-at-reboot-79519/)

rot 08-06-2003 10:21 AM

Mounting USB-Stick - entry in fstab disappears at reboot???
 
Hi!

I'm using my USB-Stick with RH 9.0. Everything works fine, I made a directory /mnt/usb and an corresponding entry in my /etc/fstab.
But when I reboot the machine, the directory dissappears and the entry in my fstab is missing. Why???

Other entrys in my fstab I made manually stay there and the network-drives are mounted at bootup as I requested. So why does this entry disappear and, even stranger, why does the directory disappear?

Greetings, rot

dowmun 08-06-2003 08:04 PM

missing directory
 
Hi,
I love a mystery. How are you creating a directory and entry in etc/fstab. (CLI or GUI)
You are doing all this as root, right?
Before you reboot, are you verifying that the directory and fstab entry are in place?
Of course, this is no help, I'm just trying to understand how this could occur.

Mathieu 08-06-2003 09:12 PM

Kudzu
 
If you have Kudzu on at system startup, it will update the fstab and your USB entries will be removed.

Use the chkconfig command to verify:
Code:

chkconfig --list kudzu
Kudzu detects and configures new and/or changed hardware on a system.
So if you don't add new hardware, you can turn it off.

Sornen 08-06-2003 10:01 PM

Here is my fstab entry for rh9.0. This dosen't get removed and I have kudzu running. I think the noauto may be responsible for this.

/dev/sda1 /mnt/usbdr vfat noauto,users,rw 0 0

Once the usb drive is plugged in just right click on the desktop choose drives/usbdr

Skyline 08-06-2003 10:57 PM

noauto only specifies that the relevant partition is not mounted at boot up - noauto has no bearing on whether an entry actually stays in /etc/fstab or not.

rot 08-07-2003 03:37 AM

Hi!

I think, I got the problem...

First: I'm creating the directory /mnt/usb with mkdir as root. Then I edit the /etc/fstab with vi (also as root) and add the following entry:

/dev/sda1 /mnt/usb auto noauto,owner,kudzu 0 0

I simply copied the entry from the floppy, but now I will try to leave the "kudzu" entry. I can tell you tomorrow, if this solves the problem...


But there remains one question: Why does the floppy-entry stay :confused:

Thanks for your help,
rot


All times are GMT -5. The time now is 11:53 PM.