updating fstab after drive swap
Good evening everyone!
i have a question regarding fstab, and a rom drive that i recently swapped out in my system. just a couple days ago i had to swap a cd-rom drive out of a external usb case, and replace it with a dvd-rom. no biggie! it still works. catch!: while booting the system, the system "takes fore-ever" searching for the cd-rom. this takes some time of course. and eventually finds the dvd-rom. i want to fix this! im assuming i need to edit something in my fstab file. this is how it reads: (after installing dvd-rom) /dev/hda1 swap swap defaults 0 0 /dev/hda2 / ext3 defaults 1 1 /dev/hda3 /home ext3 defaults 1 2 /dev/sda1 /home ntfs-3g umask=000 1 0 /dev/sdb1 /home vfat defaults 1 0 #/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 any sugestions would be a great help! thanks in advance! skinnchip |
i dont know, but im gonna give myself a cookie if im right, but i think
Code:
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0 |
hehehe! mmm cookies!
it doesn't seem like it needs to be there no! but i assumed because it is hashed out "#" i shouldn't need to remove it. i'ma lookin fer sum answers now, let u know if u can have a cookie! heheh mmm cookies! thanks skinnchip |
assuming thats a direct copy of your file, it also appears like you MAYBE missing a space between the hash and the line.... but i'm seeing it both ways else where in threads...
edit: forgot to mention, for this reason i prefer to remove no longer needed code completely instead of hashing/commenting them out. it's just personal taste, but reduces code bloat an leaves comments for explanations as to why things are a given way |
No, that already a comment. I'd suggest instead removing the comment symbol (the #) so udev (or your desktop manager) will not need to search the PCI bus for "unknown" devices.
You could,of course, cover all your bases: Code:
$ cat /Fedora/etc/fstab | grep -i '\(dvd\)\|\(cd\)' |
All times are GMT -5. The time now is 04:25 AM. |