How to force OS reload of fstab?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
'mount -a' works fine as a one-time action. But auto-mount of removable media reverts to settings that were in fstab at the last reboot.
How to make the OS actually reload fstab so auto-mounts use the new settings when media is connected?
Specific example seen with Raspbian (Debian) Stretch:
FAT-formatted SD card; configured fstab to auto-mount; rebooted; volume auto-mounts, but RO
Changed umask options in fstab; mount -a while media is connected, and volume is now RW
Unmount and re-insert the media; auto-mount works, but using the options in fstab from the last reboot, so volume is RO
Reboot; OS loads updated fstab; auto-mount works when media is connected, and volume is RW - how to get this effect without a reboot?
FWIW, the fstab syntax was:
/dev/sdb1 /Volumes/boot vfat rw,user,exec,nofail,umask=0000 0 0
fstab
New contributor
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
favorite
'mount -a' works fine as a one-time action. But auto-mount of removable media reverts to settings that were in fstab at the last reboot.
How to make the OS actually reload fstab so auto-mounts use the new settings when media is connected?
Specific example seen with Raspbian (Debian) Stretch:
FAT-formatted SD card; configured fstab to auto-mount; rebooted; volume auto-mounts, but RO
Changed umask options in fstab; mount -a while media is connected, and volume is now RW
Unmount and re-insert the media; auto-mount works, but using the options in fstab from the last reboot, so volume is RO
Reboot; OS loads updated fstab; auto-mount works when media is connected, and volume is RW - how to get this effect without a reboot?
FWIW, the fstab syntax was:
/dev/sdb1 /Volumes/boot vfat rw,user,exec,nofail,umask=0000 0 0
fstab
New contributor
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Possible duplicate of Script to "remount" a partition (umount then mount)
â Christopher
5 mins ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
'mount -a' works fine as a one-time action. But auto-mount of removable media reverts to settings that were in fstab at the last reboot.
How to make the OS actually reload fstab so auto-mounts use the new settings when media is connected?
Specific example seen with Raspbian (Debian) Stretch:
FAT-formatted SD card; configured fstab to auto-mount; rebooted; volume auto-mounts, but RO
Changed umask options in fstab; mount -a while media is connected, and volume is now RW
Unmount and re-insert the media; auto-mount works, but using the options in fstab from the last reboot, so volume is RO
Reboot; OS loads updated fstab; auto-mount works when media is connected, and volume is RW - how to get this effect without a reboot?
FWIW, the fstab syntax was:
/dev/sdb1 /Volumes/boot vfat rw,user,exec,nofail,umask=0000 0 0
fstab
New contributor
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
'mount -a' works fine as a one-time action. But auto-mount of removable media reverts to settings that were in fstab at the last reboot.
How to make the OS actually reload fstab so auto-mounts use the new settings when media is connected?
Specific example seen with Raspbian (Debian) Stretch:
FAT-formatted SD card; configured fstab to auto-mount; rebooted; volume auto-mounts, but RO
Changed umask options in fstab; mount -a while media is connected, and volume is now RW
Unmount and re-insert the media; auto-mount works, but using the options in fstab from the last reboot, so volume is RO
Reboot; OS loads updated fstab; auto-mount works when media is connected, and volume is RW - how to get this effect without a reboot?
FWIW, the fstab syntax was:
/dev/sdb1 /Volumes/boot vfat rw,user,exec,nofail,umask=0000 0 0
fstab
fstab
New contributor
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 9 mins ago
RichardH
1
1
New contributor
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
RichardH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Possible duplicate of Script to "remount" a partition (umount then mount)
â Christopher
5 mins ago
add a comment |Â
Possible duplicate of Script to "remount" a partition (umount then mount)
â Christopher
5 mins ago
Possible duplicate of Script to "remount" a partition (umount then mount)
â Christopher
5 mins ago
Possible duplicate of Script to "remount" a partition (umount then mount)
â Christopher
5 mins ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
RichardH is a new contributor. Be nice, and check out our Code of Conduct.
RichardH is a new contributor. Be nice, and check out our Code of Conduct.
RichardH is a new contributor. Be nice, and check out our Code of Conduct.
RichardH is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477794%2fhow-to-force-os-reload-of-fstab%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Possible duplicate of Script to "remount" a partition (umount then mount)
â Christopher
5 mins ago