Comments (12)
Tesla's officially docs say it must be FAT32 but this is not true, the car will mount and happily write to
ext4 tested on my model 3 software version 2019.20.4.2).
Actually, it doesn't. It says ext3/ext4 is fine as well. See:
So I agree with you, I believe we should go with ext4.
from teslacam.
I got a little excited, we cannot mount it at the same time. But the car will handle ext4 well as far as I can tell. The journal alone might help with FS recovery and corrupted file system that FAT is plagued with.
from teslacam.
from teslacam.
Tested and working with ext4. Both with Teslacam and by formating just a normal usb stick.
from teslacam.
from teslacam.
Yes, type 83.
execSync(`echo "type=83" | /sbin/sfdisk ${IMAGE_DIR}/cam${imageNum}`, { bubbleError: true });
from teslacam.
Do you still need to setup a partition table?
While I don't know for sure (but I can try it out sometime), I don't think that is required. When you plug in a non-partitioned (but formatted) ext3/ext4 drive in a Linux system it works fine. You can mount is using something like mount /dev/sdb /mnt
I don't see why this would be different in Tesla (which is just Linux).
Of course the only exception would be the separate cam and music disks, which would require partitioning.
from teslacam.
Do you still need to setup a partition table?
While I don't know for sure (but I can try it out sometime), I don't think that is required. When you plug in a non-partitioned (but formatted) ext3/ext4 drive in a Linux system it works fine. You can mount is using something like mount /dev/sdb /mnt
I don't see why this would be different in Tesla (which is just Linux).
Of course the only exception would be the separate cam and music disks, which would require partitioning.
In my testing I was unable to get the Tesla to see the drive w/o setting up the table. Anything else I tried I ended up with the grey X on the camera. Maybe I was doing something wrong.
from teslacam.
I'm addressing this issue on branch https://github.com/milesburton/teslacam/tree/add-ext4-filesystem
It's not quite as straightforward as fat32 as it requires you to modify the kernel params. I suspect @wurmr may have a clever solution to get around this in docker
from teslacam.
ext4 appears to work in my MS on the latest update via a USB flash card. The branch above needs to be updated to include @wurmr's optimisations
from teslacam.
On this branch @wurmr, how much work would it be to merge this into your docker setup? Any chance you would test it with your setup?
from teslacam.
@milesburton I'd say make a PR and let's take a peek and work through it.
from teslacam.
Related Issues (19)
- In production do not run the `remote` project from development servers HOT 3
- USB drive not always mounted by the car HOT 15
- Yarn or NPM? HOT 2
- Add support for other remotes? HOT 5
- Tesla not seeing USB drive HOT 51
- Drive filling up HOT 7
- Possible to not have to swap two volumes? HOT 1
- Camera X Issue HOT 1
- trouble installing HOT 1
- Install process not working HOT 10
- Consider a new strategy around V10 HOT 1
- Occasionally the car warns that the drive is too slow HOT 1
- Dropbox upload error HOT 3
- Brown out during initial startup HOT 1
- Nothing starts HOT 5
- Installation problems HOT 4
- `mv` does not have a `-r` option HOT 2
- Does not copy files from images HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teslacam.