Sample Header Ad - 728x90

/etc/fstab mounting with auto buffer flushing

1 vote
1 answer
195 views
My /etc/fstab line for the SD I'm willing to mount looks like:
/dev/mmcblk1    /media/sd_card  vfat    user,rw,umask=000,sync  0 2
With this line I'm able to mount the SD, but everytime I want to unplug the SD I have to execute blockdev --flushbufs /dev/mmcblk1 if I want to make the written changes take effect. What means, that if I dont execute the blockdev-command all the written changes are lost after unplugging the SD. The weird thing is, that I all the time I was using this line, I thought everything is working fine... So what am I doing wrong? ---------- I'm working on the jetson tx2 with Ubuntu 16.04 running on it.
Asked by JulianW (143 rep)
Aug 22, 2019, 11:08 AM
Last activity: Oct 19, 2024, 09:55 AM