On 24 March 2014 11:01, Ahmad Samir <ahmadsamir3...@gmail.com> wrote:

> On 24 March 2014 10:49, Ahmad Samir <ahmadsamir3...@gmail.com> wrote:
>
>> On 23 March 2014 21:39, lee <l...@yun.yagibdah.de> wrote:
>>
>>> Arthur Dent <misc.li...@blueyonder.co.uk> writes:
>>>
>>> > 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?
>>>
>>> One of the arguments is missing and thus considered as invalid?
>>>
>>> You might make a bug report because this error message is misleading.
>>>
>>>
>> You're right, I missed it before. There's an extra "," after rw in the
>> mount options.
>>
>>
>>
>
> I'll need to test that again, adding "," doesn't seem to make a difference
> on my box, could be something wrong with my setup or something I am not
> getting correctly (sorry for the noise).
>
>

Third time is a charm.

It's not the extra "," ; having a "," at the end of the mount options in
fstab doesn't have any effect i.e. mounting the device works.

The error "mount: /mnt/Backup: mount failed: Invalid argument" is due to
the device not being present in the system, which is correct but the
message is confusing as lee said (apparently confused more than others :)).


>  --
>>> Fedora release 20 (Heisenbug)
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> Ahmad Samir
>>
>
>
>
> --
> Ahmad Samir
>



-- 
Ahmad Samir
-- 
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