You are not logged in.

#1 2012-01-13 02:40:05

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

[mtab] How to edit /proc/self/mounts

Installed Arch on a friend's computer a while back. Seems like he's messed up the recent filesystem update.
During bootup he's getting errors for mounting the local filesystem. Looking at /proc/self/mounts reveals that he's got an entry from one of his external drives in there, which he hasn't connected all the time.
Does anyone know how I can get rid of that wrong entry?

Offline

#2 2012-01-13 02:52:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [mtab] How to edit /proc/self/mounts

Have you tried editing /etc/mtab?

Offline

#3 2012-01-13 03:11:06

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [mtab] How to edit /proc/self/mounts

Thanks karol, but how is that different to editing /proc/self/mounts? It's a symlink. It doesn't work.

Offline

#4 2012-01-13 03:17:38

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,582

Re: [mtab] How to edit /proc/self/mounts

Perhaps he has an entry in /etc/fstab

Offline

#5 2012-01-13 03:45:49

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [mtab] How to edit /proc/self/mounts

/proc/self/mounts is generated by the kernel and is not writable


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#6 2012-01-13 03:50:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [mtab] How to edit /proc/self/mounts

fsckd wrote:

/proc/self/mounts is generated by the kernel and is not writable

Yeah, I focused on the symlink part and "forgot" that mtab will be read-only because /proc/self/mounts is.

Offline

#7 2012-01-13 03:54:00

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [mtab] How to edit /proc/self/mounts

Look for automount rules in /etc/udev/rules.d.

Offline

#8 2012-01-13 05:24:14

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [mtab] How to edit /proc/self/mounts

Thanks for the replies, but no good.
/etc/fstab is clean and there are no automount rules in /etc/udev/rules.d.
I would be interested in other suggestions of what I could do to resolve this issue, if anyone can come up with anything. However, his machine is working, so it's not a major issue. He can work with it. I might go for a re-install when I have the time. Thanks.

Offline

Board footer

Powered by FluxBB