I'm trying to solve a problem but need help first understanding how the fstab / mount command. I understand something like:
/dev/sdb1 on /media/data type ext4 (rw,relatime,seclabel,user_xattr,acl,barrier=1,dat a=ordered)
It's pretty straight forward mount of an ext4 file system.
What I need to understand is something like:
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755 )
Now the first entry is the Device Name (tmpfs) and the second is the Mount point (/run) - but I'm not sure how it works with no '/' in front of the tmpfs - is it assumed a default reference from say root or where do I find the 'tmpfs' device? It's not like the /dev/sda1 in the previous example which can be navigated to.
I'm trying to get my head around why in my fstab file it's trying to mount sysfs to /sys - it's complaining that /sys is already busy:
Mounting other filesystems: mount: sysfs already mounted or /sys busy
mount: according to mtab, /sys is already mounted on /sys
error: unexpectedly disconnected from boot status deamon
I've looked at the problem on the web but they assume that the filesystem is already mounted - I think the problem here is that because /sys was already mounted before sysfs can't be mounted to /sys cause sys is busy.
in mtab file I have:
/sys /sys sysfs rw,seclabel,relatime 0 0
and in fstab I have
sysfs /sys sysfs defaults 0 0
I need to know what the point is of mounting /sys to /sys as in the mtab file? is it perhaps a typo? Can I make /sys 'unbusy' or does anyone have any advice.
I also looked at something called dracut and the init file under cd /usr/share/dracut/modules.d/99base/ and removed the '/' from the font of the mount command as suggested by someone else and it didn't really make a difference.
The problem occurred after I did a yum update on the stock FC15 64 bit CD to:
Linux <hostname> 126.96.36.199-0.fc15.x86_64 #1 SMP Tue Oct 4 00:39:50 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Any help would be appreciated.