/etc/fstab mounting with auto buffer flushingsda and sdb block specials point to same device and get mixed up...

How do you harvest carrots in creative mode?

Why isn't "I've" a proper response?

Is gzip atomic?

If all stars rotate, why was there a theory developed that requires non-rotating stars?

Why do gliders have bungee cords in the control systems and what do they do? Are they on all control surfaces? What about ultralights?

Pythagorean triple with hypotenuse a power of 2

Why did MS-DOS applications built using Turbo Pascal fail to start with a division by zero error on faster systems?

Algorithms vs LP or MIP

SQL Server Management Studio - Why is Dark Theme Disabled by Default?

Is there any example of one country devastating a third?

Are there any elected officials in the U.S. who are not legislators, judges, or constitutional officers?

Thank God it's Friday, tomorrow is THE weekend. Why the definite article?

How can I unambiguously ask for a new user's "Display Name"?

Why did Khan ask Admiral James T. Kirk about Project Genesis?

The Knight's estate

Would the Republic of Ireland and Northern Ireland be interested in reuniting?

How to determine car loan length as a function of how long I plan to keep a car

What is the best type of paint to paint a shipping container?

Antonym of "billable"

Is for(( ... )){ ... ;} a valid shell syntax? In which shells?

How to make Ubuntu support single display 5120x1440 resolution?

You have 3 cakes. Everytime you eat one, there's 17% chance the number of cakes is reset to 3. Find average number of cakes eaten?

Are there languages that inflect adverbs for gender

Why do all fields in a QFT transform like *irreducible* representations of some group?



/etc/fstab mounting with auto buffer flushing


sda and sdb block specials point to same device and get mixed up (hardware RAID doesn't work after new installation of 12.04)Error mounting drive with fstabError mounting drivesgroup option in fstab not workingUnable to change permissions of file system rootWhy is my swap not being activated automatically via fstab?How to properly automount partitions? fstabmounting network drive in /etc/fstabNAS share not mounting on linux boot through /etc/fstabIssue with correct syntax of /etc/fstab






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















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.










share|improve this question

























  • unmounting the filesystem isn't enough?

    – ilkkachu
    yesterday











  • @ilkkachu I can't say, when the user unplugs the SD. So I don't get your point.

    – JulianH
    yesterday













  • Ah right, of course it doesn't help if you don't know when the card is unplugged. The phrasing in "everytime I want to unplug the SD I have to execute...", seemed to indicate that the intention to unplug was known in advance.

    – ilkkachu
    yesterday


















0















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.










share|improve this question

























  • unmounting the filesystem isn't enough?

    – ilkkachu
    yesterday











  • @ilkkachu I can't say, when the user unplugs the SD. So I don't get your point.

    – JulianH
    yesterday













  • Ah right, of course it doesn't help if you don't know when the card is unplugged. The phrasing in "everytime I want to unplug the SD I have to execute...", seemed to indicate that the intention to unplug was known in advance.

    – ilkkachu
    yesterday














0












0








0








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.










share|improve this question














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.







linux fstab sd-card vfat fat32






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









JulianHJulianH

1083 bronze badges




1083 bronze badges
















  • unmounting the filesystem isn't enough?

    – ilkkachu
    yesterday











  • @ilkkachu I can't say, when the user unplugs the SD. So I don't get your point.

    – JulianH
    yesterday













  • Ah right, of course it doesn't help if you don't know when the card is unplugged. The phrasing in "everytime I want to unplug the SD I have to execute...", seemed to indicate that the intention to unplug was known in advance.

    – ilkkachu
    yesterday



















  • unmounting the filesystem isn't enough?

    – ilkkachu
    yesterday











  • @ilkkachu I can't say, when the user unplugs the SD. So I don't get your point.

    – JulianH
    yesterday













  • Ah right, of course it doesn't help if you don't know when the card is unplugged. The phrasing in "everytime I want to unplug the SD I have to execute...", seemed to indicate that the intention to unplug was known in advance.

    – ilkkachu
    yesterday

















unmounting the filesystem isn't enough?

– ilkkachu
yesterday





unmounting the filesystem isn't enough?

– ilkkachu
yesterday













@ilkkachu I can't say, when the user unplugs the SD. So I don't get your point.

– JulianH
yesterday







@ilkkachu I can't say, when the user unplugs the SD. So I don't get your point.

– JulianH
yesterday















Ah right, of course it doesn't help if you don't know when the card is unplugged. The phrasing in "everytime I want to unplug the SD I have to execute...", seemed to indicate that the intention to unplug was known in advance.

– ilkkachu
yesterday





Ah right, of course it doesn't help if you don't know when the card is unplugged. The phrasing in "everytime I want to unplug the SD I have to execute...", seemed to indicate that the intention to unplug was known in advance.

– ilkkachu
yesterday










0






active

oldest

votes














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f536831%2fetc-fstab-mounting-with-auto-buffer-flushing%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f536831%2fetc-fstab-mounting-with-auto-buffer-flushing%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m