10-21-2014 06:29 AM
Hi,
I'd like use an sd card to store logged data on the 9651 board. I'd like to format in ext3 to have better reliability for an embedded device, but I'm having trouble formatting the card. I tried using a linux PC to format the card and use it in the sbRIO but I have some troubles. Via FTP everything works, while trying to programmatically write on the card I get a permission error (error 8). So I tried to format the card on the sbRIO, but I've found that the mkfs command is missing. Any ideas on how to overcome the problem?
10-21-2014 06:42 AM
... I'll be watching this one as I was about to ask similar questions.
To make the thread even more complete, is there a tool (free or otherwise) that can be used to format and/or read ext3 SD-cards on a Windows (7) system?
10-21-2014 09:35 AM
Hello Valbo10 and QFang, welcome!
The issue that you're running into here is that any proper UNIX/Linux filesystem has the notion of file and folder permissions and ownership. When you've created the ext3 filesystem, it will be owned by root:root (UserID 0, GroupID 0) with permissions that prevent you from adding things to the folder as the under-priviledged lvuser (the user that is running the LabVIEW RT system on the controller).
You have a few options:
Also, the targets should have the mkfs.ext3 tool on them. Normally, the mkfs tool will simply turn around and call these fs-specific versions anyway.