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 |
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. |
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 So if you don't add new hardware, you can turn it off. |
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 |
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.
|
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. |