Subject: Re: File access time sorting speedup - msg#00102
List: debian.knoppix
Klaus Knopper wrote:
On Fri, Dec 19, 2003 at 07:17:22PM -0800, R. Dale Thomas wrote:
[snip]
/KNOPPIX.build is an additionally mounted directory that is used for
writing the ISO image and contains some other supportive files that are
NOT to be written to the image (mkisofs -m /KNOPPIX.build). The / is
also the root file system for the cloop-compressed iso image.
Just my individual setup.
[snip]
First the timestamp file is created. Than the partition containing the
KNOPPIX / file system is booted, so the access times are set on the ext2
filesystem. Then, a find-script creates the list of files changed since
the modification date of the timestamp file.
A cleaner way would be running a kernel with the open()-trace patch.
Regards
-Klaus Knopper
Thank you for your kind answer.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: documents/info about boot process
On Sat, Dec 20, 2003 at 04:46:34PM +0100, Andreas Krings wrote:
> R. Dale Thomas wrote:
>
> >Andreas Krings wrote:
> >
> >>Hallo,
> >>
> >>i want to remaster my Knoppix and to change/add a few boot scripts.
> >>But i saw that KNOPPIX is not using the default init.d structure from
> >>Debian, where all the scripts to start are stored in /etc/rcX.d (with
> >>X = [0-6]). There is only a K10Xsession-link to /etc/init.d/xsession.
> >>So my question is: From where does KNOPPIX start all the scripts at
> >>bootprocess?? Are these scripts are calles from a Configuration
> >>script from KNOPPIX or does all services start from Xsession??
> >>
> >>I could not find sth. releated to it on the KNOPPIX Wiki Docs. So if
> >>andybody know a little bit about it, please let me know!
> >>
> >>Much thanks for your help & greetings
> >>
> >>Andreas
> >
> >
> > The init scripts are located in /etc/init.d and are symlinked to
> >in the /etc/rcX.d directorys in a sysV like fashion.
> >
>
> Yes, that is the sysV-System in Debian (and other Distros). But in
> KNOPPIX there is only a Symlink to init.d/xsession in every etc/rcX.d/
> directory. That is why i asked this question: I do not know this
> runlevel-system which is used here! ;-(
Well, it is the SysV-System that is used in Debian. ;-)
> So does anybody could please explain it to me or can give me a hint/link
> to docs. I did not found sth. about it in the KNOPPIX WiKi-Docs.
See above. The first answer to your question was correct.
Regards
-Klaus Knopper
Next Message by Date:
click to view message preview
Adjusting knoppix for use in school-environment
Hello there,
i´m using the latest knoppix-version (3.3 update) and installed it on
harddisk for testing purpose.
My goal is to replace several windows (xp) clients in our school with a
pre-configured knoppix 3.3 (german version).
To do that, i would really appreciate to get some help for the following
tasks:
1.
I want to configure a normal user-account (i.e. customized desktop-settings,
pre-configured mozilla settings etc.) and then "lock" this account so that
the students can only use the system but cannot change any look&feel or
other settings within this account (including the user password).
Any help would be greatly appreciated.
2. This is optional, not a must.
It would be great if the user-account mentioned above would log on
automatically upon system-boot and mozilla would start right away in a
maximised window.
3.
Is there something like a task-scheduler in koppix that can accomplish the
following task:
If there is no user activity for several minutes (no mouse and/or keyboard
activity) mozilla should close itself and restart right after (so that the
pre-defined starting-page is loaded again).
Thanks for all your help,
Daniel
Previous Message by Thread:
click to view message preview
Re: File access time sorting speedup
On Fri, Dec 19, 2003 at 07:17:22PM -0800, R. Dale Thomas wrote:
> I read the archive of this list in which Klaus Knopper answered the
> question about bootup speed. In that response, Klaus states that he uses
> "the file access times as sorting criteria". He then goes on to give a
> sample
> script of what he means. In the example script, he uses the /KNOPPIX.build
> directory that appears to be the root of the system and checks for access
> times
/KNOPPIX.build is an additionally mounted directory that is used for
writing the ISO image and contains some other supportive files that are
NOT to be written to the image (mkisofs -m /KNOPPIX.build). The / is
also the root file system for the cloop-compressed iso image.
Just my individual setup.
> of the files. I assume that this is a separate partition that has just been
> booted so the access times have been set by that boot process. Can anyone
> clearify the procedure that was used leading up to this process?
> This is my take on the process:
> A partition is used for a copy of the 'ready to burn' cd image with an
> additional
> directory of KNOPPIX.build.
First the timestamp file is created. Than the partition containing the
KNOPPIX / file system is booted, so the access times are set on the ext2
filesystem. Then, a find-script creates the list of files changed since
the modification date of the timestamp file.
A cleaner way would be running a kernel with the open()-trace patch.
Regards
-Klaus Knopper
Next Message by Thread:
click to view message preview
apt: .. 287 not upgraded !!!
Hi
after some apt-get installs the database is confused. (I said no at the
Y/n prompt when apt wanted to remove 130 kde packages, which was
nonsense obviously)
I heard several people had the same problem.
How do I get back to the database state where I was?
(the former /var/cache/apt/status-old is not available anymore)
I don't want neither to upgrade nor remove anything.
Please help.
Matthias