-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch USB filesystem to ext4 #15
Comments
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. |
I've had no luck with xt4, I'll give that a go today. The infotainment
system is nothing but debisn/ubuntu so I see no reason why it wouldn't work
and xt4 is vastly superior
…On Thu, 27 Jun 2019 at 05:27, Jim Karg ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15?email_source=notifications&email_token=AAJGHMZBK3WKWDHCKLTL3TLP4Q6TPA5CNFSM4H3XWI22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYVUIVQ#issuecomment-506152022>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJGHM2CI2EWKLDMWDQXZKDP4Q6TPANCNFSM4H3XWI2Q>
.
|
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. |
Tested and working with ext4. Both with Teslacam and by formating just a normal usb stick. |
Do you still need to setup a partition table?
…On Thu, Jun 27, 2019 at 1:51 PM Jim Karg ***@***.***> wrote:
Tested and working with ext4. Both with Teslacam and by formating just a
normal usb stick.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15?email_source=notifications&email_token=AAJGHMZGJ56H4KVDXLBUBSDP4SZWJA5CNFSM4H3XWI22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXALYI#issuecomment-506332641>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJGHM4HQCMMYVMUSAUPGK3P4SZWJANCNFSM4H3XWI2Q>
.
|
Yes, type 83.
|
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. |
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 |
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 |
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? |
@milesburton I'd say make a PR and let's take a peek and work through it. |
Thoughts on switching from FAT32 to ext4 as the file system that is exposed to the Telsa?
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).
The big advantage of this that I can think of is a journaled file system that won't get corrupted so easily plus ext4 supports multiple mount projection. This would allow us to mount it by the pi and copy files off it live. That would mean no more multiple images, we could just construct one very large image and work off of it.
The text was updated successfully, but these errors were encountered: