![]() |
Explain the filesystem to me please?
Hi There
When using the terminal, Im working within a normal linux file system structure, which I am presuming is protected as I can't see this structure when using mass storage mode from the PC How can I transfer files from /home/user to a folder that I can then access from my PC in mass storage mode? I can see folders under ./obex-root, which sort of correspond to view from my PC, but cant get into any of them apart from documents which if I copy files to - do not show up when viewing from my pc Whats the best way to do this? How does the n900 filestructure work? Many thanks |
Re: Explain the filesystem to me please?
Here's the breakdown:
/ is the root system partition where applications are loaded. This is a two Gigabyte partition. /home/user/MyDocs is the area that is visable from the N900's GUI filemanager as "N900". This is the remainder of the internal 32GB chunk (about 27~ GB). /media/mmc1 is the Micro SCHC card. When you plug in the N900 in USB Mass storage mode, the host PC maps the /media/mmc1 and the /home/user/MyDocs partitions as separate readable drives. If you want to move files from anywhere else onto your PC, first copy them to either the SDHC card, or to /home/user/MyDocs. Hope this helps. |
Re: Explain the filesystem to me please?
Quote:
So you have .documents/, .images/ and so on - these directories should show up when you connect the N900 to your PC. EDIT: In /home/user/MyDocs that is - not in /home/user. |
Re: Explain the filesystem to me please?
Quote:
|
Re: Explain the filesystem to me please?
Quote:
/opt -> /home/opt is 2GB reserved from the 32GB internal storage chip. It is meant to be used for anything you install on top of the standard firmware as / has very little spare space. Quote:
Basically, /home/user/MyDocs is where you are expected to put all your files such as music, videos, documents. The camera also saves here. If you really need to access other parts of the filesystem you can always install OpenSSH - Server and then use winscp (if you are on Windows) to login and browse the filesystem. I am not sure if OpenSSH is in testing or extra though and you need to be a lot more careful when using it anyway as it gives you power to change things that will stop everything working. |
Re: Explain the filesystem to me please?
Quote:
Here's a df output from the N900: http://www.besh.com/~chad/shot.txt |
Re: Explain the filesystem to me please?
Quote:
So it wasn't quite what you'd described earlier, but I can see why you'd perhaps describe it that way. The fact remains though, that the rootfs is quite small and we need 'care in the community' to ensure that it doesn't get filled up. |
Re: Explain the filesystem to me please?
Thanks guys - that was exactly what I needed to know :D
All sorted now |
Re: Explain the filesystem to me please?
for later purposes:
http://wiki.maemo.org/N900_filesystem will soon add the sizes of the partitions to the table. |
Re: Explain the filesystem to me please?
So why the 2GB partition at /dev/mmcblk0p2 (/home)? Is this for the rest of the system that wouldnt fit in the rootfs? Basically, /home is stuff we shouldn't really touch, and /dev/mmcblk0p1 (/home/user/MyDocs) we can use?
|
All times are GMT. The time now is 07:19. |
vBulletin® Version 3.8.8