We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

how to unmount sdcard surely in 1.1.9 anyway [answered]

asked 2015-09-24 12:01:30 +0300

cemoi71 gravatar image

updated 2015-09-24 12:25:46 +0300

Hello all,

now that there is new update to the v1.1.9 we could read on know issues that we should be carefull by release the sd-card:

The UI does not currently have an option to safely unmount the SD card. Please be cautious to not remove the SD card while it is in use.

I get directly a thinking to all of the people who need to release their card pretty fast, by timing-stress.

Would be possible to have more precision on each possibility we have to release the sd card surely without data damage? I think there is not enough info about it in release notes.

One could all guess is to shutdown the device.

Is there an other way if the device is on working? All are not sure that any app could access on it in background i think...

Thank you in advance for more informations... have a nice sail

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by cemoi71
close date 2018-05-03 13:51:04.962672

Comments

The phone unmounts everything while shutting down so yes, that's a save way. Another way would be to do it from the terminal (developer mode + root rights required) but there's no step by step howto as it hardly depends on your setup (partitions on the card, for example).

V10lator ( 2015-09-27 12:40:45 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-09-24 12:06:08 +0300

chemist gravatar image

Without sane checking on CLI, shutdown (as booting does not take ages that should be fine for users).

edit flag offensive delete publish link more

Comments

that's right i have already told it inside. but my question is if it is on running. i don't need it especially for me. but you can be sure that there are a lot's of people who would need it.

My thinking is if i project me as provider i can't tell you "you should be careful on it", i should give some secure possibilities. maybe just one at last.

my question is to make jolla people more aware on some responsibilities. that they ask themselves, we can live with it or indeed not. maybe my english is too bad for this kind of reflections/thinkings

cemoi71 ( 2015-09-24 12:34:34 +0300 )edit
1

And option would be to change the mount options (add sync or similar mount options for the filesystems that not use it). However this will slow down access to the SD card (on writes) a lot + might cause extra wear. There just is no silver bullet for this kind of thing...

Philippe De Swert ( 2015-09-24 12:46:02 +0300 )edit

The most adequate way for users to remove it without harm is shutting down the phone, as soon as something uses the uSD permanently for something $users are screwed with buttons to unmount as it will fail to unmount anyway. Any sane OS pre iOS and android did ask you to shut down, it used to be painful as it took ages to boot (most of the time). But with SFOS, shutdown and reboot takes 15-30 seconds (depends on what is running in BG). Asking for more usage of the uSD and at the same time having it hot-swappable, does not work. I regard it as an additional but persistent storage you can only remove while off (from $user perspective). And PLEASE do not even get the idea to unmount it when removing the backcover, that breaks in so many ways although it would be a sane thing to do (maybe ask the user if removing the sd is desired, and moan to shutdown to remove it if it fails to unmount)!

chemist ( 2015-09-24 14:04:51 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2015-09-24 12:01:30 +0300

Seen: 378 times

Last updated: Sep 24 '15