Click to See Complete Forum and Search --> : Files restored after deleted on next boot


Bluester
02-15-2003, 05:26 PM
I have Debian Woody Kernel 2.4.20-5
It is a fresh install. I have two CDROMS with ide-scsi implemented
I can go into the /dev directory and change the symlinks:

cdrom >/dev/sr0
cdrom1 >/dev/sr1

fstab points to the /cdrom and cdrom1 directories respectively.
I can mount and umount both drives.

When I reboot, the default symlinks are back:
cdrom >/dev/scd0
cdrom1 >/dev/scd1
cdrom0 >/dev/cdrom0

There is even a cdrom0 directory put back in the root "/" directory after I deleted it.

Can anyone tell me what is going on?

mdwatts
02-15-2003, 05:55 PM
Your distro and kernel are using scd# instead of sr# as some do.

Just use scd0 and scd1 as it doesn't cause any problems.

Bluester
02-15-2003, 06:39 PM
Thanks for replying.

However, do you know why these defaults are being restored?
I login in as a normal user and then do an su to change the configuration. After I reboot, it goes back to what it was before I changed it. Is there a cron I need to be aware of?

mdwatts
02-15-2003, 06:55 PM
Your kernel is just detecting the scsi emulated devices as scd instead of sr. I doubt there is nothing much you can do about that.

As long as scd0 and scd1 are symlinked properly, you will never notice the difference as you only need to mount using

mount /mnt/cdrom
or
mount /mnt/cdrom1

<edit>

It should not cause you any problems.

Bluester
02-15-2003, 07:12 PM
Thanks, I will just leave it alone.
Thanks again for your help.

On another note, did you see my post earlier on an age old problem with the USB mouse? Any suggestions or websites would be appreciated. I have tried 10 different combinations since this morning and read at least 40 posts. None of them seem to give me any direction as to what is the problem.

I may have to go back to RedHat 8.0 :-(

mdwatts
02-16-2003, 12:38 PM
Originally posted by Bluester

On another note, did you see my post earlier on an age old problem with the USB mouse? Any suggestions or websites would be appreciated. I have tried 10 different combinations since this morning and read at least 40 posts. None of them seem to give me any direction as to what is the problem.

I may have to go back to RedHat 8.0 :-(

I may have though I don't know that much about using USB mice in Linux since the only USB device I have is the MS FF Sidewinder.