![]() |
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?
|
Re: Explain the filesystem to me please?
Quick question,
Should a fresh device have about 74% used space on /? If not, how much is used on a fresh device? Does anyone know? I'm looking at 'df' by the way. |
Re: Explain the filesystem to me please?
is it ext2 / ext3 ??
|
Re: Explain the filesystem to me please?
Quote:
checking in terminal brings up 227 of total size. how can i manually install programs in the 2gb space? will this help with the out of memory errors? thanks guys and gals. first post by the way but always read up here for clues and hints. also got my n900 almost a week ago and love it! |
Re: Explain the filesystem to me please?
Quote:
|
Re: Explain the filesystem to me please?
Quote:
There's also currently a bug when installing multiple applications where the downloaded data isn't properly deleted after installing (until after a reboot), which can lead to running out of free space temporarily. This should be fixed with the next firmware though. |
Re: Explain the filesystem to me please?
Quote:
|
Re: Explain the filesystem to me please?
Quote:
|
Re: Explain the filesystem to me please?
Quote:
|
Re: Explain the filesystem to me please?
Quote:
|
Re: Explain the filesystem to me please?
Before someone asks, 32GB for the N900 means:
32GB = 32000000000 Byte = 29.8 Gibibyte The table on http://wiki.maemo.org/N900_filesystem has Gibibyte. |
Re: Explain the filesystem to me please?
Quote:
In this case, Nokia is no worse than Apple for fooling people into thinking that Snow Leopard gave them more disk space, when in reality they changed from Base 2 to Base 10. These tech companies must think we're all ignorant tools. |
Re: Explain the filesystem to me please?
Quote:
|
Re: Explain the filesystem to me please?
Quote:
|
Re: Explain the filesystem to me please?
Quote:
|
| All times are GMT. The time now is 08:06. |
vBulletin® Version 3.8.8