Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab LABELs error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Fri May 13, 2016 7:49 am    Post subject: fstab LABELs error Reply with quote

I have a few removable disks defined with LABEL=labelname in /etc/fstab which works great except that I see an error scroll by on startup for any of those discs that aren't connected. Can I prevent that?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Fri May 13, 2016 8:00 am    Post subject: Reply with quote

If you don't want mount them at boot: noauto
If you want to try mount them at boot but don't report error when they aren't present: nofail

noauto and nofail are set as parameters to the mount, that's the 4rd position in fstab
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Fri May 13, 2016 8:19 am    Post subject: Reply with quote

I actually had noauto in there (syntax highlighted) but I just added nofail (not syntax highlighted) in addition to noauto and now there are no errors. Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum