Re: USB HD gives I/O errors while spinning up (ήταν Re: usb hard disk / ext3 partition - permissions change...)

ndemou at gmail.com ndemou at gmail.com
Mon Jun 11 13:20:02 EEST 2007


On 6/7/07, Ilias Paraponiaris <paraponiaris at yahoo.com> wrote:
> [...]
> σε αναμονή απλούστερης λύσης - καλύτερης συμβουλής
> 1. Δοκίμασα να κάνω ένα launcher στην επιφάνεια εργασίας, αλλά δεν
> [...]
> 2. Στο cron ή κάπου αλλού μπορώ να το κάνω να τρέχει μόνο κάθε φορά που
> ξεκινάει ο Η/Υ και όχι κάθε Χ λεπτά ή ώρες? Και πάλι θα χρειαστεί sudo ή
> su?

IMHO το rc.local είναι καλό σημείο

δες το αρχείο με: cat /etc/rc.local
(σε μένα είναι έτσι:)
--------------------------
#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0
-------------------------------
εξηγήσεις:# This script is executed at the end of each multiuser runlevel.
χοντρά/ψιλά τρέχει λίγο πριν κάνεις login
# Make sure that the script will "exit 0" on success or any other
# value on error.
αν οι εντολές που τρέχει το script τρέξουν χωρίς error θα επιστρέψουν
ούτως ή άλλως 0 (unix convention)
# In order to enable or disable this script just change the execution
# bits.
αν κάνεις ls -la /etc/rc.local και δεις αυτό:
-rwxr-xr-x 1 root root 306 2006-06-13 19:50 /etc/rc.local
τότε τα x που βλέπεις σημαίνουν eXecutable και είσαι εντάξη
# By default this script does nothing.
exit 0
εδώ εσύ αντικαθιστάς το exit 0 με την εντολή σου καθαρή χωρίς sudo
χωρίς εισαγωγικά. π.χ.:
echo 1 > /sys/class/scsi_disk/0:0:0:0/allow_restart


> 3. Δεδομένου ότι το πρόβλημα ισχύει μόνο για ext3 και όχι για ntfs,
> είναι πρόβλημα (bug) που πρέπει να αναφέρω κάπου, και αν ναι που? (ή
> αρκεί το
> http://www.mail-archive.com/debian-kernel@lists.debian.org/msg26808.html ?)

μάλλον αρκεί το υπαρχον bug report εδώ:
  http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=419175
αν μπορείς δοκίμασε να το ψάξεις και στα bugs του ubuntu και αν δεν
υπάρχει ή θεωρείται unconfirmed να ασχοληθείς

> ελπίζω να βελτιώνομαι σιγά σιγά και να μην γίνομαι κουραστικός...

:-P ώχου! γίνεσε κουραστικός όταν το ρωτάς αυτό :-P




More information about the Linux-greek-users mailing list