LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 09-27-2007, 11:58 PM   #1
Copain
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
Logging is not happening on my /var/log/boot.log


Hi,

Below is my /etc/fstab.

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hda2 swap swap defaults 0 0
/dev/test /testfs testfs defaults 0 1

In this file, the last line (testfs)is a dummy entry. I am expecting an entry in /var/log/boot.log at startup which will report that this mount failed, but I dont find it. Can someone tell me why ? and how I can get this entry ?

Thanks,
Copain.
 
Old 09-28-2007, 05:20 PM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
'Course, first - mount doesn't know any testfs, second - you don't mention the auto option.
If you really want an error message from mount in log use e.g. unexistent device with existent filesystem and auto option.
 
Old 09-28-2007, 05:34 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
mount auto

Quote:
Originally Posted by Samotnik View Post
'Course, first - mount doesn't know any testfs, second - you don't mention the auto option.
If you really want an error message from mount in log use e.g. unexistent device with existent filesystem and auto option.
'Auto' is included within 'Defaults'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/boot.log doesn't exist??? big_gie Fedora 5 05-17-2008 05:44 AM
/var/log/boot.log - fixing this, or what? jhwilliams Fedora 5 09-13-2007 05:15 PM
/var/log/boot.log has size 0 ?? jhwilliams Fedora 3 06-16-2007 08:55 AM
Logging to /var/log/messages paddyjoy Programming 5 12-19-2005 06:01 AM
pppd logging to /var/log/ppp.log problem mrtwice Linux - Software 1 01-10-2004 05:38 PM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration