You are not logged in.

#1 2009-01-31 12:20:43

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

fstab options

I've got my MacBook in fstab as type nfs. NFS is running great - I've got access from Mac to Arch and when the fstab options are set to 'defaults' mounting and access from arch are OK except that I don't want it to be mounted at boot.

I understand that 'defaults' translates to 'rw,suid,dev,exec,auto,nouser,async' but when I take this and change one option to 'noauto' I can't mount the dang thing. I'm also curious about 'nouser'. If this allows only root to mount the system why is it a default setting? In a previous install I had it set to 'users,noauto,hard,intr' but even this is not working now.

The current fstab line reads:
192.168.0.100:/Users/robert /mnt/macbook nfs rw,suid,dev,exec,noauto,users,async 0 0

I hope it's an easy fix, but I can't figure this one out for the life in me.

Offline

#2 2009-01-31 12:39:51

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: fstab options

The current fstab line reads:
192.168.0.100:/Users/robert /mnt/macbook nfs rw,suid,dev,exec,noauto,users,async 0 0

change users to user, and you'll be able to mount it. Example:

/dev/sdb1    /media/LaCie    ntfs-3g    user,noauto,dmask=022,fmask=133    0       0

Last edited by ahcaliskan (2009-01-31 12:42:36)

Offline

#3 2009-01-31 15:11:28

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: fstab options

I've tried that more than once.

Offline

#4 2009-01-31 15:19:13

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: fstab options

ok, I thought you had difficulties mounting as normal user.  You need to comment fstab if you don't wish it to be mounted at boot. In this way you'll mount it manually whenever you like it. And by using hal and gnome volume manager you could accomplish that. Are you using gnome or kde?

Offline

#5 2009-02-01 23:12:36

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: fstab options

ahcaliskan wrote:

You need to comment fstab if you don't wish it to be mounted at boot.

No.

You can leave the 'defaults' option like you had it working, and just add the 'noauto' option to override the 'auto' option that is part of 'defaults'. Everything else in 'defaults' will remain as is:

192.168.0.100:/Users/robert    /mnt/macbook     nfs     defaults,noauto     0 0

Edit: changed 'defualts' to 'defaults' wink

Last edited by fukawi2 (2009-02-01 23:13:08)

Offline

#6 2009-02-03 22:31:36

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: fstab options

that looks good, thanks

[edit]

unfortunately I still can't mount it as normal user in KDE Dolphin but only as root in the console.

I added the users option as well 'defaults,noauto,users'

Last edited by subatomic (2009-02-06 08:05:30)

Offline

#7 2009-02-20 08:29:53

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: fstab options

I'm still puzzled

Offline

#8 2009-02-20 10:15:09

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: fstab options

I believe you need to fix your hal settings:

/usr/share/hal/fdi/policy/10osvendor/

read wiki or google about it to start with.

Offline

Board footer

Powered by FluxBB