Bypassing auto mount at boot time
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have set several folders to mount at startup into fstab. This works fine.
However, I would like to be able to bypass the mounting process in some occasions.
Typically, when I know the remote folders are not available.
Is there a mean to bypass the auto mounting process at boot time?
I thank you for your help.
fstab automounting
add a comment |Â
up vote
0
down vote
favorite
I have set several folders to mount at startup into fstab. This works fine.
However, I would like to be able to bypass the mounting process in some occasions.
Typically, when I know the remote folders are not available.
Is there a mean to bypass the auto mounting process at boot time?
I thank you for your help.
fstab automounting
Usually you can add the mounting option âÂÂnofailâ to do exactly that. It will try to mount, but if the partition or share is not available, it will simply skip mounting it. If this is what you are looking for, I can convert this comment to an answer.
â Phoenix
Jan 14 at 0:52
@Phoenix it seems to work. Thank you.
â Sebastien
Jan 14 at 16:27
Perfect. I added a proper answer for you as well now.
â Phoenix
Jan 14 at 16:46
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have set several folders to mount at startup into fstab. This works fine.
However, I would like to be able to bypass the mounting process in some occasions.
Typically, when I know the remote folders are not available.
Is there a mean to bypass the auto mounting process at boot time?
I thank you for your help.
fstab automounting
I have set several folders to mount at startup into fstab. This works fine.
However, I would like to be able to bypass the mounting process in some occasions.
Typically, when I know the remote folders are not available.
Is there a mean to bypass the auto mounting process at boot time?
I thank you for your help.
fstab automounting
asked Jan 13 at 21:14
Sebastien
31
31
Usually you can add the mounting option âÂÂnofailâ to do exactly that. It will try to mount, but if the partition or share is not available, it will simply skip mounting it. If this is what you are looking for, I can convert this comment to an answer.
â Phoenix
Jan 14 at 0:52
@Phoenix it seems to work. Thank you.
â Sebastien
Jan 14 at 16:27
Perfect. I added a proper answer for you as well now.
â Phoenix
Jan 14 at 16:46
add a comment |Â
Usually you can add the mounting option âÂÂnofailâ to do exactly that. It will try to mount, but if the partition or share is not available, it will simply skip mounting it. If this is what you are looking for, I can convert this comment to an answer.
â Phoenix
Jan 14 at 0:52
@Phoenix it seems to work. Thank you.
â Sebastien
Jan 14 at 16:27
Perfect. I added a proper answer for you as well now.
â Phoenix
Jan 14 at 16:46
Usually you can add the mounting option âÂÂnofailâ to do exactly that. It will try to mount, but if the partition or share is not available, it will simply skip mounting it. If this is what you are looking for, I can convert this comment to an answer.
â Phoenix
Jan 14 at 0:52
Usually you can add the mounting option âÂÂnofailâ to do exactly that. It will try to mount, but if the partition or share is not available, it will simply skip mounting it. If this is what you are looking for, I can convert this comment to an answer.
â Phoenix
Jan 14 at 0:52
@Phoenix it seems to work. Thank you.
â Sebastien
Jan 14 at 16:27
@Phoenix it seems to work. Thank you.
â Sebastien
Jan 14 at 16:27
Perfect. I added a proper answer for you as well now.
â Phoenix
Jan 14 at 16:46
Perfect. I added a proper answer for you as well now.
â Phoenix
Jan 14 at 16:46
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
If you like to make a partition or network share optional, you can define the mount option nofail
comma-separated to the other options you have defined.
What will happen is, the system will still attempt to mount the partition/share, but if it is not available or not accessible for whatever reason, it will silently fail and continue to boot the system.
The fstab entry would look something like this:
/dev/sdc2 /mnt/your_partition ext4 defaults,nofail 1 2
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
If you like to make a partition or network share optional, you can define the mount option nofail
comma-separated to the other options you have defined.
What will happen is, the system will still attempt to mount the partition/share, but if it is not available or not accessible for whatever reason, it will silently fail and continue to boot the system.
The fstab entry would look something like this:
/dev/sdc2 /mnt/your_partition ext4 defaults,nofail 1 2
add a comment |Â
up vote
1
down vote
accepted
If you like to make a partition or network share optional, you can define the mount option nofail
comma-separated to the other options you have defined.
What will happen is, the system will still attempt to mount the partition/share, but if it is not available or not accessible for whatever reason, it will silently fail and continue to boot the system.
The fstab entry would look something like this:
/dev/sdc2 /mnt/your_partition ext4 defaults,nofail 1 2
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
If you like to make a partition or network share optional, you can define the mount option nofail
comma-separated to the other options you have defined.
What will happen is, the system will still attempt to mount the partition/share, but if it is not available or not accessible for whatever reason, it will silently fail and continue to boot the system.
The fstab entry would look something like this:
/dev/sdc2 /mnt/your_partition ext4 defaults,nofail 1 2
If you like to make a partition or network share optional, you can define the mount option nofail
comma-separated to the other options you have defined.
What will happen is, the system will still attempt to mount the partition/share, but if it is not available or not accessible for whatever reason, it will silently fail and continue to boot the system.
The fstab entry would look something like this:
/dev/sdc2 /mnt/your_partition ext4 defaults,nofail 1 2
answered Jan 14 at 16:46
Phoenix
1262
1262
add a comment |Â
add a comment |Â
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%2f416911%2fbypassing-auto-mount-at-boot-time%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
Usually you can add the mounting option âÂÂnofailâ to do exactly that. It will try to mount, but if the partition or share is not available, it will simply skip mounting it. If this is what you are looking for, I can convert this comment to an answer.
â Phoenix
Jan 14 at 0:52
@Phoenix it seems to work. Thank you.
â Sebastien
Jan 14 at 16:27
Perfect. I added a proper answer for you as well now.
â Phoenix
Jan 14 at 16:46