27
votes
Accepted
Where is Raspberry Pi "wastebasket" located in the file system?
The folder trash can is in /home/pi/.local/share/Trash/. In this folder, there are two folders, files and info.
/home/pi/.local/share/Trash/files/
/home/pi/.local/share/Trash/info/
Source
20
votes
Accepted
Automount various USB stick file systems on Jessie Lite
After alot of research I could fix my Problem with usbmount:
Adding ntfs to usbmount
Install usbmount with sudo apt-get install usbmount.
Install NTFS driver package ntfs-3g with sudo apt-get ...
14
votes
Is there a way to remove old files without relying on internet time service?
Since you don't have Internet NTP, the file timestamps are meaningless, being reset to the Pi's "/etc/fake-hwclock.data" time whenever the system is booted.
If the daily data file(s) have a ...
11
votes
Disable auto file system expansion in new Jessie image 2016-05-10
Looks like this is going to be part of the newest updates; Desktop & Lite versions:
https://www.raspberrypi.org/blog/another-update-raspbian/
When flashing a new Raspbian image, the file ...
11
votes
Where is Raspberry Pi "wastebasket" located in the file system?
You can find it at: /home/pi/.local/share/Trash/.
The trash:// prefix comes from gvfs (GNOME Virtual File System) / the XDG Spec. It does map to an actual filesystem path, but the idea is that ...
10
votes
What does raspi-config's Expand Filesystem option do?
raspi-config is POSIX shell script and fairly easy to read if you understand shell scripting; on Raspbian it's in /usr/bin, and runs via an init service the first time you boot, but is kept updated ...
9
votes
Can I view/copy the contents of an img file from Windows?
It also turns out that 7zip can extract a .img file just like any other archive file:
7z x raspian.img
8
votes
Can I view/copy the contents of an img file from Windows?
Alternatively, use DiskInternals' Freeware Linux Reader for Windows (as I was unable to figure out how to mount .img files with Paragon's ExtFS for Windows).
8
votes
Where is Raspberry Pi "wastebasket" located in the file system?
It has one, but it also does not...
On one hand there is not concept of a trash bin/wastebasket on Linux, especially when dealing with the shell. rm deletes (more or less) for good.
But on the other ...
7
votes
Accepted
How to use JFFS2 or UBIFS to avoid data corruption and increase life of the SD card?
It is possible. And I am running my pi with it.
[root@rasp-rodhome ~]# grep jffs2 /proc/mounts
/dev/root / jffs2 rw,noatime 0 0
[root@rasp-rodhome ~]# cat /proc/version
Linux version 3.19.0-rc7.17....
7
votes
Is there a way to remove old files without relying on internet time service?
On a system where the time resets on boot, you can't know what time it is when the system starts, and similarly can't know how long it was when the system was down. But you can count reboots, and you ...
6
votes
Problem when saving many files in Raspberry Pi
Linux kernel is caching disk operations. That means data is written not in real time, but when it is "time to do it".
There could be two reasons of behaviour you described:
1. Your SD card (or disk) ...
6
votes
Accepted
Difference between .../thermal_zone0/temp and .../thermal_zone0/subsystem/thermal_zone0/temp?
lrwxrwxrwx 1 root root 0 2016-02-19 22:24 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 2016-02-25 17:31 /sys/class/thermal/thermal_zone0/subsystem/...
6
votes
Accepted
Why is it necessary to "expand the file system"?
People are commonly confused by the difference between three distinct things:
A random access block storage device such as an SD card (or HDD).
A storage partition which is a section of a device; ...
6
votes
Accepted
What does raspi-config's Expand Filesystem option do?
The base image is sized so that it will take as little as possible of the SD card space as practical. That's probably 4GB for Raspbian (full). Many people will use larger capacity cards. Unless the ...
6
votes
Accepted
What is the purpose of group "staff"?
According to the Debian Wiki:
staff: Allows users to add local modifications to the system (/usr/local) without needing root privileges (note that executables in /usr/local/bin are in the PATH ...
6
votes
Accepted
Is there a way to remove old files without relying on internet time service?
Raspbian includes fake-hwclock, which saves the clock to the SD card on shutdown and restores it on boot. However, if you're just cutting the power to restart it, this is fairly useless; it will never ...
5
votes
SD card is titled “RECOVERY” and only has 1GB after using RPi
This is because Raspbian uses multiple partitions. Two of those partitions are the BOOT and RECOVERY partition, those are not the ones that contain your files, like your home directory and your ...
5
votes
What is the purpose of group "staff"?
This isn't peculiar to Raspbian or even GNU/Linux; evidently it's used on OSX too, although perhaps not the same way. Both operating systems are a form of unix -- I found that OSX question by ...
5
votes
Detect an SD card that became read-only
You could do a simple write/read test with a test pattern. A good test pattern is a byte with binary '01010101' = 0x55 hex and a byte '10101010' = 0xaa. Writing both will toggle every bit.
As I had ...
5
votes
One volume does a *full* fsck every boot, even though it's clean
I found what I believe was the cause, and it now appears to be fixed.
Since this machine has a battery-backed RTC on it, fake-hwclock had been uninstalled long ago. When looking at the dump from '...
5
votes
Accepted
What is Wolfram engine and can I delete it?
Wolfram is the programming language of mathematica. Don't just delete the files. This may confuse and break your installation system. If you don't need wolfram just deinstall it with:
rpi ~$ sudo apt ...
4
votes
Why does raspbian use ext4 for its rootfs with journaling enabled?
Even if EXT4 with journaling is not infallible, it goes a long way towards protecting your data. Without a journal, you'd have to repair the partition with fsck essentially after every crash / hard ...
4
votes
Why does the SD card random write performance for record size 8-128 kB drops below the performance of record size 4 kB?
SD Cards Cells Structure :
In solid-state electronics, a cell is memory element capable of storing one or many bits of informations, the number of bit per cell depend on the used technology. (SLC / ...
4
votes
How can I avoid wearing out flash memory by frequently changing symlinks?
You can't, but it does not matter because it will take more than a decade to wear a card out that way. I've pointed out previously that there is much paranoia about this amongst pi users, perhaps ...
4
votes
Accepted
SD card is titled “RECOVERY” and only has 1GB after using RPi
Simplified version: Raspbian partitions your SD card. The partition named RECOVERY is using the FAT file system. Also, it's usually the first partition. That's why you can open it up on Windows.
The ...
4
votes
Where has all my free space gone?
I've worked it out now, partially due to @Jacobm001's answer - thanks!
I have /mnt/video mounted to an NFS share on my NAS. I have a cron job which automatically downloads (large) videos and places ...
4
votes
Accepted
How to use external flash drive as raspberry pi 3 root storage?
You can put your filesystem on an external drive, there are instructions to use an external drive to boot your Pi. See https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md
...
4
votes
how to create a bootable image for Raspberry Pi
How can I create an image so it can be written to any SD card size without losing any space?
You can't, or at least, you can't use a static image. You could write a script to resize it dynamically ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
filesystem × 240raspbian × 67
sd-card × 49
boot × 26
mount × 16
linux × 15
hard-drive × 14
storage × 14
usb × 13
partition × 11
boot-issues × 10
power × 9
pi-4 × 8
raspbian-jessie × 8
fstab × 8
readwrite × 8
pi-3b+ × 6
raspbian-stretch × 6
ubuntu × 6
image × 6
operating-systems × 6
pi-3 × 5
pi-2 × 5
raspbian-buster × 5
windows × 5