On Sun, 2014-03-23 at 16:20 +0100, Patrick Laimbock wrote:
> On 23-03-14 16:08, Arthur Dent wrote:
> [snip]
> > Sorry for the noise. I guess I should open another thread, but does
> > anyone know how to auto-mount an external HD ONLY if it's present?
> 
> Have a look at the 'nofail' option (see man fstab). Or add the 'noauto' 
> option to the fstab entry for that HD and try to mount the HD in 
> /etc/rc.local only if it's present.

Thanks - I tried the nofail option. This is the line I have now:
UUID=BCD0A565D0A5269C                          /mnt/Backup     ntfs-3g 
nofail,auto,noatime,rw, 0 0
but trying a mount -a with the drive NOT present gives me:
mount: /mnt/Backup: mount failed: Invalid argument
(I haven't tried rebooting yet).

Any ideas?

Thanks again...

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to