Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (9) </ 1 2 3 [4] 5 6 7 8 9 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Great but could someone help a little bit, RDP Project - fully automated< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 16 2007,18:09 QUOTE

You could pick up a document on (Linux/*nix) FHS.

Afaik lost+found is used on every partition for recovered/non-saved files during system failures.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Sep. 16 2007,19:00 QUOTE

Their names also give good hints :D

Like lib means libraries, or tmp temporary stuff.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
DogEatDog Offline





Group: Members
Posts: 30
Joined: Sep. 2007
Posted: Sep. 16 2007,21:49 QUOTE

Many thanks for both your comments. I have now looked up a decent article on subject (I had tried before but didn't know the correct search criteria!).

I have reflected on this and my current feeling is that this may well be going over the top with detail for purposes of communicating this project. I hope that I have explained this reasonably well and I will point to the additional articles.

Amended changes below.
Back to top
Profile PM 
DogEatDog Offline





Group: Members
Posts: 30
Joined: Sep. 2007
Posted: Sep. 16 2007,22:10 QUOTE

Understanding the filesystem - COMPLETE

It took me a while to understand how the files system works with DSL. To get a grip on it you need to understand the boot process too which is not clear to a Windows user. It is much more technical than we are used to. Here's my way of explaining it...

If you go into emel-fm (a file manager that takes a bit of getting used to is you are familiar with Explorer) you will see that in the root directory (/..) there are a bunch of folders. They are NOT a consistent set of files that you might see in Windows explorer. Don't think of them as such. Here are the varieties you get:

1. Some are symlinks (shortcuts) to regularly used folders. (They can be recognised as light blue folders in EmelFM)
2. Some are real folders.
3. Some are mounted drives. Drives don't appear in the same way in DSL - they are mounted as folders.
4. Mounted images - the main Knoppix file is treated in this way.

When booting up, there is a bunch of primordial stuff that happens at low level that is handled by the loader (grub in our case). During that phase, it loads what is known as the kernel. This is the shell or environment that allows everything to start to talk to each other. The programs can interface with the hardware and different bits of hardware can talk to each other and so on. Once the kernel is loaded, the main operating system files (/Knoppix) are hunted down on the system. In our case, these are on hda1.

The basic DSL files stored in this image are then installed into RAM at /KNOPPIX. These files allow the Operating system to run. A bunch of shortcuts to commonly used folders are also set up for ease of use. In addition, the orginal KNOPPIX image is mounted (you could say that a shortcut to the main file is setup) under the /cdrom folder. Hence the Operating system can call on the other stuff it needs whenever and you can access the files you are most likely to need quickly. This is all very sensible when you think about it.

Back to persistence again:
As discussed, some of the files are in RAM. The ones that are in RAM can be changed for the most part - some are actually in use so can't be changed. When you start to change these files - nothing will last until you 1: Click System > Backup/Restore (if it does not default to your 2nd drive then select type the name of the drive e.g. hda2) and 2: Introduce the cheatcode: restore=hda2. More about this later!

The KNOPPIX image loaded at /cdrom is not writable either because it is in constant use by the OS. Hence - at a later stage we may need to remaster the image. I am not sure just yet if I can get away with this project in backups only.

I began to write in some depth at this point about what all the individual folders do. It seemed very peculiar that there was a 'lost & found' folder nearly everywhere I looked.

Rather than go into real detail about what individual folders and files do and how they work. You can have a pretty good guess what each of them does and you'll probably be right. To find out more specifically about what is happening where. You can go and read The Linux Documentation Project (http://www.tldp.org/) and click on Guides and find the one on Linux Filesystem Hierarchy. This will explain everything in a lot more depth.

For now, I think we have enough to go on with, incidentally the 'lost & found' folder is found on all partitions for lost files / part files during system failures. That's why you see it around a lot.
Back to top
Profile PM 
DogEatDog Offline





Group: Members
Posts: 30
Joined: Sep. 2007
Posted: Sep. 17 2007,11:32 QUOTE

Hi - I have just posted the entire article here as a temporary container for it. I will transfer it back when it's finished.

http://dsl-rdp.blogspot.com/


C.
Back to top
Profile PM 
44 replies since Sep. 15 2007,22:37 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (9) </ 1 2 3 [4] 5 6 7 8 9 ... >/
reply to topic new topic new poll
Quick Reply: Great but could someone help a little bit

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code