DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The following filesystem features can be set or cleared using
tune2fs:
dir_index
Use hashed b-trees to speed up lookups in large
directories.
Quote:
Originally Posted by man e2fsck
-D Optimize directories in filesystem. This option causes e2fsck
to try to optimize all directories, either by reindexing them if
the filesystem supports directory indexing, or by sorting and
compressing directories for smaller directories, or for filesys‐
tems using traditional linear directories.
This is the default options for Suse10.2 ext3. reiserfs uses this in its structure.
Use at your own risk.
I did it just now and my system is still running
SAVE ALL YOUR WORK, EVERYTHING OPENED WILL BE LOST.
Code:
su -
<enter root password>
telinit 1
<enter root password>
mount / -o remount,ro <-- my / is /dev/hda3
umount /home <-- I have a /home it's /dev/hda2
umount /var <-- I have a /var it's /dev/hda4
tune2fs -O dir_index /dev/hda2
tune2fs -O dir_index /dev/hda3
tune2fs -O dir_index /dev/hda4
e2fsck -p -D -f /dev/hda2
e2fsck -p -D -f /dev/hda3
e2fsck -p -D -f /dev/hda4
mount / -o remount,rw
mount /var
reboot
If you have only one partition, just skip the others
Coming off years of Gentoo, it is bizzare and more difficult than building things the manual way, at least to me, but it has not failed me, yet...hope someone finds this useful.
With the new implementation of xorg, there are problems with the configuration if your hardware is a different or for other unforseeable reason.
I'm using Sid and my SiS driver for video is buggy, so i changed it to "vesa", that stopped the freeze ups. Here's my /etc/X11/xorg.conf, it might help someone :
Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Section "Device"
Identifier "SiS"
Driver "vesa"
BusID ""
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 31-70
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "SiS"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Option "StandbyTime" "3" # Turn off screen in 3 minutes (DPMS)
Option "OffTime" "15" # Turn off DPMS monitor (DPMS)
EndSection
Section "ServerFlags"
Option "AllowEmptyInput" "0"
Option "AutoAddDevices" "0" # will turn off the HAL Features
Option "DontZap" "Off" # Enables ctrl-alt-del
EndSection
Thanks to the boys from Sidux and anticapitalista from the antiX forums
One of the great things about Debian is the plethora of apps available. However, this can also cause problems: Due to the sheer number of programs, the menu system for selecting an application rapidly becomes unweildy.
Is there a way of rearranging the menu system using folders so that applications can be grouped according to taste?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.