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.

246 questions
20
votes
3 answers

Automount various USB stick file systems on Jessie Lite

I want to be able to automount USB sticks fat32 and ntfs formatted on the fly, like hot-plugging without rebooting the my Raspberry Pi 2. I have ntfs-3g installed on jessie-lite. Putting the UUID in fstab is not an option because I'd have to find…
Ederbit
  • 501
  • 1
  • 3
  • 10
19
votes
1 answer

Why does the SD card random write performance for record size 8-128 kB drops below the performance of record size 4 kB?

When I check the performance of SD cards for random write, I can see the performance is quite bad for record size 4 kB (this is not surprising) but then for several cards it even drops for larger record sizes before it increases. I measured the…
Neverland
  • 361
  • 2
  • 4
  • 12
17
votes
3 answers

Where is Raspberry Pi "wastebasket" located in the file system?

I am trying to understand the Raspbian file system better. I opened properties on the Raspberry Pi's "Wastebasket" hoping to find out where it is located in the file system and I found trash:///. Can anyone explain this, please? I expected to find…
Susan
  • 289
  • 1
  • 2
  • 8
16
votes
5 answers

Strategies to deal with unpredictable power supply

I want to install a Pi in my car and use it to record GPS data. What strategies (in my program) can I follow to minimize problems due to power being interrupted when writing to the SD card? So far I can think of: Storing data and only writing…
pufferfish
  • 352
  • 2
  • 9
15
votes
4 answers

Where is the script for raspi-config stored in the FS on Raspbian?

While the raspi-config script makes for convenient setup on first boot, one of the reasons I have a Raspberry Pi is to help me learn what goes on behind the menu on my computers. I would like to see the raspi-config script, and understand how it…
zenbike
  • 2,520
  • 6
  • 20
  • 26
13
votes
3 answers

Setting up the Raspberry as a data logger

As the title states I'm working on a simple embedded application which reads some information from the serial port and logs it to file, in addition to displaying a bit of status on the display. I'm now at the stage the logging seems to be running…
doynax
  • 303
  • 3
  • 7
13
votes
3 answers

Disable auto file system expansion in new Jessie image 2016-05-10

Now when you flash the new Jessie image (released 2016-05-10) on the SD card and boot the first time, it auto expands the file system on the whole SD card. I want to stop that script. Reason i want this is because when backing-up the image from the…
user3601278
  • 131
  • 1
  • 1
  • 3
12
votes
2 answers

Recover files from broken sd card (no boot)

Is there any chance to recover some files that are on a SD card which doesn't boot anymore? Seems the last power-cut affected some files on the card and the Raspberry Pi is not able to boot anymore.
el.severo
  • 269
  • 2
  • 4
  • 13
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,667
  • 1
  • 16
  • 18
12
votes
3 answers

How do I mount the .img files under Ubuntu?

I just downloaded the Debian and Arch Linux files and I would like to mount before I burn into the SD card. How can I mount the img? I tried to mount but I'm getting the following error: sudo mount -o loop archlinuxarm-13-06-2012.img /mnt/ mount:…
Mokus
  • 983
  • 5
  • 10
  • 19
11
votes
4 answers

Can I view/copy the contents of an img file from Windows?

I have a backup .img file of an old Raspbian installation that I used to have running as a webserver. I'm unable to get the Raspberry Pi to boot from it any more, I think due to running out of space on the card but I could be wrong on that. This…
Jamie Bull
  • 1,137
  • 3
  • 9
  • 22
11
votes
1 answer

readonly filesystem after reboot

I use ArchLinux on Raspberry Pi B+. If I reboot it using shutdown -r, I always get readonly filesystem after reboot and I have to remoung it using sudo mount -o remount,rw /. Isn't shutdown -r graceful reboot regarding to filesystems? The version is…
KernelPanic
  • 438
  • 1
  • 11
  • 24
11
votes
3 answers

What format should my SD card be?

I've downloaded my raspian disk image, and I'm going to write it to my micro sd card for use with my raspberry pi. I'm going to use Partition Image 0.6.8 to write the disk image to the card. Is this all I need to do? Using GParted, I've noticed the…
Starkers
  • 223
  • 1
  • 2
  • 5
9
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
  • 209
  • 1
  • 2
  • 5
8
votes
3 answers

Are read only partitions safe from corruption if there's also a read/write partition on the same sd card?

I want to make my operating system partitions read only, but also to have a separate small partition to occasionally write data. Will the read only OS partitions be safe if the read/write partition gets corrupted from power removal while writing? …
Paul Slocum
  • 231
  • 2
  • 11
1
2 3
16 17