WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: where to set vfat mount options  (Read 1119 times)

Offline frank4

  • Newbie
  • *
  • Posts: 1
where to set vfat mount options
« on: February 15, 2024, 04:31:12 AM »
Hi there,
I am using piCore Audio on a Raspberry Pi 2 and I really like it. I have some experience with Debian but I'm challenged to understand how things are done in TC. I hope you guys can point me in the right direction.

I am using a vfat usb drive that is mounted

/dev/sda1 on /mnt/usb type vfat (rw,nosuid,nodev,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=utf8,shortname=mixed,flush,errors=remount-ro)

I would like to mount it with errors=continue option. Where do I define these standard mount options?
I know that fstab is created from /usr/sbin/rebuildfstab, but these standard are not defined there. Also, I can edit /usr/sbin/rebuildfstab to set boot options for vfat, but after a reboot, my changes to /usr/sbin/rebuildfstab are reverted...


Thank you so much,
Frank

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11595
Re: where to set vfat mount options
« Reply #1 on: February 15, 2024, 10:02:16 AM »
Hi frank4
Welcome to the forum.

...  I'm challenged to understand how things are done in TC. ...
I recommend you download this fine book by curaga:
http://tinycorelinux.net/book.html
I think the hour you spend reading it will be well worth your time.

Quote
... Also, I can edit /usr/sbin/rebuildfstab to set boot options for vfat, but after a reboot, my changes to /usr/sbin/rebuildfstab are reverted...
I will refer you back to the book. The term you are looking for is  "persistence".