Questions tagged [filesystem]

The file system is the way an operating system organises its data on the storage (usually non-volatile, like an SD card) available to it.

244 questions
12
votes
2 answers

What file system format should I use on flash memory?

This is for a data logger application running under latest Debian/Raspbian. The app will run long term and write about 1M of ASCII per day to a large flash drive (say, 32GB). There will be few reads, just when the data is downloaded every few…
Guy
  • 1,657
  • 1
  • 16
  • 18
8
votes
2 answers

How to use JFFS2 or UBIFS to avoid data corruption and increase life of the SD card?

The Pi is using a EXT4 or EXT3 or FAT file systems which are not meant for low level flash devices. It might work very well on flash devices that uses internal (and hidden) wear leveling techniques (such as nowadays SSD), but not on basic flash…
Blup1980
  • 199
  • 1
  • 1
  • 4
4
votes
1 answer

Is it safe to delete stuff in /usr/src ?

After apt-get upgrade and -update, my 4 GB SD-card was full. I already ran 'apt-get clean' to clear uit /var but I still have less than 1 GB free and I'd like to free up more space. The update took me from raspbian version 3.6 to 3.10. Running du…
RolfBly
  • 619
  • 1
  • 9
  • 23
3
votes
1 answer

Where is the home directory on the sd card?

My raspberry pi has stopped working so I want to get the files that I stored on it off it before I reinstall the OS. I have Raspbian from NOOBs and I am on a mac. On what partition and in what directory are the home and desktop located?
Jonah Fleming
  • 185
  • 2
  • 12
1
vote
2 answers

Root filesystem usage at 100%, but I can't see why

I have a Raspberry Pi 2 with Jessie. df shows 100% usage on /: pi@raspberrypi:/ $ df -h . S.ficheros Tamaño Usados Disp Uso% Montado en /dev/root 15G 14G 44M 100% / But if I search I can't see why it is full (at home an external 2…
user104906
  • 13
  • 1
  • 4
1
vote
1 answer

Alpine Linux - Changing/Moving the file system

recently I installed alpine linux on my 16gb sd and everything went right (I followed this tutorial https://www.youtube.com/watch?v=RQZRHvmlUU8 ), but I realized that my file system is 200mb/457mb, and I cannot install nothing. On my desktop there…
1
vote
2 answers

Does having a separate writable partition eliminate benefits of having a read-only /boot and root?

To hopefully prevent filesystem corruption I've setup the /boot and / partitions as read-only. For some use cases I still need a writeable partition to store data. If plan to create a 3rd partition on the SD card and mount it at /rw. Does having…
Pathead
  • 283
  • 1
  • 9
1
vote
1 answer

Why are some file move operations as slow as copy operations?

I believe I understand how file copy/move operations work (or appear to work). My general understanding being that as long as files and directories are on the same device and filesystem, moving a file from one directory to another should happen…
Glenn
  • 21
  • 4
0
votes
0 answers

creation of filesystem image in another image

I am creating Ubuntu raspberry pi os from scratch using this https://a-delacruz.github.io/ubuntu/rpi3-setup-filesystem Iam struck here please provide full procedure 1. full filesystem creation as mention in the picture 2. full commands for…
0
votes
1 answer

What can Cause Duplicate File Names?

As you can see below, I somehow have duplicate file names. I'm not sure if the files themselves are duplicate. Any idea how this can happen? The PI is running Raspbian Jessie.
crj11
  • 493
  • 4
  • 9
0
votes
2 answers

How to get the created time form a file with iNode or full-path?

I would like to get the created time form any file/folder The method i got the information on other Linux distribution (RHEL) works in this form: sudo debugfs -R 'stat ' /xxxxx where "xxxxx" means the partition on the target file/folder…
stefansson
  • 141
  • 3
0
votes
2 answers

Admin access on Pi 3

I have tried to edit files on my pi 3, such as pyaudio.py but cannot because system keeps telling me permission denied, why is this? How can I get admin acces even though it is my system? Anyone one please help
Mrk11
  • 43
  • 1
  • 4
0
votes
2 answers

Cannot Expand FileSystem

When I first install the Wheezy OS on a Kingston 8GB class 10 SD card, using Win32DiskImager, it works fine, but the second that I try to expand the FileSystem by bringing up the config screen (sudo raspi-config), and expand the FileSystem, i get…
Rudy01
  • 101
  • 1
  • 1
0
votes
2 answers

How can I avoid wearing out flash memory by frequently changing symlinks?

I have a circular buffer of files in ram disk. A new file is created every second. I want to always refer to the latest file using the same file name for access by a browser and apache. So, each time I update the file, I update a symlink from…
NewtownGuy
  • 111
  • 7
0
votes
1 answer

My 4T disk with ext4 does not work for more than 5 minutes

I got a WD large drive, 4T with USB enclosure (powered by a dedicated AC adapter). I formatted it in my laptop (Ubuntu 12.04) as a single ext4 file system without any partition. mkfs.ext4 /dev/sdb something like this command line, anyway, it works…
Chandler
  • 1
  • 3
1
2