01.05.2025, 23:18 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
drb
Titel: mtab and fstab?  BeitragVerfasst am: 09.09.2006, 11:58 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

During boot I get an error message concerning mtab and /sys. The message also appears at shutdown. My fstab and mtab entries are below. Is there something wrong with these files to cause the error message. Everything appears to 'work'.

drb

fstab :

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
usbfs  /proc/bus/usb  usbfs  devmode=0666  0  0
/dev/hdb5       /               reiserfs defaults        0       1
/dev/hdb6       /home           ext2    defaults        0       2
/dev/hda1       /media/hda1     vfat    ro,umask=222,shortname=mixed,quiet 0       0
/dev/hda5       /media/hda5     vfat    ro,umask=222,shortname=mixed,quiet 0       0
/dev/hda6       /media/hda6     ntfs    ro,umask=000    0       0
/dev/hda7       /media/hda7     ntfs    ro,umask=000    0       0
/dev/hdb1       /media/hdb1     ntfs    ro,umask=000    0       0
/dev/hdb2       /media/hdb2     ntfs    ro,umask=000    0       0
/dev/hdb3       /media/hdb3     vfat    umask=000,shortname=mixed,quiet 0       0
/dev/hdb7       /media/hdb7     vfat    umask=000,shortname=mixed,quiet 0       0
/dev/hdb8       none            swap    sw              0       0
/tmp/app/1/image /tmp/app/1      cramfs,iso9660 user,noauto,ro,loop,exec 0       0
/tmp/app/2/image /tmp/app/2      cramfs,iso9660 user,noauto,ro,loop,exec 0       0
/tmp/app/3/image /tmp/app/3      cramfs,iso9660 user,noauto,ro,loop,exec 0       0
/tmp/app/4/image /tmp/app/4      cramfs,iso9660 user,noauto,ro,loop,exec 0       0
/tmp/app/5/image /tmp/app/5      cramfs,iso9660 user,noauto,ro,loop,exec 0       0
/tmp/app/6/image /tmp/app/6      cramfs,iso9660 user,noauto,ro,loop,exec 0       0
/tmp/app/7/image /tmp/app/7      cramfs,iso9660 user,noauto,ro,loop,exec 0       0
#/dev/hdc      /media/hdc   udf,iso9660 user,noauto     0       0
#/dev/hdd     /media/hdd  udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
#/dev/sda1   /media/sda1   vfat   umask=000,shortname=mixed,quiet 0       0
none /sys sysfs defaults 0 0


mtab

Code:
/dev/hdb5 / reiserfs rw 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0666 0 0
/dev/hdb6 /home ext2 rw 0 0
/dev/hda1 /media/hda1 vfat ro,umask=222,shortname=mixed,quiet 0 0
/dev/hda5 /media/hda5 vfat ro,umask=222,shortname=mixed,quiet 0 0
/dev/hda6 /media/hda6 ntfs ro,umask=000 0 0
/dev/hda7 /media/hda7 ntfs ro,umask=000 0 0
/dev/hdb1 /media/hdb1 ntfs ro,umask=000 0 0
/dev/hdb2 /media/hdb2 ntfs ro,umask=000 0 0
/dev/hdb3 /media/hdb3 vfat rw,umask=000,shortname=mixed,quiet 0 0
/dev/hdb7 /media/hdb7 vfat rw,umask=000,shortname=mixed,quiet 0 0

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel: RE: mtab and fstab?  BeitragVerfasst am: 09.09.2006, 12:10 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2133

The fstab entry
Zitat:
none /sys sysfs defaults 0 0
doesn't look right. Do you know where it came from? Try to comment it out by putting "#" in front of it.

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 09.09.2006, 14:29 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

Thanks. It has been there since the original 2005-04 install. I'm sure I've seen problems booting without it. I'll look back at some old threads first.

drb

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel:   BeitragVerfasst am: 09.09.2006, 14:59 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2133

"none" isn't a mountable device and it has nothing do to with /sys. "none" is a mounting option for swap as in
Code:
/dev/hda6       none            swap    sw              0       0
swap doesn't need a mount point = "none". I think your fstab entries somehow got mixed up.

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 09.09.2006, 15:58 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

I've found references to the entry with regard to the 2.6 kernel and udev. Things may have moved on.

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
feffer777
Titel:   BeitragVerfasst am: 10.09.2006, 20:19 Uhr



Anmeldung: 01. Feb 2006
Beiträge: 128
Wohnort: SF Bay area
For what it's worth, I get the same failure message at boot time relating to mtab and /sys though I haven't changed either fstab or mtab in a long time. The message seemed to show up after the recent d-u when udev was problematic. I haven't noticed any problems from it though.

Regards,
Ron

_________________
To whom much is given, much shall be required.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
datebro
Titel:   BeitragVerfasst am: 10.09.2006, 21:06 Uhr



Anmeldung: 10. Sep 2004
Beiträge: 413

the sys-entry in the fstab was necessary, but is obsolet with an actual hal/dbus. sys is now mountet before the fstab is read, and it is safe to comment the entry out with an # .
On the otherside your error-message tells nothing than a mountet filesystem (sys) could not be mounted a second time, its nothing really wrong.

Greetings
Datebro

ps: the mtab is dynamic, do not never ever edit it!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
feffer777
Titel:   BeitragVerfasst am: 12.09.2006, 01:17 Uhr



Anmeldung: 01. Feb 2006
Beiträge: 128
Wohnort: SF Bay area
Zitat:

ps: the mtab is dynamic, do not never ever edit it!

Good catch! Actually, I never do edit mtab and have no idea why I wrote that!

Yes, tried it and can confirm the /sys fstab entry can be commented out or removed and the "failure" boot message will disappear.

Thanks,
Ron

_________________
To whom much is given, much shall be required.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slh
Titel:   BeitragVerfasst am: 12.09.2006, 09:00 Uhr



Anmeldung: 16. Aug 2004
Beiträge: 1905

datebro hat folgendes geschrieben::
the sys-entry in the fstab was necessary, but is obsolet with an actual hal/dbus. sys is now mountet before the fstab is read, and it is safe to comment the entry out with an # .
This is mostly correct, just that very recent sysvnit versions mount proc, sys and usbfs on their own, given that it was "always" crucial to mount those pseudo filesystems explicitly and that failing to mount them will break half of the system. I'm very reluctant to do the trivial changes to our fstab generating scripts - keeping it as-is just emits a bogus (in my opinion very useless and overhyped) warning, removing the entries "is supposed to be safe", whatever that means... Right now I prefer staying conservative and ignoring the useless warning.

datebro hat folgendes geschrieben::
ps: the mtab is dynamic, do not never ever edit it!
This can't be repeated often enough, don't touch /etc/mtab manually.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.