Skip to contentSkip to conversation

ubifs: noatime support?

DISCUSSION Pavel Machek 2 participants 3 messages Jan 18, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi!

Ubifs seems to have atime support these days:

          sb->s_flags |= SB_ACTIVE;
#ifndef CONFIG_UBIFS_ATIME_SUPPORT
          sb->s_flags |= SB_NOATIME;
#else
          ubifs_msg(c, "full atime support is enabled.");

#endif

Which can be configured at compile-time, but no option to disable it at runtime. What is going on there?

UBIFS: parse noatime
UBIFS error (ubi1:0 pid 94): ubifs_parse_options.constprop.5:
unrecognized mount option "noatime" e
mount: mounting ubi1:log_volume on /mnt/log failed: Invalid argument

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

Pavel,

Am Donnerstag, 18. Januar 2018, 20:30:15 CET schrieb Pavel Machek:

Quoted 11 lines

Hi!

Ubifs seems to have atime support these days:

          sb->s_flags |= SB_ACTIVE;
#ifndef CONFIG_UBIFS_ATIME_SUPPORT
          sb->s_flags |= SB_NOATIME;
#else
          ubifs_msg(c, "full atime support is enabled.");

#endif

Quoted 7 lines

Which can be configured at compile-time, but no option to disable it at runtime. What is going on there?

UBIFS: parse noatime
UBIFS error (ubi1:0 pid 94): ubifs_parse_options.constprop.5:
unrecognized mount option "noatime" e
mount: mounting ubi1:log_volume on /mnt/log failed: Invalid argument

Filesystems don't parse the "noatime" string, it is job of the mount tool to translate it to the MS_NOATIME mount flag.

Thanks,
//richard

#2 lore raw
Quoted 17 lines · Richard Weinberger

Pavel,

Am Donnerstag, 18. Januar 2018, 20:30:15 CET schrieb Pavel Machek:

Quoted 14 lines

Hi!

Ubifs seems to have atime support these days:

          sb->s_flags |= SB_ACTIVE;
#ifndef CONFIG_UBIFS_ATIME_SUPPORT
          sb->s_flags |= SB_NOATIME;
#else
          ubifs_msg(c, "full atime support is enabled.");

#endif

Which can be configured at compile-time, but no option to disable it at runtime. What is going on there?

Quoted 7 lines
Quoted 4 lines

UBIFS: parse noatime
UBIFS error (ubi1:0 pid 94): ubifs_parse_options.constprop.5:
unrecognized mount option "noatime" e
mount: mounting ubi1:log_volume on /mnt/log failed: Invalid argument

Filesystems don't parse the "noatime" string, it is job of the mount tool to translate it to the MS_NOATIME mount flag.

Ahha. I was using busybox version of mount. I guess I should check its config. Thanks!
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html