I have been using the following command so far to verify my /etc/fstab
:
sudo findmnt --verify
Unfortunately, it spills out warnings for each unreachable disk (which I don't care about) and I have not found a flag to change that. Any clever tip to get rid of these warnings or an alternative standard tool?
mount -a
; is that something you've considered?fstab
? There are various ways to handle removable disks without adding them tofstab
; many of them would be features or extensions of your desktop environment of choice. If you are modifying yourfstab
so often that you need an automated syntax checker for it, for examplevim
will highlight incorrectfstab
entries with red background if you just activate its syntax highlighting features.mount -af
, but I am having another weird error there: unix.stackexchange.com/questions/712127/…